From ef8921cd9fdecbb6893ea0839c7c129f4bcabd3e Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sun, 6 Nov 2022 21:49:34 +0000 Subject: [PATCH] Glob: init at 0.10.2 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/Glob.nix | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 pkgs/Glob.nix diff --git a/manifest.dhall b/manifest.dhall index 641cb0ee..7db777dd 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -66,6 +66,7 @@ in [ callHackage "Cabal" "3.8.1.0" (Some "Cabal-tree-diff") , callHackage "ChasingBottoms" "1.3.1.12" , callHackage "Diff" "0.4.1" + , callHackage "Glob" "0.10.2" , callHackage "HTTP" "4000.4.1" , callHackage "HUnit" "1.6.2.0" , callHackage "JuicyPixels" "3.3.8" diff --git a/overlay.nix b/overlay.nix index 6ba80fa2..70ef3015 100644 --- a/overlay.nix +++ b/overlay.nix @@ -15,6 +15,8 @@ self: with pkgs.haskell.lib; { Diff = self.callPackage (./pkgs/Diff.nix) { }; + Glob = self.callPackage (./pkgs/Glob.nix) { }; + HTTP = self.callPackage (./pkgs/HTTP.nix) { }; HUnit = self.callPackage (./pkgs/HUnit.nix) { }; diff --git a/pkgs/Glob.nix b/pkgs/Glob.nix new file mode 100644 index 00000000..7f84e8f8 --- /dev/null +++ b/pkgs/Glob.nix @@ -0,0 +1,59 @@ +{ mkDerivation +, base +, containers +, directory +, dlist +, filepath +, HUnit +, lib +, QuickCheck +, test-framework +, test-framework-hunit +, test-framework-quickcheck2 +, transformers +, transformers-compat +}: +mkDerivation { + pname = "Glob"; + version = "0.10.2"; + sha256 = "6af672ac8427d35cbd42d64142dc288feab266f0be92dae3c696e8860d8173c0"; + revision = "3"; + editedCabalFile = "1080rd5073g87rfm5whimb72b75105lqanybrbsfi14gmvndnbfx"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + containers + directory + dlist + filepath + transformers + transformers-compat + ]; + testHaskellDepends = [ + base + containers + directory + dlist + filepath + HUnit + QuickCheck + test-framework + test-framework-hunit + test-framework-quickcheck2 + transformers + transformers-compat + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://iki.fi/matti.niemenmaa/glob/"; + description = "Globbing library"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab