diff --git a/horizon.dhall b/horizon.dhall index 698994b09309047c1b7906f5c94519bc6942b9d0..10b53a4e4367a8230680570a3c4035ae0616d46d 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -252,6 +252,7 @@ let otherLibraries = "https://github.com/milloni/strict-containers" "9e833be00bc2c5cdb0b4e743b7a2cde00dd4f616" (Some "strict-containers") + , H.callHackage "strict-list" "0.1.7" , H.callHackage "testing-type-modifiers" "0.1.0.1" , H.callHackage "th-desugar" "1.14" , H.callHackage "time-units" "1.0.0" diff --git a/overlay.nix b/overlay.nix index 5db568f7f14715cc65488cd2460350fb0dab0234..e8f40ac9bc2b31b09718deb315c95308c3711b1b 100644 --- a/overlay.nix +++ b/overlay.nix @@ -217,6 +217,8 @@ final: prev: with pkgs.haskell.lib; { strict-containers = final.callPackage (./pkgs/strict-containers.nix) { }; + strict-list = final.callPackage (./pkgs/strict-list.nix) { }; + testing-type-modifiers = final.callPackage (./pkgs/testing-type-modifiers.nix) { }; th-desugar = final.callPackage (./pkgs/th-desugar.nix) { }; diff --git a/pkgs/strict-list.nix b/pkgs/strict-list.nix new file mode 100644 index 0000000000000000000000000000000000000000..5df276ea9d218a42e4a953b04a2396eb7ed3b40d --- /dev/null +++ b/pkgs/strict-list.nix @@ -0,0 +1,41 @@ +{ mkDerivation +, QuickCheck +, base +, deepseq +, hashable +, lib +, quickcheck-instances +, rerebase +, semigroupoids +, tasty +, tasty-hunit +, tasty-quickcheck +}: +mkDerivation { + pname = "strict-list"; + version = "0.1.7"; + sha256 = "70cd8accb5e1f68273b07c6cfe64e27f08815df59e2606bc5ed6f2fdcbb20e36"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base deepseq hashable semigroupoids ]; + testHaskellDepends = [ + QuickCheck + quickcheck-instances + rerebase + tasty + tasty-hunit + tasty-quickcheck + ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/nikita-volkov/strict-list"; + description = "Strict linked list"; + license = lib.licenses.mit; + broken = false; +}