pythonPackages.python-openid: init at 2.2.5

This commit is contained in:
Chris Ostrouchov 2019-07-18 18:41:03 -04:00 committed by Ariel
parent a380071085
commit 995d4b256e
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, nose
}:
buildPythonPackage rec {
pname = "python-openid";
version = "2.2.5";
disabled = !isPy27;
src = fetchFromGitHub {
owner = "openid";
repo = pname;
rev = version;
sha256 = "198800ka2xyjz4yi2zm23l2a0knmqzxb4wj1nhqps70jz8mwg5mz";
};
checkInputs = [
nose
];
checkPhase = ''
nosetests
'';
# most tests require network access
doCheck = false;
meta = with lib; {
description = "OpenID support for servers and consumers";
homepage = https://github.com/openid/python-openid;
license = licenses.asl20;
maintainers = with maintainers; [ costrouc ];
};
}

View File

@ -1151,6 +1151,8 @@ in {
python3-openid = callPackage ../development/python-modules/python3-openid { };
python-openid = callPackage ../development/python-modules/python-openid { };
python-packer = callPackage ../development/python-modules/python-packer { };
python-periphery = callPackage ../development/python-modules/python-periphery { };