diff --git a/manifest.dhall b/manifest.dhall index ff77d5ff0abd6aecf617365c1bc46a2091063b2b..7c12b8cb5fe8df0b38c9edabd412a2596ec126fc 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -322,6 +322,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "monad-par" "0.3.5" , callHackage "monoid-subclasses" "1.1.3" , callHackage "network-byte-order" "0.1.6" + , callHackage "network-uri" "2.6.4.1" , callHackage "newtype-generics" "0.6.2" , callHackage "nothunks" "0.1.3" , callCabal2nix diff --git a/overlay.nix b/overlay.nix index d52dc03bc9e1184cd72118612ba0465fcc780c61..db0e48b6916799a1eef8da8962c0c346da78f7ee 100644 --- a/overlay.nix +++ b/overlay.nix @@ -375,6 +375,8 @@ final: prev: with pkgs.haskell.lib; { network-byte-order = prev.callPackage (./pkgs/network-byte-order.nix) { }; + network-uri = prev.callPackage (./pkgs/network-uri.nix) { }; + newtype-generics = prev.callPackage (./pkgs/newtype-generics.nix) { }; nothunks = prev.callPackage (./pkgs/nothunks.nix) { }; diff --git a/pkgs/network-uri.nix b/pkgs/network-uri.nix new file mode 100644 index 0000000000000000000000000000000000000000..550f165b329a0d312548992bdb3fcaf41a24bb8e --- /dev/null +++ b/pkgs/network-uri.nix @@ -0,0 +1,49 @@ +{ mkDerivation +, base +, criterion +, deepseq +, HUnit +, lib +, parsec +, QuickCheck +, tasty +, tasty-hunit +, tasty-quickcheck +, template-haskell +, th-compat +}: +mkDerivation { + pname = "network-uri"; + version = "2.6.4.1"; + sha256 = "57856db93608a4d419f681b881c9b8d4448800d5a687587dc37e8a9e0b223584"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + deepseq + parsec + template-haskell + th-compat + ]; + testHaskellDepends = [ + base + HUnit + QuickCheck + tasty + tasty-hunit + tasty-quickcheck + ]; + benchmarkHaskellDepends = [ base criterion deepseq HUnit ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/haskell/network-uri"; + description = "URI manipulation"; + license = lib.licenses.bsd3; + broken = false; +}