2014-04-28 16:54:22 +00:00
|
|
|
{ cabal, binary, bindingsPosix, deepseq, HUnit, pkgs_tzdata
|
|
|
|
, QuickCheck, testFramework, testFrameworkHunit
|
|
|
|
, testFrameworkQuickcheck2, testFrameworkTh, time, tzdata, vector
|
2014-04-25 14:19:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "tz";
|
|
|
|
version = "0.0.0.5";
|
|
|
|
sha256 = "03s5vs08dj3r7rq78ncya6x6dazvr93gfylyynwybpai09l2y89v";
|
|
|
|
buildDepends = [ binary deepseq time tzdata vector ];
|
|
|
|
testDepends = [
|
|
|
|
bindingsPosix HUnit QuickCheck testFramework testFrameworkHunit
|
|
|
|
testFrameworkQuickcheck2 testFrameworkTh time tzdata
|
|
|
|
];
|
2014-04-28 16:54:22 +00:00
|
|
|
preConfigure = "export TZDIR=${pkgs_tzdata}/share/zoneinfo";
|
2014-04-25 14:19:12 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/nilcons/haskell-tz";
|
|
|
|
description = "Efficient time zone handling";
|
|
|
|
license = self.stdenv.lib.licenses.asl20;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|