2024-09-16 17:56:53 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
wheel,
|
|
|
|
django-allauth,
|
|
|
|
python-cas,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-allauth-cas";
|
|
|
|
version = "unstable-2024-01-25";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jlucasp25";
|
|
|
|
repo = "django-allauth-cas";
|
|
|
|
rev = "77e02f3796cd564a9a0c48b5b568b14d4d4c5687";
|
|
|
|
hash = "sha256-y/IquXl/4+9MJmsgbWtPun3tBbRJ4kJFzWo5c+5WeHk=";
|
|
|
|
};
|
|
|
|
|
2024-09-18 22:14:40 +02:00
|
|
|
patches = [
|
|
|
|
./01-setup.patch
|
|
|
|
./02-registry.patch
|
|
|
|
];
|
2024-09-16 17:56:53 +02:00
|
|
|
|
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
django-allauth
|
|
|
|
python-cas
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"allauth_cas"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CAS support for django-allauth";
|
|
|
|
homepage = "https://github.com/jlucasp25/django-allauth-cas";
|
|
|
|
changelog = "https://github.com/jlucasp25/django-allauth-cas/blob/${src.rev}/CHANGELOG.rst";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|