Add tz Haskell package

This commit is contained in:
Mihaly Barasz 2014-04-25 16:19:12 +02:00
parent 2d37f8ecf0
commit 8bb3f19c6b
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ cabal, binary, bindingsPosix, deepseq, HUnit, QuickCheck
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
, testFrameworkTh, time, tzdata, vector
, pkgs_tzdata
}:
cabal.mkDerivation (self: {
pname = "tz";
version = "0.0.0.5";
sha256 = "03s5vs08dj3r7rq78ncya6x6dazvr93gfylyynwybpai09l2y89v";
buildDepends = [ binary deepseq time tzdata vector ];
preCheck = "export TZDIR=${pkgs_tzdata}/share/zoneinfo";
testDepends = [
bindingsPosix HUnit QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 testFrameworkTh time tzdata
];
meta = {
homepage = "https://github.com/nilcons/haskell-tz";
description = "Efficient time zone handling";
license = self.stdenv.lib.licenses.asl20;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -2620,6 +2620,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
typeLevelNaturalNumber = callPackage ../development/libraries/haskell/type-level-natural-number {};
tz = callPackage ../development/libraries/haskell/tz {
pkgs_tzdata = pkgs.tzdata;
};
tzdata = callPackage ../development/libraries/haskell/tzdata {};
unbound = callPackage ../development/libraries/haskell/unbound {};