diff --git a/pkgs/development/libraries/haskell/hsimport/default.nix b/pkgs/development/libraries/haskell/hsimport/default.nix new file mode 100644 index 000000000000..6cf1f08ef8fe --- /dev/null +++ b/pkgs/development/libraries/haskell/hsimport/default.nix @@ -0,0 +1,22 @@ +{ cabal, attoparsec, cmdargs, filepath, haskellSrcExts, lens, mtl +, split, tasty, tastyGolden, text +}: + +cabal.mkDerivation (self: { + pname = "hsimport"; + version = "0.2.6.6"; + sha256 = "07zlzshg7q1gh96wqifnjanl9nfz8y4rmszmrjm7plkkpxymma4z"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + attoparsec cmdargs haskellSrcExts lens mtl split text + ]; + testDepends = [ filepath tasty tastyGolden ]; + meta = { + description = "A command line program for extending the import list of a Haskell source file"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; + doCheck = false; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 11615bc3e5ed..62bb04a4b0e1 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1235,6 +1235,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x hseCpp = callPackage ../development/libraries/haskell/hse-cpp {}; + hsimport = callPackage ../development/libraries/haskell/hsimport {}; + HTF = callPackage ../development/libraries/haskell/HTF {}; HTTP_4000_0_6 = callPackage ../development/libraries/haskell/HTTP/4000.0.6.nix {};