From 137e8ef0f18a481a66bda1f47890dbbf712fa301 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 16 Sep 2013 11:33:24 +0200 Subject: [PATCH] haskell-stringable: add version 0.1.2 --- .../libraries/haskell/stringable/default.nix | 13 +++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/haskell/stringable/default.nix diff --git a/pkgs/development/libraries/haskell/stringable/default.nix b/pkgs/development/libraries/haskell/stringable/default.nix new file mode 100644 index 00000000000..663b198b2ee --- /dev/null +++ b/pkgs/development/libraries/haskell/stringable/default.nix @@ -0,0 +1,13 @@ +{ cabal, systemFilepath, text }: + +cabal.mkDerivation (self: { + pname = "stringable"; + version = "0.1.2"; + sha256 = "17lhry3x90s88lplbv2kvzyak8wrc9r80czng5s3dirmyp9rn5gs"; + buildDepends = [ systemFilepath text ]; + meta = { + description = "A Stringable type class, in the spirit of Foldable and Traversable"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index f9aa36991ff..3f50e4ae5cf 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1885,6 +1885,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x strict = callPackage ../development/libraries/haskell/strict {}; + stringable = callPackage ../development/libraries/haskell/stringable {}; + stringCombinators = callPackage ../development/libraries/haskell/string-combinators {}; stringprep = callPackage ../development/libraries/haskell/stringprep {};