diff --git a/pkgs/development/libraries/haskell/cgrep/default.nix b/pkgs/development/libraries/haskell/cgrep/default.nix new file mode 100644 index 000000000000..ef89ab6b5cb7 --- /dev/null +++ b/pkgs/development/libraries/haskell/cgrep/default.nix @@ -0,0 +1,21 @@ +{ cabal, ansiTerminal, cmdargs, dlist, filepath, regexPosix, safe +, split, stm, stringsearch, unorderedContainers +}: + +cabal.mkDerivation (self: { + pname = "cgrep"; + version = "6.4.3.1"; + sha256 = "0pqifapjgazz7wiydc775i4f6iixq8v87rzjgvvymdbdsn0sfa0r"; + isLibrary = false; + isExecutable = true; + buildDepends = [ + ansiTerminal cmdargs dlist filepath regexPosix safe split stm + stringsearch unorderedContainers + ]; + meta = { + homepage = "http://awgn.github.io/cgrep/"; + description = "Command line tool"; + license = self.stdenv.lib.licenses.gpl2; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e8e0e4959bfa..01ccd1970ee7 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -377,6 +377,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in cgi_3001_1_8_5 = callPackage ../development/libraries/haskell/cgi/3001.1.8.5.nix {}; cgi = self.cgi_3001_1_8_5; + cgrep = callPackage ../development/libraries/haskell/cgrep {}; + charset = callPackage ../development/libraries/haskell/charset {}; Chart = callPackage ../development/libraries/haskell/Chart {};