python.pkgs.openid: init at 2.2.5/3.1.0
This commit is contained in:
parent
c8987a72e4
commit
2e41891e6d
20
pkgs/development/python-modules/python-openid/default.nix
Normal file
20
pkgs/development/python-modules/python-openid/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-openid";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "2.2.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "OpenID support for modern servers and consumers";
|
||||||
|
homepage = http://github.com/openid/python-openid;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
22
pkgs/development/python-modules/python3-openid/default.nix
Normal file
22
pkgs/development/python-modules/python3-openid/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, defusedxml }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python3-openid";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "3.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "00l5hrjh19740w00b3fnsqldnla41wbr2rics09dl4kyd1fkd3b2";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ defusedxml ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "OpenID support for modern servers and consumers";
|
||||||
|
homepage = http://github.com/necaris/python3-openid;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
@ -408,6 +408,10 @@ in {
|
|||||||
|
|
||||||
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
||||||
|
|
||||||
|
python-openid = callPackage (if isPy3k
|
||||||
|
then ../development/python-modules/python3-openid
|
||||||
|
else ../development/python-modules/python-openid) { };
|
||||||
|
|
||||||
python-sql = callPackage ../development/python-modules/python-sql { };
|
python-sql = callPackage ../development/python-modules/python-sql { };
|
||||||
|
|
||||||
python-stdnum = callPackage ../development/python-modules/python-stdnum { };
|
python-stdnum = callPackage ../development/python-modules/python-stdnum { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user