mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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 {
|
buildPythonPackage rec {
|
||||||
pname = "rq";
|
pname = "rq";
|
||||||
version = "1.10.1";
|
version = "1.11";
|
||||||
disabled = isPy27;
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rq";
|
owner = "rq";
|
||||||
repo = "rq";
|
repo = "rq";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1f4fi1rvn97d2b524q45k6s10b007pr23k0mf44q7hy8q4vnjmh5";
|
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;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "rq" ];
|
pythonImportsCheck = [
|
||||||
|
"rq"
|
||||||
propagatedBuildInputs = [ click redis ];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
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/";
|
homepage = "https://github.com/nvie/rq/";
|
||||||
maintainers = with maintainers; [ mrmebelman ];
|
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ mrmebelman ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user