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

View File

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