diff --git a/pkgs/development/libraries/haskell/unix-compat/default.nix b/pkgs/development/libraries/haskell/unix-compat/0.2.2.1.nix similarity index 100% rename from pkgs/development/libraries/haskell/unix-compat/default.nix rename to pkgs/development/libraries/haskell/unix-compat/0.2.2.1.nix diff --git a/pkgs/development/libraries/haskell/unix-compat/0.3.nix b/pkgs/development/libraries/haskell/unix-compat/0.3.nix new file mode 100644 index 00000000000..da13c9313ac --- /dev/null +++ b/pkgs/development/libraries/haskell/unix-compat/0.3.nix @@ -0,0 +1,17 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "unix-compat"; + version = "0.3"; + sha256 = "0zgz9s5z2kca37sgnf4dyfdw90435h20bznx485y1ggvh377jan7"; + meta = { + homepage = "http://github.com/jystic/unix-compat"; + description = "Portable POSIX-compatibility layer"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 2cf554d5e9c..6f5fabe534c 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1201,7 +1201,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); uniqueid = callPackage ../development/libraries/haskell/uniqueid {}; - unixCompat = callPackage ../development/libraries/haskell/unix-compat {}; + unixCompat_0_2_2_1 = callPackage ../development/libraries/haskell/unix-compat/0.2.2.1.nix {}; + unixCompat_0_3 = callPackage ../development/libraries/haskell/unix-compat/0.3.nix {}; + unixCompat = self.unixCompat_0_2_2_1; unorderedContainers = callPackage ../development/libraries/haskell/unordered-containers {};