nixpkgs/pkgs/development/libraries/haskell/optparse-applicative/default.nix
Peter Simons a30df95691 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-25 00:32:40 +01:00

20 lines
619 B
Nix

{ cabal, HUnit, testFramework, testFrameworkHunit
, testFrameworkThPrime, transformers
}:
cabal.mkDerivation (self: {
pname = "optparse-applicative";
version = "0.5.2.1";
sha256 = "0w4mk851mx8dch8lnck0g82asmzrsc47xrf34jygh0f6v4kbj40i";
buildDepends = [ transformers ];
testDepends = [
HUnit testFramework testFrameworkHunit testFrameworkThPrime
];
meta = {
homepage = "https://github.com/pcapriotti/optparse-applicative";
description = "Utilities and combinators for parsing command line options";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})