Update cabal description, add extra package etc.
This commit is contained in:
parent
73c62b0a8f
commit
e0b5de5a7f
16
default.nix
16
default.nix
|
@ -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;
|
||||
}
|
||||
|
|
23
ga.cabal
23
ga.cabal
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user