From 13b67df58ed68c2dafecae78e095a9c1df4648f5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 2 Oct 2011 20:28:19 +0000 Subject: [PATCH] haskell-convertible-text: added version 0.3.0.10 svn path=/nixpkgs/trunk/; revision=29585 --- .../haskell/convertible-text/default.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/libraries/haskell/convertible-text/default.nix diff --git a/pkgs/development/libraries/haskell/convertible-text/default.nix b/pkgs/development/libraries/haskell/convertible-text/default.nix new file mode 100644 index 000000000000..305d589dfb58 --- /dev/null +++ b/pkgs/development/libraries/haskell/convertible-text/default.nix @@ -0,0 +1,20 @@ +{ cabal, attempt, text, time }: + +cabal.mkDerivation (self: { + pname = "convertible-text"; + version = "0.3.0.10"; + sha256 = "1hi7rqijay37b5msyzqqgvkvrsdpj9p96ajxmyk4vm7nnk5dfhbp"; + isLibrary = true; + isExecutable = true; + buildDepends = [ attempt text time ]; + meta = { + homepage = "http://github.com/snoyberg/convertible/tree/text"; + description = "Typeclasses and instances for converting between types"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 979542ebb8a1..907a6dac9114 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -474,6 +474,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); time = self.time_1_1_3; }; + convertibleText = callPackage ../development/libraries/haskell/convertible-text {}; + continuedFractions = callPackage ../development/libraries/haskell/continued-fractions {}; converge = callPackage ../development/libraries/haskell/converge {};