pythonPackages.trustme: refactor add idna as dependency needed downstream
This commit is contained in:
committed by
Frederik Rietdijk
parent
7e929898d7
commit
7523cd4f89
@@ -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 {
|
buildPythonPackage rec {
|
||||||
pname = "trustme";
|
pname = "trustme";
|
||||||
@@ -9,18 +19,25 @@ buildPythonPackage rec {
|
|||||||
sha256 = "103f8n0c60593r0z8hh1zvk1bagxwnhrv3203xpiiddwqxalr04b";
|
sha256 = "103f8n0c60593r0z8hh1zvk1bagxwnhrv3203xpiiddwqxalr04b";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pyopenssl service-identity ];
|
checkInputs = [
|
||||||
checkPhase = ''
|
pytest
|
||||||
py.test
|
pyopenssl
|
||||||
'';
|
service-identity
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cryptography
|
cryptography
|
||||||
|
idna
|
||||||
] ++ lib.optionals (!isPy3k) [
|
] ++ lib.optionals (!isPy3k) [
|
||||||
futures
|
futures
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
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;
|
homepage = https://github.com/python-trio/trustme;
|
||||||
license = with lib.licenses; [ mit asl20 ];
|
license = with lib.licenses; [ mit asl20 ];
|
||||||
maintainers = with lib.maintainers; [ catern ];
|
maintainers = with lib.maintainers; [ catern ];
|
||||||
|
|||||||
Reference in New Issue
Block a user