diff --git a/pkgs/development/libraries/haskell/prettyclass/default.nix b/pkgs/development/libraries/haskell/prettyclass/default.nix new file mode 100644 index 00000000000..af4e4d7beaa --- /dev/null +++ b/pkgs/development/libraries/haskell/prettyclass/default.nix @@ -0,0 +1,12 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "prettyclass"; + version = "1.0.0.0"; + sha256 = "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"; + meta = { + description = "Pretty printing class similar to Show"; + 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 2f507f7a311..012ac910486 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1793,6 +1793,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x ppm = callPackage ../development/libraries/haskell/ppm {}; + prettyclass = callPackage ../development/libraries/haskell/prettyclass {}; + prettyShow_1_2 = callPackage ../development/libraries/haskell/pretty-show/1.2.nix {}; prettyShow_1_6_3 = callPackage ../development/libraries/haskell/pretty-show/1.6.3.nix { happy = self.happy_1_19_2;