Loading pkgs/development/python-modules/rq/default.nix +13 −9 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, buildPythonPackage, pythonOlder, # build-system hatchling, Loading @@ -12,10 +12,12 @@ redis, # tests addBinToPathHook, psutil, pytestCheckHook, redisTestHook, sentry-sdk, versionCheckHook, }: buildPythonPackage rec { Loading @@ -23,8 +25,6 @@ buildPythonPackage rec { version = "2.2"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "rq"; repo = "rq"; Loading @@ -40,26 +40,30 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ addBinToPathHook psutil pytestCheckHook redisTestHook sentry-sdk versionCheckHook ]; versionCheckProgramArg = "--version"; __darwinAllowLocalNetworking = true; disabledTests = [ # https://github.com/rq/rq/commit/fd261d5d8fc0fe604fa396ee6b9c9b7a7bb4142f "test_clean_large_registry" disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # PermissionError: [Errno 13] Permission denied: '/tmp/rq-tests.txt' "test_deleted_jobs_arent_executed" "test_suspend_worker_execution" ]; pythonImportsCheck = [ "rq" ]; meta = with lib; { meta = { description = "Library for creating background jobs and processing them"; homepage = "https://github.com/nvie/rq/"; changelog = "https://github.com/rq/rq/releases/tag/${src.tag}"; license = licenses.bsd2; maintainers = with maintainers; [ mrmebelman ]; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ mrmebelman ]; }; } Loading
pkgs/development/python-modules/rq/default.nix +13 −9 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, buildPythonPackage, pythonOlder, # build-system hatchling, Loading @@ -12,10 +12,12 @@ redis, # tests addBinToPathHook, psutil, pytestCheckHook, redisTestHook, sentry-sdk, versionCheckHook, }: buildPythonPackage rec { Loading @@ -23,8 +25,6 @@ buildPythonPackage rec { version = "2.2"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "rq"; repo = "rq"; Loading @@ -40,26 +40,30 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ addBinToPathHook psutil pytestCheckHook redisTestHook sentry-sdk versionCheckHook ]; versionCheckProgramArg = "--version"; __darwinAllowLocalNetworking = true; disabledTests = [ # https://github.com/rq/rq/commit/fd261d5d8fc0fe604fa396ee6b9c9b7a7bb4142f "test_clean_large_registry" disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # PermissionError: [Errno 13] Permission denied: '/tmp/rq-tests.txt' "test_deleted_jobs_arent_executed" "test_suspend_worker_execution" ]; pythonImportsCheck = [ "rq" ]; meta = with lib; { meta = { description = "Library for creating background jobs and processing them"; homepage = "https://github.com/nvie/rq/"; changelog = "https://github.com/rq/rq/releases/tag/${src.tag}"; license = licenses.bsd2; maintainers = with maintainers; [ mrmebelman ]; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ mrmebelman ]; }; }