about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/tz/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/tz/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/tz/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/tz/default.nix b/pkgs/development/libraries/haskell/tz/default.nix
new file mode 100644
index 000000000000..3f964f2ce3d1
--- /dev/null
+++ b/pkgs/development/libraries/haskell/tz/default.nix
@@ -0,0 +1,24 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, binary, bindingsPosix, deepseq, HUnit, pkgs_tzdata
+, QuickCheck, testFramework, testFrameworkHunit
+, testFrameworkQuickcheck2, testFrameworkTh, time, tzdata, vector
+}:
+
+cabal.mkDerivation (self: {
+  pname = "tz";
+  version = "0.0.0.8";
+  sha256 = "0rabdqwdj8hx17817zsfsih01agx7n3kja8s0axmm0drq22vlflv";
+  buildDepends = [ binary deepseq time tzdata vector ];
+  testDepends = [
+    bindingsPosix HUnit QuickCheck testFramework testFrameworkHunit
+    testFrameworkQuickcheck2 testFrameworkTh time tzdata vector
+  ];
+  preConfigure = "export TZDIR=${pkgs_tzdata}/share/zoneinfo";
+  meta = {
+    homepage = "https://github.com/nilcons/haskell-tz";
+    description = "Efficient time zone handling";
+    license = self.stdenv.lib.licenses.asl20;
+    platforms = self.ghc.meta.platforms;
+  };
+})