buuka/default.nix

21 lines
602 B
Nix

{ mkDerivation, aeson, base, conduit, conduit-extra, hedgehog
, hedgehog-corpus, mtl, optparse-applicative, stdenv, tasty
, tasty-hedgehog, text, transformers, unliftio-core, yaml
}:
mkDerivation {
pname = "buuka";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base conduit conduit-extra mtl transformers unliftio-core
yaml
];
executableHaskellDepends = [ base optparse-applicative ];
testHaskellDepends = [
aeson base hedgehog hedgehog-corpus tasty tasty-hedgehog text
];
license = stdenv.lib.licenses.bsd3;
}