about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/tls/1.2.3.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/tls/1.2.3.nix')
-rw-r--r--pkgs/development/libraries/haskell/tls/1.2.3.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/tls/1.2.3.nix b/pkgs/development/libraries/haskell/tls/1.2.3.nix
new file mode 100644
index 000000000000..5906413796db
--- /dev/null
+++ b/pkgs/development/libraries/haskell/tls/1.2.3.nix
@@ -0,0 +1,31 @@
+{ cabal, asn1Encoding, asn1Types, byteable, cereal, cipherAes
+, cipherRc4, cprngAes, cryptohash, cryptoNumbers, cryptoPubkey
+, cryptoPubkeyTypes, cryptoRandom, dataDefaultClass, mtl, network
+, QuickCheck, testFramework, testFrameworkQuickcheck2, time, x509
+, x509Store, x509Validation
+}:
+
+cabal.mkDerivation (self: {
+  pname = "tls";
+  version = "1.2.3";
+  sha256 = "0vv81z5m223b90zzfp5dk376fh8yngyd8h9anrxjrqb4f3bycaxg";
+  buildDepends = [
+    asn1Encoding asn1Types byteable cereal cipherAes cipherRc4
+    cryptohash cryptoNumbers cryptoPubkey cryptoPubkeyTypes
+    cryptoRandom dataDefaultClass mtl network x509 x509Store
+    x509Validation
+  ];
+  testDepends = [
+    cereal cprngAes cryptoPubkey cryptoRandom dataDefaultClass mtl
+    QuickCheck testFramework testFrameworkQuickcheck2 time x509
+    x509Validation
+  ];
+  doCheck = false;
+  meta = {
+    homepage = "http://github.com/vincenthz/hs-tls";
+    description = "TLS/SSL protocol native implementation (Server and Client)";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+    maintainers = [ self.stdenv.lib.maintainers.andres ];
+  };
+})