14 buildPythonPackage rec {
15 pname = "celery-singleton";
19 src = fetchFromGitHub {
21 repo = "celery-singleton";
23 hash = "sha256-fHlakxxjYIADELZdxIj6rvsZ/+1QfnKvAg3w5cdzvDc=";
27 # chore(poetry): use poetry-core
28 # https://github.com/steinitzu/celery-singleton/pull/54
30 name = "use-poetry-core.patch";
31 url = "https://github.com/steinitzu/celery-singleton/pull/54/commits/634a001c92a1dff1fae513fc95d733ea9b87e4cf.patch";
32 hash = "sha256-lXN4khwyL96pWyBS+iuSkGEkegv4HxYtym+6JUcPa94=";
36 build-system = [ poetry-core ];
49 pytestFlagsArray = [ "tests" ];
51 # Tests require a running Redis backend
57 "TestRaiseOnDuplicateConfig"
61 pythonImportsCheck = [ "celery_singleton" ];
64 description = "Seamlessly prevent duplicate executions of celery tasks";
65 homepage = "https://github.com/steinitzu/celery-singleton";
66 changelog = "https://github.com/steinitzu/celery-singleton/blob/${src.rev}/CHANGELOG.md";
67 license = licenses.mit;
68 maintainers = with maintainers; [ onny ];