1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00

haskell-optparse-applicative: make 0.7.0.2 available

This commit is contained in:
John Wiegley 2014-05-31 07:33:49 +00:00 committed by Ryan Trinkle
parent e0b2950168
commit edcfe3cab6
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ cabal, ansiWlPprint, HUnit, QuickCheck, testFramework
, testFrameworkHunit, testFrameworkQuickcheck2
, testFrameworkThPrime, transformers, transformersCompat
}:
cabal.mkDerivation (self: {
pname = "optparse-applicative";
version = "0.7.0.2";
sha256 = "1pq620236x8fch9nkq4g4vganbzksnwj8z1bb80c2mwvf6sbg5ci";
buildDepends = [ ansiWlPprint transformers transformersCompat ];
testDepends = [
HUnit QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 testFrameworkThPrime
];
jailbreak = true;
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;
};
})

View file

@ -1644,7 +1644,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
options = callPackage ../development/libraries/haskell/options {};
optparseApplicative = callPackage ../development/libraries/haskell/optparse-applicative {};
optparseApplicative_0_7_0_2 = callPackage ../development/libraries/haskell/optparse-applicative/0.7.0.2.nix {};
optparseApplicative_0_9_0 = callPackage ../development/libraries/haskell/optparse-applicative/0.9.0.nix {};
optparseApplicative = self.optparseApplicative_0_9_0;
pathPieces = callPackage ../development/libraries/haskell/path-pieces {};