From 40cedc109eb5b1f9a571c119d8bddd095466df3f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Aug 2022 16:47:53 +0200 Subject: [PATCH] python310Packages.rq: update disabled --- .../development/python-modules/rq/default.nix | 31 +++++++++++++------ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix index d89f17a8923c..01c3202767b2 100644 --- a/pkgs/development/python-modules/rq/default.nix +++ b/pkgs/development/python-modules/rq/default.nix @@ -1,29 +1,42 @@ -{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }: +{ lib +, fetchFromGitHub +, buildPythonPackage +, pythonOlder +, click +, redis +}: buildPythonPackage rec { pname = "rq"; version = "1.11"; - disabled = isPy27; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "rq"; repo = "rq"; rev = "refs/tags/v${version}"; - sha256 = "sha256-fv+b5WmODaQkd8T+O8MuJ+XVC3dQ5hZwxMHtBBuqQ7Y="; + hash = "sha256-fv+b5WmODaQkd8T+O8MuJ+XVC3dQ5hZwxMHtBBuqQ7Y="; }; - # test require a running redis rerver, which is something we can't do yet + propagatedBuildInputs = [ + click + redis + ]; + + # Tests require a running Redis rerver doCheck = false; - pythonImportsCheck = [ "rq" ]; - - propagatedBuildInputs = [ click redis ]; + pythonImportsCheck = [ + "rq" + ]; meta = with lib; { - description = "A simple, lightweight library for creating background jobs, and processing them"; + description = "Library for creating background jobs and processing them"; homepage = "https://github.com/nvie/rq/"; - maintainers = with maintainers; [ mrmebelman ]; license = licenses.bsd2; + maintainers = with maintainers; [ mrmebelman ]; }; }