forked from mirrors/nixpkgs
Merge pull request #187742 from r-ryantm/auto-update/python3.10-rq
python310Packages.rq: 1.10.1 -> 1.11
This commit is contained in:
commit
fb92201c7b
|
@ -1,29 +1,42 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, click
|
||||
, redis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rq";
|
||||
version = "1.10.1";
|
||||
disabled = isPy27;
|
||||
version = "1.11";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rq";
|
||||
repo = "rq";
|
||||
rev = "v${version}";
|
||||
sha256 = "1f4fi1rvn97d2b524q45k6s10b007pr23k0mf44q7hy8q4vnjmh5";
|
||||
rev = "refs/tags/v${version}";
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue