From 08aebee8967d560fd7896c1b87d75190bcafbcc9 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 14:49:49 +0000 Subject: [PATCH] store: init at 0.7.16 --- manifest.dhall | 1 + overlay.nix | 2 + pkgs/store.nix | 210 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 213 insertions(+) create mode 100644 pkgs/store.nix diff --git a/manifest.dhall b/manifest.dhall index 752ab49d..a380c387 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -713,6 +713,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "stm-chans" "3.0.0.6" , callHackage "streaming-commons" "0.2.2.4" , callHackage "streaming" "0.2.3.1" + , callHackage "store" "0.7.16" , callHackage "strict" "0.4.0.1" , callHackage "string-conv" "0.2.0" , callHackage "string-interpolate" "0.3.1.2" diff --git a/overlay.nix b/overlay.nix index e426d067..d6ccfc11 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1097,6 +1097,8 @@ self: with pkgs.haskell.lib; { stm-chans = self.callPackage (./pkgs/stm-chans.nix) { }; + store = self.callPackage (./pkgs/store.nix) { }; + streaming = self.callPackage (./pkgs/streaming.nix) { }; streaming-commons = self.callPackage (./pkgs/streaming-commons.nix) { }; diff --git a/pkgs/store.nix b/pkgs/store.nix new file mode 100644 index 00000000..acdef644 --- /dev/null +++ b/pkgs/store.nix @@ -0,0 +1,210 @@ +{ mkDerivation +, array +, async +, base +, base-orphans +, base64-bytestring +, bifunctors +, bytestring +, cereal +, cereal-vector +, clock +, containers +, contravariant +, criterion +, cryptohash +, deepseq +, directory +, filepath +, free +, ghc-prim +, hashable +, hspec +, hspec-discover +, hspec-smallcheck +, integer-gmp +, lib +, lifted-base +, monad-control +, mono-traversable +, nats +, network +, primitive +, resourcet +, safe +, smallcheck +, store-core +, syb +, template-haskell +, text +, th-lift +, th-lift-instances +, th-orphans +, th-reify-many +, th-utilities +, time +, transformers +, unordered-containers +, vector +, vector-binary-instances +, void +, weigh +}: +mkDerivation { + pname = "store"; + version = "0.7.16"; + sha256 = "4f7fc5853e17f0703165d0c3dc28b24fd7e09b7720123faf3fd33389994cb688"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + array + async + base + base-orphans + base64-bytestring + bifunctors + bytestring + containers + contravariant + cryptohash + deepseq + directory + filepath + free + ghc-prim + hashable + hspec + hspec-smallcheck + integer-gmp + lifted-base + monad-control + mono-traversable + nats + network + primitive + resourcet + safe + smallcheck + store-core + syb + template-haskell + text + th-lift + th-lift-instances + th-orphans + th-reify-many + th-utilities + time + transformers + unordered-containers + vector + void + ]; + testHaskellDepends = [ + array + async + base + base-orphans + base64-bytestring + bifunctors + bytestring + clock + containers + contravariant + cryptohash + deepseq + directory + filepath + free + ghc-prim + hashable + hspec + hspec-smallcheck + integer-gmp + lifted-base + monad-control + mono-traversable + nats + network + primitive + resourcet + safe + smallcheck + store-core + syb + template-haskell + text + th-lift + th-lift-instances + th-orphans + th-reify-many + th-utilities + time + transformers + unordered-containers + vector + void + ]; + testToolDepends = [ hspec-discover ]; + benchmarkHaskellDepends = [ + array + async + base + base-orphans + base64-bytestring + bifunctors + bytestring + cereal + cereal-vector + containers + contravariant + criterion + cryptohash + deepseq + directory + filepath + free + ghc-prim + hashable + hspec + hspec-smallcheck + integer-gmp + lifted-base + monad-control + mono-traversable + nats + network + primitive + resourcet + safe + smallcheck + store-core + syb + template-haskell + text + th-lift + th-lift-instances + th-orphans + th-reify-many + th-utilities + time + transformers + unordered-containers + vector + vector-binary-instances + void + weigh + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/mgsloan/store#readme"; + description = "Fast binary serialization"; + license = lib.licenses.mit; + broken = false; +} -- GitLab