2020-01-07 08:45:50 +01:00
|
|
|
{ mkDerivation, base, Cabal, extra, monad-loops, MonadRandom
|
|
|
|
, optparse-applicative, pipes, protolude, QuickCheck
|
|
|
|
, quickcheck-instances, random, random-fu, random-shuffle, stdenv
|
|
|
|
, text
|
2019-05-30 12:40:32 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
2020-01-07 08:45:50 +01:00
|
|
|
pname = "haga";
|
2019-05-30 12:40:32 +02:00
|
|
|
version = "0.1.0.0";
|
|
|
|
src = ./.;
|
2019-10-18 09:10:11 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2019-05-30 12:40:32 +02:00
|
|
|
libraryHaskellDepends = [
|
2020-01-07 08:45:50 +01:00
|
|
|
base extra monad-loops MonadRandom optparse-applicative pipes
|
|
|
|
protolude QuickCheck quickcheck-instances random random-fu
|
|
|
|
random-shuffle text
|
2019-05-30 12:40:32 +02:00
|
|
|
];
|
2019-10-18 09:10:11 +02:00
|
|
|
executableHaskellDepends = [
|
2020-01-07 08:45:50 +01:00
|
|
|
base Cabal extra monad-loops MonadRandom optparse-applicative pipes
|
|
|
|
protolude QuickCheck quickcheck-instances random random-fu
|
|
|
|
random-shuffle text
|
2019-10-18 09:10:11 +02:00
|
|
|
];
|
2020-01-07 08:45:50 +01:00
|
|
|
description = "Simplistic genetic algorithms library";
|
2019-05-30 12:40:32 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
}
|