From ca6f9db8c403c4791c4114b46f4df30ce8c5fc6f Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 14:35:34 +0000 Subject: [PATCH] data-sketches-core: init at 0.1.0.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/data-sketches-core.nix | 46 +++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 pkgs/data-sketches-core.nix diff --git a/manifest.dhall b/manifest.dhall index 01e5e6ec..704c9522 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-core" "0.1.0.0" , callHackage "dec" "0.0.5" , callHackage "dense-linear-algebra" "0.1.0.0" , callHackage "deriving-aeson" "0.2.8" diff --git a/overlay.nix b/overlay.nix index 2b710499..c6880799 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-core = prev.callPackage (./pkgs/data-sketches-core.nix) { }; + dec = prev.callPackage (./pkgs/dec.nix) { }; dense-linear-algebra = prev.callPackage (./pkgs/dense-linear-algebra.nix) { }; diff --git a/pkgs/data-sketches-core.nix b/pkgs/data-sketches-core.nix new file mode 100644 index 00000000..fc9a581d --- /dev/null +++ b/pkgs/data-sketches-core.nix @@ -0,0 +1,46 @@ +{ mkDerivation +, base +, deepseq +, ghc-prim +, lib +, mwc-random +, primitive +, vector +, vector-algorithms +}: +mkDerivation { + pname = "data-sketches-core"; + version = "0.1.0.0"; + sha256 = "2355740a772914b9c1d45c2fd28a790da1c0301867643b08c42e86fdee45dc39"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + deepseq + ghc-prim + mwc-random + primitive + vector + vector-algorithms + ]; + testHaskellDepends = [ + base + deepseq + ghc-prim + 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.bsd3; + broken = false; +} -- GitLab