Merge pull request #60216 from exarkun/patch-4

service_identity: 17.0.0 -> 18.1.0
This commit is contained in:
Mario Rodas 2019-05-10 08:48:43 -05:00 committed by GitHub
commit 8f82435a3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,11 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, characteristic , pythonOlder
, cryptography
, ipaddress
, pyasn1 , pyasn1
, pyasn1-modules , pyasn1-modules
, pyopenssl
, idna , idna
, attrs , attrs
, pytest , pytest
@ -12,18 +13,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "service_identity"; pname = "service_identity";
version = "17.0.0"; version = "18.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pyca"; owner = "pyca";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1fn332fci776m5a7jx8c1jgbm27160ip5qvv8p01c242ag6by5g0"; sha256 = "1aw475ksmd4vpl8cwfdcsw2v063nbhnnxpy633sb75iqp9aazhlx";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
characteristic pyasn1 pyasn1-modules pyopenssl idna attrs pyasn1 pyasn1-modules idna attrs cryptography
]; ] ++ lib.optionals (pythonOlder "3.3") [ ipaddress ];
checkInputs = [ pytest ]; checkInputs = [ pytest ];
checkPhase = "py.test"; checkPhase = "py.test";