nixpkgs/pkgs/development/libraries/haskell/cmdtheline/default.nix

20 lines
620 B
Nix
Raw Normal View History

2013-09-06 21:21:00 +00:00
{ cabal, filepath, HUnit, parsec, testFramework, testFrameworkHunit
, transformers
}:
cabal.mkDerivation (self: {
pname = "cmdtheline";
version = "0.2.3";
sha256 = "1jwbr34xgccjbz6nm58bdsg1vqyv87rh45yia5j36vlfbaclyb04";
buildDepends = [ filepath parsec transformers ];
testDepends = [
filepath HUnit parsec testFramework testFrameworkHunit transformers
];
meta = {
homepage = "http://github.com/eli-frey/cmdtheline";
description = "Declarative command-line option parsing and documentation library";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})