From cca7f91fc703465a2fe4b8cb2bfc77b728102dbb Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 14:37:12 +0000 Subject: [PATCH] data-sketches: init at 0.3.1.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/data-sketches.nix | 72 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 pkgs/data-sketches.nix diff --git a/manifest.dhall b/manifest.dhall index 704c9522..fb4cd69f 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -174,6 +174,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "cryptohash" "0.11.9" , callHackage "daemons" "0.3.0" , callHackage "data-fix" "0.3.2" + , callHackage "data-sketches" "0.3.1.0" , callHackage "data-sketches-core" "0.1.0.0" , callHackage "dec" "0.0.5" , callHackage "dense-linear-algebra" "0.1.0.0" diff --git a/overlay.nix b/overlay.nix index c6880799..c8042ed2 100644 --- a/overlay.nix +++ b/overlay.nix @@ -191,6 +191,8 @@ final: prev: with pkgs.haskell.lib; { data-fix = prev.callPackage (./pkgs/data-fix.nix) { }; + data-sketches = prev.callPackage (./pkgs/data-sketches.nix) { }; + data-sketches-core = prev.callPackage (./pkgs/data-sketches-core.nix) { }; dec = prev.callPackage (./pkgs/dec.nix) { }; diff --git a/pkgs/data-sketches.nix b/pkgs/data-sketches.nix new file mode 100644 index 00000000..586e5b62 --- /dev/null +++ b/pkgs/data-sketches.nix @@ -0,0 +1,72 @@ +{ mkDerivation +, base +, criterion +, data-sketches-core +, ghc-prim +, hspec +, hspec-discover +, lib +, mtl +, mwc-random +, pretty-show +, primitive +, QuickCheck +, statistics +, vector +, vector-algorithms +}: +mkDerivation { + pname = "data-sketches"; + version = "0.3.1.0"; + sha256 = "7ff596faf9903e57e5fad3b7517721775b3ab874ac9a15b4b15b5001d9296128"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + data-sketches-core + ghc-prim + mtl + mwc-random + primitive + vector + vector-algorithms + ]; + testHaskellDepends = [ + base + data-sketches-core + ghc-prim + hspec + hspec-discover + mtl + mwc-random + pretty-show + primitive + QuickCheck + statistics + vector + vector-algorithms + ]; + testToolDepends = [ hspec-discover ]; + benchmarkHaskellDepends = [ + base + criterion + data-sketches-core + ghc-prim + mtl + mwc-random + primitive + vector + vector-algorithms + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/iand675/datasketches-haskell#readme"; + license = lib.licenses.asl20; + broken = false; +} -- GitLab