addressbook/default.nix

22 lines
606 B
Nix

{ mkDerivation, attoparsec, base, bytestring-trie, hedgehog
, hedgehog-corpus, HUnit, mtl, pipes, pipes-bytestring, stdenv
, tasty, tasty-hedgehog, tasty-hunit, text, vector
}:
mkDerivation {
pname = "addressbook";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
attoparsec base bytestring-trie mtl pipes pipes-bytestring text
vector
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base hedgehog hedgehog-corpus HUnit tasty tasty-hedgehog
tasty-hunit text vector
];
license = stdenv.lib.licenses.bsd3;
}