This commit is contained in:
Mats Rauhala 2020-12-10 19:50:26 +02:00
parent 3226856439
commit ddeb89c025
2 changed files with 9 additions and 4 deletions

View File

@ -26,6 +26,7 @@ library
, pipes
, pipes-bytestring
, text
, bytestring-trie
hs-source-dirs: src
default-language: Haskell2010
@ -43,3 +44,7 @@ test-suite addressbook-test
hs-source-dirs: test
main-is: MyLibTest.hs
build-depends: base ^>=4.13.0.0
, addressbook
, tasty
, tasty-hedgehog
, hedgehog

View File

@ -1,5 +1,5 @@
{ mkDerivation, attoparsec, base, mtl, pipes, pipes-bytestring
, stdenv, text
{ mkDerivation, attoparsec, base, bytestring-trie, hedgehog, mtl
, pipes, pipes-bytestring, stdenv, tasty, tasty-hedgehog, text
}:
mkDerivation {
pname = "addressbook";
@ -8,9 +8,9 @@ mkDerivation {
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
attoparsec base mtl pipes pipes-bytestring text
attoparsec base bytestring-trie mtl pipes pipes-bytestring text
];
executableHaskellDepends = [ base ];
testHaskellDepends = [ base ];
testHaskellDepends = [ base hedgehog tasty tasty-hedgehog ];
license = stdenv.lib.licenses.bsd3;
}