pythonPackages.python-openid: init at 2.2.5
This commit is contained in:
parent
a380071085
commit
995d4b256e
38
pkgs/development/python-modules/python-openid/default.nix
Normal file
38
pkgs/development/python-modules/python-openid/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user