2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
wheel,
|
|
|
|
redis,
|
2023-02-16 17:41:37 +00:00
|
|
|
}:
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "huey";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.5.0";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
format = "pyproject";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coleifer";
|
|
|
|
repo = pname;
|
2023-02-16 17:41:37 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-t767eqZ6U12mG8nWEYC9Hoq/jW2yfrPkCxB3/xLKQww=";
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
propagatedBuildInputs = [ redis ];
|
|
|
|
|
|
|
|
# connects to redis
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-02-16 17:41:37 +00:00
|
|
|
changelog = "https://github.com/coleifer/huey/blob/${src.rev}/CHANGELOG.md";
|
2020-05-15 21:57:56 +00:00
|
|
|
description = "A little task queue for python";
|
|
|
|
homepage = "https://github.com/coleifer/huey";
|
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = [ ];
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
}
|