diff --git a/manifest.dhall b/manifest.dhall index d5bd274b720161e8ca2098c5bad49016578e1824..c31ecd5e02834044b69a1467eda39e6731ce1754 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -567,6 +567,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "some" "1.0.4" , callHackage "sop-core" "0.5.0.1" , callHackage "souffle-haskell" "3.5.0" + , callHackage "splitmix" "0.1.0.4" , callHackage "split" "0.2.3.3" , callHackage "sqlite-simple" "0.4.18.2" , callHackage "statistics" "0.16.1.0" diff --git a/overlay.nix b/overlay.nix index bc025f2a5a50d9eb35a1a6ce08b8a624d46c46d1..d894bca7fa4389d9f7e9b39ac7cd005b63de3f06 100644 --- a/overlay.nix +++ b/overlay.nix @@ -799,6 +799,8 @@ self: with pkgs.haskell.lib; { split = self.callPackage (./pkgs/split.nix) { }; + splitmix = self.callPackage (./pkgs/splitmix.nix) { }; + sqlite-simple = self.callPackage (./pkgs/sqlite-simple.nix) { }; statistics = self.callPackage (./pkgs/statistics.nix) { }; diff --git a/pkgs/splitmix.nix b/pkgs/splitmix.nix new file mode 100644 index 0000000000000000000000000000000000000000..efaa9bcd90c0f1cb96a6c20973edd548aa09df78 --- /dev/null +++ b/pkgs/splitmix.nix @@ -0,0 +1,68 @@ +{ mkDerivation +, async +, base +, base-compat +, base-compat-batteries +, bytestring +, clock +, containers +, criterion +, deepseq +, HUnit +, lib +, math-functions +, process +, random +, test-framework +, test-framework-hunit +, testu01 +, tf-random +, vector +}: +mkDerivation { + pname = "splitmix"; + version = "0.1.0.4"; + sha256 = "6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"; + revision = "1"; + editedCabalFile = "1iqlg2d4mybqwzwp67c5a1yxzd47cbp4f7mrpa6d0ckypis2akl0"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base deepseq ]; + testHaskellDepends = [ + async + base + base-compat + base-compat-batteries + bytestring + containers + deepseq + HUnit + math-functions + process + random + test-framework + test-framework-hunit + tf-random + vector + ]; + testSystemDepends = [ testu01 ]; + benchmarkHaskellDepends = [ + base + clock + containers + criterion + random + tf-random + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Fast Splittable PRNG"; + license = lib.licenses.bsd3; + broken = false; +}