From b4a9ab5bd68df4f42ac4c9d6fb8b1a3f7dc46189 Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Tue, 27 Aug 2013 17:17:41 +0200 Subject: [PATCH] Add thyme haskell library --- .../libraries/haskell/thyme/default.nix | 22 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/haskell/thyme/default.nix diff --git a/pkgs/development/libraries/haskell/thyme/default.nix b/pkgs/development/libraries/haskell/thyme/default.nix new file mode 100644 index 000000000000..1e372d8f5bae --- /dev/null +++ b/pkgs/development/libraries/haskell/thyme/default.nix @@ -0,0 +1,22 @@ +{ cabal, attoparsec, deepseq, lens, QuickCheck +, random, text, time, transformers, vector +, vectorSpace +}: + +cabal.mkDerivation (self: { + pname = "thyme"; + version = "0.3.0.0"; + sha256 = "0nv8kp5ax0088z0d9y93xkv59v1i8wrrdprsj7bknk3yn0gd2gb3"; + buildDepends = [ + attoparsec deepseq lens QuickCheck random text time transformers + vector vectorSpace + ]; + # have some strange test depends + doCheck = false; + meta = { + homepage = "https://github.com/liyang/thyme"; + description = "A faster time library"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e66f82d32e9a..60f5a767cd10 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1993,6 +1993,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x threads = callPackage ../development/libraries/haskell/threads {}; + thyme = callPackage ../development/libraries/haskell/thyme {}; + time_1_1_2_4 = callPackage ../development/libraries/haskell/time/1.1.2.4.nix {}; time_1_4_1 = callPackage ../development/libraries/haskell/time/1.4.1.nix {}; # time is in the core package set. It should only be necessary to