diff --git a/horizon.dhall b/horizon.dhall index 47f2623370a146996e6851f3f72dc053df82b20f..e1df07ef5dbd91a1ebe2efd337a6280c6537535e 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 ce63bd35d6415bec0d0980072752e3bb40820f9e..5b3069a6e0c930882b550fdc56a831d4b1068bc8 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 0000000000000000000000000000000000000000..484ba640ebe45bd07adae7fc92ac0ad03de6316a --- /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; +}