3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/math/sage/python-openid.nix
Timo Kaufmann ff8338343b maintainers: create sage team
Maintaining all the packages whose updates might break some aspect of
sage.

For reference:
https://github.com/NixOS/nixpkgs/pull/103810#issuecomment-727536510
2020-11-18 21:27:37 +01:00

41 lines
794 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, django
, nose
, twill
, pycrypto
}:
buildPythonPackage rec {
pname = "python-openid";
version = "2.2.5";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj";
};
propagatedBuildInputs = [
pycrypto
];
# Cannot access the djopenid example module.
# I don't know how to fix that (adding the examples dir to PYTHONPATH doesn't work)
doCheck = false;
checkInputs = [ nose django twill ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
description = "OpenID library for Python";
license = licenses.asl20;
maintainers = teams.sage.members;
homepage = "https://github.com/openid/python-openid/";
};
}