nixpkgs/pkgs/development/python-modules/huey/default.nix
2024-09-26 03:58:07 +00:00

41 lines
746 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
redis,
}:
buildPythonPackage rec {
pname = "huey";
version = "2.5.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "coleifer";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-0X4gUIFqkE4GLW5Eqbolpk7KZdsvjkRxD20YmLPG11A=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [ redis ];
# connects to redis
doCheck = false;
meta = with lib; {
changelog = "https://github.com/coleifer/huey/blob/${src.rev}/CHANGELOG.md";
description = "Little task queue for python";
homepage = "https://github.com/coleifer/huey";
license = licenses.mit;
maintainers = [ ];
};
}