47 lines
886 B
Nix
47 lines
886 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
wheel,
|
|
flake8,
|
|
lxml,
|
|
python-cas,
|
|
requests,
|
|
django,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-cas-ng";
|
|
version = "5.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "django-cas-ng";
|
|
repo = "django-cas-ng";
|
|
rev = "v${version}";
|
|
hash = "sha256-jGoros8HbSWCtWvw2ilttm0MtWtEZDUy5KWNfczJvWk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
flake8
|
|
lxml
|
|
python-cas
|
|
requests
|
|
django
|
|
];
|
|
|
|
# pythonImportsCheck = [ "django_cas_ng" ];
|
|
|
|
meta = with lib; {
|
|
description = "Django CAS 1.0/2.0/3.0 client authentication library, support Django 2.0, 2.1, 2.2, 3.0 and Python 3.5";
|
|
homepage = "https://github.com/django-cas-ng/django-cas-ng";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|