diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-07-15 12:05:05 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-07-17 10:02:03 +0200 |
commit | 7523cd4f8937916ad75977116e6826462fb0f1fd (patch) | |
tree | 83ef0ae6a52295c41d19f429aeda8b6330923ff6 /pkgs/development/python-modules/trustme | |
parent | 7e929898d7c3ed6c274da84833c1aa593987af5b (diff) | |
download | nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.tar nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.tar.gz nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.tar.bz2 nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.tar.lz nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.tar.xz nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.tar.zst nixpkgs-7523cd4f8937916ad75977116e6826462fb0f1fd.zip |
pythonPackages.trustme: refactor add idna as dependency needed downstream
Diffstat (limited to 'pkgs/development/python-modules/trustme')
-rw-r--r-- | pkgs/development/python-modules/trustme/default.nix | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/trustme/default.nix b/pkgs/development/python-modules/trustme/default.nix index 6daa99aca6a..e2ba008d3a0 100644 --- a/pkgs/development/python-modules/trustme/default.nix +++ b/pkgs/development/python-modules/trustme/default.nix @@ -1,4 +1,14 @@ -{ lib, buildPythonPackage, fetchPypi, isPy3k, cryptography, futures, pytest, pyopenssl, service-identity }: +{ lib +, buildPythonPackage +, fetchPypi +, isPy3k +, cryptography +, futures +, pytest +, pyopenssl +, service-identity +, idna +}: buildPythonPackage rec { pname = "trustme"; @@ -9,18 +19,25 @@ buildPythonPackage rec { sha256 = "103f8n0c60593r0z8hh1zvk1bagxwnhrv3203xpiiddwqxalr04b"; }; - checkInputs = [ pytest pyopenssl service-identity ]; - checkPhase = '' - py.test - ''; + checkInputs = [ + pytest + pyopenssl + service-identity + ]; + propagatedBuildInputs = [ cryptography + idna ] ++ lib.optionals (!isPy3k) [ futures ]; + checkPhase = '' + pytest + ''; + meta = { - description = "#1 quality TLS certs while you wait, for the discerning tester"; + description = "High 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 ]; |