diff --git a/pkgs/development/libraries/haskell/dns/default.nix b/pkgs/development/libraries/haskell/dns/default.nix new file mode 100644 index 000000000000..0854f39efcef --- /dev/null +++ b/pkgs/development/libraries/haskell/dns/default.nix @@ -0,0 +1,18 @@ +{ cabal, attoparsec, attoparsecConduit, binary, blazeBuilder +, conduit, iproute, mtl, network, networkConduit, random +}: + +cabal.mkDerivation (self: { + pname = "dns"; + version = "0.3.6"; + sha256 = "0dpwy94id9rxxjpji47nazinm8i1ihm0606dmi5iqqhbl5h2jara"; + buildDepends = [ + attoparsec attoparsecConduit binary blazeBuilder conduit iproute + mtl network networkConduit random + ]; + meta = { + description = "DNS library in Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 078307b02664..96351739253c 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -719,6 +719,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); dlist = callPackage ../development/libraries/haskell/dlist {}; + dns = callPackage ../development/libraries/haskell/dns {}; + dotgen = callPackage ../development/libraries/haskell/dotgen {}; doubleConversion = callPackage ../development/libraries/haskell/double-conversion {};