feat(python): add django-cas-ng
no pythonImportsCheck :(
This commit is contained in:
parent
d3026a1291
commit
979c113fc4
1 changed files with 47 additions and 0 deletions
47
python-pkgs/django-cas-ng.nix
Normal file
47
python-pkgs/django-cas-ng.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
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; [ ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue