diff --git a/pkgs/development/libraries/haskell/stringable/default.nix b/pkgs/development/libraries/haskell/stringable/default.nix new file mode 100644 index 000000000000..663b198b2eef --- /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 f9aa36991ffd..3f50e4ae5cf0 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 {};