Add recipes for a few Haskell libraries

This commit is contained in:
John Wiegley 2014-04-12 10:15:39 -05:00 committed by Austin Seipp
parent 1b7a8e6f5b
commit 0ef3c47778
6 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "data-ordlist";
version = "0.4.6";
sha256 = "13gsvqifwlxcz10x704fy26288l0km2kfdlh4w9hl31a9vd427sx";
meta = {
description = "Set and bag operations on ordered lists";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,19 @@
{ cabal, binary, fastLogger, hspec, liftedBase, monadControl
, monadLogger, pcreLight, text, thyme, transformers, vectorSpace
}:
cabal.mkDerivation (self: {
pname = "logging";
version = "1.3.0";
sha256 = "1d2is6p828xvh59f9b971xf0w2l229652rniccxpm2mcfs893c79";
buildDepends = [
binary fastLogger liftedBase monadControl monadLogger pcreLight
text thyme transformers vectorSpace
];
testDepends = [ hspec monadLogger ];
meta = {
description = "Simplified logging in IO for application writers";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,12 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "missing-foreign";
version = "0.1.1";
sha256 = "11f8pknbarlj956nmalqhd2v704z7d7xbi61hs1q8vb2p36kc6wy";
meta = {
description = "Convenience functions for FFI work";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,19 @@
{ cabal, dataOrdlist, HUnit, mtl, testFramework, testFrameworkHunit
, time
}:
cabal.mkDerivation (self: {
pname = "time-recurrence";
version = "0.9.2";
sha256 = "1arqmkagmswimbh78qfz5bcilk9i14w29j4vf4i89d00vac3vrzm";
buildDepends = [ dataOrdlist mtl time ];
testDepends = [
dataOrdlist HUnit mtl testFramework testFrameworkHunit time
];
meta = {
homepage = "http://github.com/hellertime/time-recurrence";
description = "Generate recurring dates";
license = self.stdenv.lib.licenses.gpl3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,13 @@
{ cabal, attoparsec, convertible, mtl, time }:
cabal.mkDerivation (self: {
pname = "timeparsers";
version = "0.3.2";
sha256 = "1dicp58f2amn5rgmnlfjpv4aj7ak6jrdlba2marglddvj4ycq1h7";
buildDepends = [ attoparsec convertible mtl time ];
meta = {
description = "Attoparsec parsers for various Date/Time formats";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -923,6 +923,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
dataMemocombinators = callPackage ../development/libraries/haskell/data-memocombinators {};
dataOrdlist = callPackage ../development/libraries/haskell/data-ordlist {};
dataPprint = callPackage ../development/libraries/haskell/data-pprint {};
dataReify = callPackage ../development/libraries/haskell/data-reify {};
@ -1689,6 +1691,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
logfloat = callPackage ../development/libraries/haskell/logfloat {};
logging = callPackage ../development/libraries/haskell/logging {};
logict = callPackage ../development/libraries/haskell/logict {};
lushtags = callPackage ../development/libraries/haskell/lushtags {};
@ -1729,6 +1733,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
misfortune = callPackage ../development/libraries/haskell/misfortune {};
missingForeign = callPackage ../development/libraries/haskell/missing-foreign {};
MissingH = callPackage ../development/libraries/haskell/MissingH {
testpack = null;
};
@ -2526,6 +2532,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
# pass it explicitly in rare circumstances.
time = null;
timeparsers = callPackage ../development/libraries/haskell/timeparsers {};
timeRecurrence = callPackage ../development/libraries/haskell/time-recurrence {};
timezoneOlson = callPackage ../development/libraries/haskell/timezone-olson {};
timezoneSeries = callPackage ../development/libraries/haskell/timezone-series {};