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
, pipes-bytestring , pipes-bytestring
, text , text
, bytestring-trie
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
@ -43,3 +44,7 @@ test-suite addressbook-test
hs-source-dirs: test hs-source-dirs: test
main-is: MyLibTest.hs main-is: MyLibTest.hs
build-depends: base ^>=4.13.0.0 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 { mkDerivation, attoparsec, base, bytestring-trie, hedgehog, mtl
, stdenv, text , pipes, pipes-bytestring, stdenv, tasty, tasty-hedgehog, text
}: }:
mkDerivation { mkDerivation {
pname = "addressbook"; pname = "addressbook";
@ -8,9 +8,9 @@ mkDerivation {
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
libraryHaskellDepends = [ libraryHaskellDepends = [
attoparsec base mtl pipes pipes-bytestring text attoparsec base bytestring-trie mtl pipes pipes-bytestring text
]; ];
executableHaskellDepends = [ base ]; executableHaskellDepends = [ base ];
testHaskellDepends = [ base ]; testHaskellDepends = [ base hedgehog tasty tasty-hedgehog ];
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
} }