From 2b78f0cfe18ac844eadc190fabe22685ac8bf25b Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Fri, 30 Dec 2022 22:41:01 +0000 Subject: [PATCH] cryptonite-conduit: init at 0.2.2 --- horizon.dhall | 1 + initial-packages.nix | 2 ++ pkgs/cryptonite-conduit.nix | 59 +++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 pkgs/cryptonite-conduit.nix diff --git a/horizon.dhall b/horizon.dhall index 47f26233..e1df07ef 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -196,6 +196,7 @@ let packages = , cursor-gen = H.callHackage "cursor-gen" "0.4.0.0" , cursor = H.callHackage "cursor" "0.3.2.0" , cryptonite = H.callHackage "cryptonite" "0.30" + , cryptonite-conduit = H.callHackage "cryptonite-conduit" "0.2.2" , cryptohash-md5 = H.callHackage "cryptohash-md5" "0.11.101.0" , cryptohash-sha1 = H.callHackage "cryptohash-sha1" "0.11.101.0" , cryptohash-sha256 = H.callHackage "cryptohash-sha256" "0.11.102.1" diff --git a/initial-packages.nix b/initial-packages.nix index ce63bd35..5b3069a6 100644 --- a/initial-packages.nix +++ b/initial-packages.nix @@ -281,6 +281,8 @@ self: with pkgs.haskell.lib; { cryptonite = self.callPackage (./pkgs/cryptonite.nix) { }; + cryptonite-conduit = self.callPackage (./pkgs/cryptonite-conduit.nix) { }; + csv = self.callPackage (./pkgs/csv.nix) { }; cursor = self.callPackage (./pkgs/cursor.nix) { }; diff --git a/pkgs/cryptonite-conduit.nix b/pkgs/cryptonite-conduit.nix new file mode 100644 index 00000000..484ba640 --- /dev/null +++ b/pkgs/cryptonite-conduit.nix @@ -0,0 +1,59 @@ +{ mkDerivation +, base +, bytestring +, conduit +, conduit-combinators +, conduit-extra +, cryptonite +, exceptions +, lib +, memory +, resourcet +, tasty +, tasty-hunit +, tasty-quickcheck +, transformers +}: +mkDerivation { + pname = "cryptonite-conduit"; + version = "0.2.2"; + sha256 = "705d69ab3f79b7b8810c7b9e7da81a1c6686b6a4323b1e78150576a25a658dae"; + revision = "1"; + editedCabalFile = "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + bytestring + conduit + conduit-extra + cryptonite + exceptions + memory + resourcet + transformers + ]; + testHaskellDepends = [ + base + bytestring + conduit + conduit-combinators + cryptonite + memory + tasty + tasty-hunit + tasty-quickcheck + ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/haskell-crypto/cryptonite-conduit"; + description = "cryptonite conduit"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab