diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-05 15:18:05 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-05 15:18:05 +0100 |
commit | 5cebbd4be4a818386d2d24861a3c0386c3c242c0 (patch) | |
tree | e7a0aba2241baaa989ae84cdab4888488879bfd1 /pkgs/development/python-modules/django-q | |
parent | 973c505a0f2c723732b8cc966223451e218e1bfd (diff) |
python311Packages.django-q: mark as broken
Diffstat (limited to 'pkgs/development/python-modules/django-q')
-rw-r--r-- | pkgs/development/python-modules/django-q/default.nix | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/django-q/default.nix b/pkgs/development/python-modules/django-q/default.nix index 7cb06453a7a25..a22443a11a610 100644 --- a/pkgs/development/python-modules/django-q/default.nix +++ b/pkgs/development/python-modules/django-q/default.nix @@ -1,34 +1,45 @@ -{ arrow +{ lib +, stdenv +, arrow , blessed , buildPythonPackage , croniter , django -, django-redis , django-picklefield +, django-redis , fetchFromGitHub , future -, lib +, pkgs , poetry-core , pytest-django , pytest-mock , pytestCheckHook -, pkgs -, stdenv +, pythonOlder }: buildPythonPackage rec { pname = "django-q"; version = "1.3.9"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "Koed00"; repo = "django-q"; + rev = "refs/tags/v${version}"; hash = "sha256-gFSrAl3QGoJEJfvTTvLQgViPPjeJ6BfvgEwgLLo+uAA="; - rev = "v${version}"; }; - nativeBuildInputs = [ poetry-core ]; + # fixes empty version string + # analog to https://github.com/NixOS/nixpkgs/pull/171200 + patches = [ + ./pep-621.patch + ]; + + nativeBuildInputs = [ + poetry-core + ]; propagatedBuildInputs = [ django-picklefield @@ -38,10 +49,12 @@ buildPythonPackage rec { future ]; - # fixes empty version string - # analog to https://github.com/NixOS/nixpkgs/pull/171200 - patches = [ - ./pep-621.patch + nativeCheckInputs = [ + croniter + django-redis + pytest-django + pytest-mock + pytestCheckHook ]; pythonImportsCheck = [ @@ -57,14 +70,6 @@ buildPythonPackage rec { kill $REDIS_PID ''; - nativeCheckInputs = [ - croniter - django-redis - pytest-django - pytest-mock - pytestCheckHook - ]; - # don't bother with two more servers to test disabledTests = [ "test_disque" @@ -76,7 +81,11 @@ buildPythonPackage rec { meta = with lib; { description = "A multiprocessing distributed task queue for Django"; homepage = "https://django-q.readthedocs.org"; + changelog = "https://github.com/Koed00/django-q/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ gador ]; + # django-q is unmaintained at the moment + # https://github.com/Koed00/django-q/issues/733 + broken = true; }; } |