diff --git a/pkgs/development/libraries/haskell/network-fancy/default.nix b/pkgs/development/libraries/haskell/network-fancy/default.nix new file mode 100644 index 000000000000..8e0cf7578345 --- /dev/null +++ b/pkgs/development/libraries/haskell/network-fancy/default.nix @@ -0,0 +1,14 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "network-fancy"; + version = "0.1.5.2"; + sha256 = "039yrrir17sphkzarwl7hncj7fb4x471mh2lvpqixl3a6nij141c"; + meta = { + homepage = "http://github.com/taruti/network-fancy"; + description = "Networking support with a cleaner API"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; + preConfigure = ''substituteInPlace Setup.hs --replace '-> rt' '-> return ()' ''; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7f0946e8c271..4c4de9165126 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1714,6 +1714,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in networkConduit = callPackage ../development/libraries/haskell/network-conduit {}; networkConduitTls = callPackage ../development/libraries/haskell/network-conduit-tls {}; + networkFancy = callPackage ../development/libraries/haskell/network-fancy {}; + networkInfo = callPackage ../development/libraries/haskell/network-info {}; networkMetrics = callPackage ../development/libraries/haskell/network-metrics {};