3
0
Fork 0
forked from mirrors/nixpkgs

haskell-uu-options: add version 0.1.0.0

This commit is contained in:
Peter Simons 2013-05-16 12:58:58 +02:00
parent f191a6eddf
commit d3963dbebf
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ cabal, lenses, mtl, transformers, uuInterleaved, uuParsinglib }:
cabal.mkDerivation (self: {
pname = "uu-options";
version = "0.1.0.0";
sha256 = "08z465w0naw8hx831bcgqbwmp9zdmw3bq4i7rgz7zfzb088nfwzc";
isLibrary = true;
buildDepends = [
lenses mtl transformers uuInterleaved uuParsinglib
];
patchFlags = "-p0";
patches = [ ./no-executable-stanza.diff ];
meta = {
homepage = "http://www.cs.uu.nl/wiki/bin/view/HUT/ParserCombinators";
description = "Parse command line options using uu-interleave and uu-parsinglib";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,20 @@
Index: uu-options.cabal
===================================================================
--- uu-options.cabal (revision 127)
+++ uu-options.cabal (working copy)
@@ -27,14 +27,8 @@
type: svn
location: https://svn.science.uu.nl/repos/project.STEC.uu-parsinglib/uu-options
-executable demo-options
- Main-is: Options/UU/OptionsDemo.hs
+library
hs-source-dirs: src
Build-Depends: base >= 4.2 && <5, uu-parsinglib >=2.8 && < 2.9, uu-interleaved >=0.1.0 && < 0.2, lenses >= 0.1.6 && < 0.1.7, transformers >= 0.3.0.0, mtl
-
-Library
- hs-source-dirs: src
- Build-Depends: base >= 4.2 && <5, uu-parsinglib >=2.8 && < 2.9, uu-interleaved >=0.1.0 && < 0.2, lenses >= 0.1.6 && < 0.1.7, transformers >= 0.3.0.0, mtl
Exposed-modules: Options.UU.Interleaved
Options.UU.OptionsDemo
-

View file

@ -1930,6 +1930,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
uuid = callPackage ../development/libraries/haskell/uuid {};
uuOptions = callPackage ../development/libraries/haskell/uu-options {};
uuInterleaved = callPackage ../development/libraries/haskell/uu-interleaved {};
uuParsinglib = callPackage ../development/libraries/haskell/uu-parsinglib {};

View file

@ -398,6 +398,7 @@ mapHaskellTestOn {
uuid = default;
uulib = default ++ latest;
uuParsinglib = default;
uuOptions = default;
vacuumCairo = default;
vacuum = default;
vcsRevision = default;