-
Notifications
You must be signed in to change notification settings - Fork 8
/
default.nix
28 lines (28 loc) · 1.12 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ fetchFromGitHub, gdal, mkDerivation, base, bytestring, c2hs, Cabal, conduit
, data-default, deepseq, exceptions, filepath, ghc-prim, hspec
, hspec-core, microlens, monad-control, mtl, process, QuickCheck
, resourcet, stdenv, temporary, text, time, transformers
, transformers-base, unix, unordered-containers, vector, file-embed
, template-haskell
}:
mkDerivation {
pname = "bindings-gdal";
version = "2.1.1";
src = ./.;
preConfigure = "export GDAL_CONFIG=${gdal}/bin/gdal-config";
setupHaskellDepends = [ base Cabal filepath process ];
librarySystemDepends = [ gdal c2hs ];
libraryHaskellDepends = [
base bytestring conduit data-default deepseq exceptions ghc-prim
microlens monad-control mtl resourcet text time transformers
transformers-base unordered-containers vector file-embed template-haskell
];
libraryToolDepends = [ c2hs gdal ];
testHaskellDepends = [
base bytestring conduit data-default exceptions filepath hspec
hspec-core microlens QuickCheck temporary text time transformers
unix vector
];
description = "Bindings to the GDAL library";
license = stdenv.lib.licenses.bsd3;
}