Update cabal description, add extra package etc.

This commit is contained in:
David Pätzel 2019-10-18 14:03:24 +02:00
parent 73c62b0a8f
commit e0b5de5a7f
2 changed files with 30 additions and 9 deletions

View File

@ -1,6 +1,7 @@
{ mkDerivation, base, monad-loops, MonadRandom, pipes, protolude
, QuickCheck, quickcheck-instances, random, random-fu
, random-shuffle, stdenv, text
{ mkDerivation, base, Cabal, cabal-test-quickcheck, extra
, monad-loops, MonadRandom, pipes, protolude, QuickCheck
, quickcheck-instances, random, random-fu, random-shuffle, stdenv
, text
}:
mkDerivation {
pname = "ga";
@ -9,12 +10,17 @@ mkDerivation {
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base monad-loops MonadRandom pipes protolude QuickCheck
base extra monad-loops MonadRandom pipes protolude QuickCheck
quickcheck-instances random random-fu random-shuffle text
];
executableHaskellDepends = [
base monad-loops MonadRandom pipes protolude QuickCheck
base extra monad-loops MonadRandom pipes protolude QuickCheck
quickcheck-instances random random-fu random-shuffle text
];
testHaskellDepends = [
base Cabal cabal-test-quickcheck extra monad-loops MonadRandom
pipes protolude QuickCheck quickcheck-instances random random-fu
random-shuffle text
];
license = stdenv.lib.licenses.gpl3;
}

View File

@ -15,15 +15,16 @@ build-type: Simple
library
build-depends: base ^>=4.12.0.0
, extra
, MonadRandom
, monad-loops
, random
, random-fu
, random-shuffle
, pipes
, protolude
, QuickCheck
, quickcheck-instances
, random
, random-fu
, random-shuffle
, text
default-language: Haskell2010
hs-source-dirs: src
@ -33,14 +34,28 @@ library
, SS19
, WS19
executable ga
build-depends: base ^>=4.12.0.0
, extra
, MonadRandom
, monad-loops
, pipes
, protolude
, QuickCheck
, quickcheck-instances
, random
, random-fu
, random-shuffle
, text
default-language: Haskell2010
hs-source-dirs: src
main-is: Main.hs
other-modules: GA
, Seminar
, Pretty
, SS19
, WS19
, pipes
, protolude
, QuickCheck