try to be more precise about ignores

This commit is contained in:
Luke Granger-Brown 2022-12-29 14:08:56 +00:00
parent a3d4720129
commit 73912b2f60
2 changed files with 36 additions and 2 deletions

View file

@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
ops/secrets/ ops/secrets/
result
result-*
ops/vault/cfg/tf/ ops/vault/cfg/tf/
ops/vault/cfg/secrets.nix ops/vault/cfg/secrets.nix
@ -15,6 +13,7 @@ syntax: regexp
^go/trains/.*/start.sh$ ^go/trains/.*/start.sh$
^go/trains/.*/lukegb-trains.json$ ^go/trains/.*/lukegb-trains.json$
^py/icalfilter/config/.*$ ^py/icalfilter/config/.*$
^(.+/)?result(-([a-z]+|[0-9]+))?$
syntax: glob syntax: glob
*.sw? *.sw?

View file

@ -0,0 +1,35 @@
{ lib
, fetchPypi
, buildPythonPackage
, celery
, django
, pythonOlder
}:
buildPythonPackage rec {
pname = "django_celery_results";
version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dapRlw21aRy/JCxqD/UMjN9BniZc0Om3cjNdBkNsS5k=";
};
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";
license = licenses.bsd3;
maintainers = with maintainers; [ babariviere ];
};
}