nixpkgs/pkgs/development/python-modules/huey/default.nix

41 lines
746 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
redis,
}:
buildPythonPackage rec {
pname = "huey";
version = "2.5.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "coleifer";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-0oiYmLOwUsZjq7mR0nXwS00VVsLWOXY25whw6262uEo=";
};
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 = [ ];
};
}