23 buildPythonPackage rec {
28 disabled = pythonOlder "3.6";
30 src = fetchFromGitHub {
33 rev = "refs/tags/v${version}";
34 hash = "sha256-gFSrAl3QGoJEJfvTTvLQgViPPjeJ6BfvgEwgLLo+uAA=";
37 # fixes empty version string
38 # analog to https://github.com/NixOS/nixpkgs/pull/171200
39 patches = [ ./pep-621.patch ];
46 propagatedBuildInputs = [
60 ] ++ django-redis.optional-dependencies.hiredis;
62 pythonImportsCheck = [ "django_q" ];
65 ${pkgs.redis}/bin/redis-server &
73 # don't bother with two more servers to test
79 doCheck = !stdenv.hostPlatform.isDarwin;
82 description = "Multiprocessing distributed task queue for Django";
83 homepage = "https://django-q.readthedocs.org";
84 changelog = "https://github.com/Koed00/django-q/releases/tag/v${version}";
85 license = licenses.mit;
86 maintainers = with maintainers; [ gador ];
87 # django-q is unmaintained at the moment
88 # https://github.com/Koed00/django-q/issues/733
89 broken = lib.versionAtLeast redis.version "5";