diff --git a/pkgs/development/libraries/haskell/cmdlib/default.nix b/pkgs/development/libraries/haskell/cmdlib/default.nix new file mode 100644 index 000000000000..e0d62f19d573 --- /dev/null +++ b/pkgs/development/libraries/haskell/cmdlib/default.nix @@ -0,0 +1,19 @@ +{ cabal, mtl, split, syb }: + +cabal.mkDerivation (self: { + pname = "cmdlib"; + version = "0.3.2.1"; + sha256 = "0p8jpwngc8nbpl6v0i8hqhm1nsm2c51pswi6nym6dkwkilaxbvs4"; + isLibrary = true; + isExecutable = true; + buildDepends = [ mtl split syb ]; + meta = { + description = "a library for command line parsing & online help"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.simons + self.stdenv.lib.maintainers.andres + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 27a113e37f78..e9f6443a94a1 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -451,6 +451,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cmdargs = callPackage ../development/libraries/haskell/cmdargs {}; + cmdlib = callPackage ../development/libraries/haskell/cmdlib {}; + colorizeHaskell = callPackage ../development/libraries/haskell/colorize-haskell {}; colour = callPackage ../development/libraries/haskell/colour {};