From fe83203338632f6cdd2983f5fc1044c53c672c93 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 09:12:17 +0000 Subject: [PATCH] tls: init at 1.6.0 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/tls.nix | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 pkgs/tls.nix diff --git a/manifest.dhall b/manifest.dhall index 0b95e335..08bcaa2d 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -520,6 +520,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/haskell-effectful/time-effectful" (Some "e212239b685e1ecf7ee95dd1e944cc563351907f") (None Text) + , callHackage "tls" "1.6.0" , callHackage "typed-process" "0.2.10.1" , callHackage "type-errors-pretty" "0.0.1.2" , callHackage "type-errors" "0.2.0.0" diff --git a/overlay.nix b/overlay.nix index 78b5408f..77dec993 100644 --- a/overlay.nix +++ b/overlay.nix @@ -665,6 +665,8 @@ final: prev: with pkgs.haskell.lib; { time-effectful = prev.callPackage (./pkgs/time-effectful.nix) { }; + tls = prev.callPackage (./pkgs/tls.nix) { }; + type-equality = prev.callPackage (./pkgs/type-equality.nix) { }; type-errors = prev.callPackage (./pkgs/type-errors.nix) { }; diff --git a/pkgs/tls.nix b/pkgs/tls.nix new file mode 100644 index 00000000..004cf627 --- /dev/null +++ b/pkgs/tls.nix @@ -0,0 +1,88 @@ +{ mkDerivation +, asn1-encoding +, asn1-types +, async +, base +, bytestring +, cereal +, cryptonite +, data-default-class +, gauge +, hourglass +, lib +, memory +, mtl +, network +, QuickCheck +, tasty +, tasty-quickcheck +, transformers +, x509 +, x509-store +, x509-validation +}: +mkDerivation { + pname = "tls"; + version = "1.6.0"; + sha256 = "d29d20afc1c1b852a3c39b076ec853cb596ac888cf521e54144441dec689e498"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + asn1-encoding + asn1-types + async + base + bytestring + cereal + cryptonite + data-default-class + hourglass + memory + mtl + network + transformers + x509 + x509-store + x509-validation + ]; + testHaskellDepends = [ + asn1-types + async + base + bytestring + cryptonite + data-default-class + hourglass + QuickCheck + tasty + tasty-quickcheck + x509 + x509-validation + ]; + benchmarkHaskellDepends = [ + asn1-types + async + base + bytestring + cryptonite + data-default-class + gauge + hourglass + QuickCheck + tasty-quickcheck + x509 + x509-validation + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://github.com/vincenthz/hs-tls"; + description = "TLS/SSL protocol native implementation (Server and Client)"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab