2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
celery,
|
|
|
|
django,
|
|
|
|
pythonOlder,
|
2022-12-29 14:08:56 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-08-04 22:07:22 +00:00
|
|
|
pname = "django-celery-results";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.5.1";
|
2022-12-29 14:08:56 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-08-04 22:07:22 +00:00
|
|
|
pname = "django_celery_results";
|
|
|
|
inherit version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-PstxR/dz800DgbrGJGM3zkz4ii6nuCd07UjlGLZ7uP0=";
|
2022-12-29 14:08:56 +00:00
|
|
|
};
|
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
postPatch = ''
|
|
|
|
# Drop malformatted tests_require specification
|
|
|
|
sed -i '/tests_require=/d' setup.py
|
|
|
|
'';
|
|
|
|
|
2022-12-29 14:08:56 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
celery
|
|
|
|
django
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests need access to a database.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Celery result back end with django";
|
|
|
|
homepage = "https://github.com/celery/django-celery-results";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/celery/django-celery-results/blob/v{version}/Changelog";
|
2022-12-29 14:08:56 +00:00
|
|
|
license = licenses.bsd3;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-12-29 14:08:56 +00:00
|
|
|
};
|
|
|
|
}
|