Loading pkgs/development/python-modules/django-rq/default.nix +7 −11 Original line number Diff line number Diff line Loading @@ -8,23 +8,22 @@ redis, rq, prometheus-client, sentry-sdk, pytest-django, pytestCheckHook, pyyaml, redisTestHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "django-rq"; version = "3.2.2"; version = "4.0.1"; pyproject = true; src = fetchFromGitHub { owner = "rq"; repo = "django-rq"; tag = "v${version}"; hash = "sha256-vKvEFySTgIWqe6RYnl3POtjCEbCJZsRKL2KcRs9bv30="; tag = "v${finalAttrs.version}"; hash = "sha256-7V3kZVK9YsJDYrME4LHc1+U2lk1qBJU8Vza7o3JzuU0="; }; build-system = [ hatchling ]; Loading @@ -37,11 +36,8 @@ buildPythonPackage rec { optional-dependencies = { prometheus = [ prometheus-client ]; sentry = [ sentry-sdk ]; }; pythonImportsCheck = [ "django_rq" ]; # redis hook does not support darwin doCheck = !stdenv.hostPlatform.isDarwin; Loading @@ -51,7 +47,7 @@ buildPythonPackage rec { pyyaml redisTestHook ] ++ lib.concatAttrValues optional-dependencies; ++ lib.concatAttrValues finalAttrs.finalPackage.optional-dependencies; preCheck = '' export DJANGO_SETTINGS_MODULE=tests.settings Loading @@ -60,8 +56,8 @@ buildPythonPackage rec { meta = { description = "Simple app that provides django integration for RQ (Redis Queue)"; homepage = "https://github.com/rq/django-rq"; changelog = "https://github.com/rq/django-rq/releases/tag/${src.tag}"; changelog = "https://github.com/rq/django-rq/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; } }) Loading
pkgs/development/python-modules/django-rq/default.nix +7 −11 Original line number Diff line number Diff line Loading @@ -8,23 +8,22 @@ redis, rq, prometheus-client, sentry-sdk, pytest-django, pytestCheckHook, pyyaml, redisTestHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "django-rq"; version = "3.2.2"; version = "4.0.1"; pyproject = true; src = fetchFromGitHub { owner = "rq"; repo = "django-rq"; tag = "v${version}"; hash = "sha256-vKvEFySTgIWqe6RYnl3POtjCEbCJZsRKL2KcRs9bv30="; tag = "v${finalAttrs.version}"; hash = "sha256-7V3kZVK9YsJDYrME4LHc1+U2lk1qBJU8Vza7o3JzuU0="; }; build-system = [ hatchling ]; Loading @@ -37,11 +36,8 @@ buildPythonPackage rec { optional-dependencies = { prometheus = [ prometheus-client ]; sentry = [ sentry-sdk ]; }; pythonImportsCheck = [ "django_rq" ]; # redis hook does not support darwin doCheck = !stdenv.hostPlatform.isDarwin; Loading @@ -51,7 +47,7 @@ buildPythonPackage rec { pyyaml redisTestHook ] ++ lib.concatAttrValues optional-dependencies; ++ lib.concatAttrValues finalAttrs.finalPackage.optional-dependencies; preCheck = '' export DJANGO_SETTINGS_MODULE=tests.settings Loading @@ -60,8 +56,8 @@ buildPythonPackage rec { meta = { description = "Simple app that provides django integration for RQ (Redis Queue)"; homepage = "https://github.com/rq/django-rq"; changelog = "https://github.com/rq/django-rq/releases/tag/${src.tag}"; changelog = "https://github.com/rq/django-rq/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; } })