summary refs log tree commit diff
path: root/pkgs/development/python-modules/trustme
diff options
context:
space:
mode:
authorSpencer Baugh <sbaugh@catern.com>2018-05-11 16:38:30 +0000
committerSpencer Baugh <sbaugh@catern.com>2018-05-11 16:39:15 +0000
commitc983bbb557d5d201015d71868796777fab46d52b (patch)
tree9899a49b6bfe6a8ee937fb72f7ef7143ade2824c /pkgs/development/python-modules/trustme
parent46fa7ab6863326af795ab34e96cce2719f4961f2 (diff)
downloadnixpkgs-c983bbb557d5d201015d71868796777fab46d52b.tar
nixpkgs-c983bbb557d5d201015d71868796777fab46d52b.tar.gz
nixpkgs-c983bbb557d5d201015d71868796777fab46d52b.tar.bz2
nixpkgs-c983bbb557d5d201015d71868796777fab46d52b.tar.lz
nixpkgs-c983bbb557d5d201015d71868796777fab46d52b.tar.xz
nixpkgs-c983bbb557d5d201015d71868796777fab46d52b.tar.zst
nixpkgs-c983bbb557d5d201015d71868796777fab46d52b.zip
pythonPackages.trustme: init at 0.4.0
Diffstat (limited to 'pkgs/development/python-modules/trustme')
-rw-r--r--pkgs/development/python-modules/trustme/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/trustme/default.nix b/pkgs/development/python-modules/trustme/default.nix
new file mode 100644
index 00000000000..0c3ccb5258e
--- /dev/null
+++ b/pkgs/development/python-modules/trustme/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildPythonPackage, fetchPypi, cryptography, pytest, pyopenssl, service-identity }:
+
+buildPythonPackage rec {
+  pname = "trustme";
+  version = "0.4.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1215vr6l6c0fzsv5gyay82fxd4fidvq2rd94wvjrljs6h2wajazk";
+  };
+
+  checkInputs = [ pytest pyopenssl service-identity ];
+  checkPhase = ''
+    py.test
+  '';
+  propagatedBuildInputs = [
+    cryptography
+  ];
+
+  meta = {
+    description = "#1 quality TLS certs while you wait, for the discerning tester";
+    homepage = https://github.com/python-trio/trustme;
+    license = with lib.licenses; [ mit asl20 ];
+    maintainers = with lib.maintainers; [ catern ];
+  };
+}