nixpkgs/pkgs/development/libraries/haskell/ReadArgs/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

17 lines
527 B
Nix

{ cabal, hspec, systemFilepath, text }:
cabal.mkDerivation (self: {
pname = "ReadArgs";
version = "1.2.1";
sha256 = "099gg6nq70yf2pl5ya8f083lw8x5rncnv54y2p5jlkdwfwmpmbnv";
isLibrary = true;
isExecutable = true;
buildDepends = [ systemFilepath text ];
testDepends = [ hspec systemFilepath text ];
meta = {
homepage = "http://github.com/rampion/ReadArgs";
description = "Simple command line argument parsing";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})