2018-03-28 03:42:31 +02:00
|
|
|
{ mkDerivation, ansi-wl-pprint, base, containers, criterion
|
|
|
|
, data-fix, deepseq, deriving-compat, directory, filepath, Glob
|
|
|
|
, parsers, regex-tdfa, regex-tdfa-text, semigroups, split, stdenv
|
|
|
|
, tasty, tasty-hunit, tasty-th, text, transformers, trifecta
|
2018-03-28 06:59:27 +02:00
|
|
|
, unordered-containers, these, optparse-applicative
|
2018-03-28 03:42:31 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "hnix";
|
|
|
|
version = "0.4.0";
|
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
ansi-wl-pprint base containers data-fix deepseq deriving-compat
|
|
|
|
parsers regex-tdfa regex-tdfa-text semigroups text transformers
|
|
|
|
trifecta unordered-containers these
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [
|
2018-03-28 06:59:27 +02:00
|
|
|
ansi-wl-pprint base containers data-fix deepseq optparse-applicative
|
2018-03-28 23:45:10 +02:00
|
|
|
text transformers
|
2018-03-28 03:42:31 +02:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
|
|
|
base containers data-fix directory filepath Glob split tasty
|
2018-03-28 23:45:10 +02:00
|
|
|
tasty-hunit tasty-th text transformers
|
2018-03-28 03:42:31 +02:00
|
|
|
];
|
|
|
|
benchmarkHaskellDepends = [ base containers criterion text ];
|
|
|
|
homepage = "http://github.com/jwiegley/hnix";
|
|
|
|
description = "Haskell implementation of the Nix language";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
}
|