From bbbec1d773e5ca403adaec98a44687c50668ecbf Mon Sep 17 00:00:00 2001 From: Max Tomago <noreply@tomagotech.com> Date: Fri, 2 Dec 2022 14:25:11 +0100 Subject: [PATCH] NumInstances: init at 1.4 --- horizon.dhall | 1 + overlay.nix | 2 ++ pkgs/NumInstances.nix | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/NumInstances.nix diff --git a/horizon.dhall b/horizon.dhall index b902870..8930446 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -110,6 +110,7 @@ let otherLibraries = , H.callHackage "HTF" "0.15.0.0" , H.callHackage "HsOpenSSL" "0.11.7.2" , H.callHackage "MemoTrie" "0.6.10" + , H.callHackage "NumInstances" "1.4" , H.callHackage "PyF" "0.11.0.0" , H.callHackage "Stream" "0.4.7.2" , H.callHackage "Unique" "0.4.7.9" diff --git a/overlay.nix b/overlay.nix index 3d1c37a..e83500f 100644 --- a/overlay.nix +++ b/overlay.nix @@ -9,6 +9,8 @@ final: prev: with pkgs.haskell.lib; { MemoTrie = final.callPackage (./pkgs/MemoTrie.nix) { }; + NumInstances = final.callPackage (./pkgs/NumInstances.nix) { }; + PyF = final.callPackage (./pkgs/PyF.nix) { }; Stream = final.callPackage (./pkgs/Stream.nix) { }; diff --git a/pkgs/NumInstances.nix b/pkgs/NumInstances.nix new file mode 100644 index 0000000..e430973 --- /dev/null +++ b/pkgs/NumInstances.nix @@ -0,0 +1,21 @@ +{ mkDerivation, base, lib }: +mkDerivation { + pname = "NumInstances"; + version = "1.4"; + sha256 = "cbdb2a49346f59ceb5ab38592d7bc52e5205580d431d0ac6d852fd9880e59679"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/conal/NumInstances"; + description = "Instances of numeric classes for functions and tuples"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab