43 lines
783 B
Nix
43 lines
783 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
wheel,
|
|
lxml,
|
|
requests,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-cas";
|
|
version = "1.6.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-cas";
|
|
repo = "python-cas";
|
|
rev = "v${version}";
|
|
hash = "sha256-0lpjG/Sma0tJGtahiFE1CjvTyswrBUp+F6f1S65b+lk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
requests
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [ "cas" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python CAS (Central Authentication Service) client library support CAS 1.0/2.0/3.0";
|
|
homepage = "https://github.com/python-cas/python-cas";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|