feat(python): add django-cas-ng

no pythonImportsCheck :(
This commit is contained in:
catvayor 2024-10-25 22:14:45 +02:00
parent d3026a1291
commit 979c113fc4
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View 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; [ ];
};
}