diff --git a/pkgs/development/libraries/haskell/mime-types/default.nix b/pkgs/development/libraries/haskell/mime-types/default.nix new file mode 100644 index 000000000000..8359d6dc181d --- /dev/null +++ b/pkgs/development/libraries/haskell/mime-types/default.nix @@ -0,0 +1,15 @@ +{ cabal, text }: + +cabal.mkDerivation (self: { + pname = "mime-types"; + version = "0.1.0.0"; + sha256 = "0xc36pr84nszyych3jd8sl6kj1grsyv8ci8v7ilrbpnw7ngbkw1p"; + buildDepends = [ text ]; + meta = { + homepage = "https://github.com/yesodweb/wai"; + description = "Basic mime-type handling types and functions"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 5515990baaa5..26dc5ad00dd0 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -993,6 +993,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); mimeMail = callPackage ../development/libraries/haskell/mime-mail {}; + mimeTypes = callPackage ../development/libraries/haskell/mime-types {}; + MissingH = callPackage ../development/libraries/haskell/MissingH {}; mmap = callPackage ../development/libraries/haskell/mmap {};