diff --git a/manifest.dhall b/manifest.dhall index 752ab49d84b642973e235946b7005f59d9219b30..a380c387c25941787a739b729a7aab429d1fcbf6 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 e426d0671a9352a4836704f640decde9953b1126..d6ccfc1109dfca2d72c4a1c54a0c1a5fd301d4f0 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 0000000000000000000000000000000000000000..acdef6442fec51b5c69ac1b73b7241f6e5cbb7ad --- /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; +}