diff --git a/manifest.dhall b/manifest.dhall index c21a76ba58c1bfc2516b7d3d2d080cd9a99d05c5..45e8ca06ecc166359d219401cefc04a26ac410ba 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -386,6 +386,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "parallel" "3.2.2.0" , callHackage "password-types" "1.0.0.0" , callHackage "password" "3.0.2.0" + , callHackage "path-io" "1.7.0" , callHackage "path" "0.9.2" , callHackage "pcg-random" "0.1.3.7" , callHackage "pcre2" "2.2.1" diff --git a/overlay.nix b/overlay.nix index e56da40071b060fa8554e6cc75bc538c0f53c371..a3d3029b03b5c52889abeb444d1a6333ccb0778f 100644 --- a/overlay.nix +++ b/overlay.nix @@ -495,6 +495,8 @@ final: prev: with pkgs.haskell.lib; { path = prev.callPackage (./pkgs/path.nix) { }; + path-io = prev.callPackage (./pkgs/path-io.nix) { }; + pcg-random = prev.callPackage (./pkgs/pcg-random.nix) { }; pcre2 = prev.callPackage (./pkgs/pcre2.nix) { }; diff --git a/pkgs/path-io.nix b/pkgs/path-io.nix new file mode 100644 index 0000000000000000000000000000000000000000..950dba56c4421764d4356c8d07b75649ac2a0cd5 --- /dev/null +++ b/pkgs/path-io.nix @@ -0,0 +1,57 @@ +{ mkDerivation +, base +, containers +, directory +, dlist +, exceptions +, filepath +, hspec +, lib +, path +, temporary +, time +, transformers +, unix-compat +}: +mkDerivation { + pname = "path-io"; + version = "1.7.0"; + sha256 = "34bd41820298757bda9fbdc8a07ecb574bc4d78d1260025b1644813ea08d21cb"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + containers + directory + dlist + exceptions + filepath + path + temporary + time + transformers + unix-compat + ]; + testHaskellDepends = [ + base + directory + exceptions + filepath + hspec + path + transformers + unix-compat + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/mrkkrp/path-io"; + description = "Interface to ‘directory’ package for users of ‘path’"; + license = lib.licenses.bsd3; + broken = false; +}