567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
41 lines
726 B
Nix
41 lines
726 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
wheel,
|
|
redis,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "huey";
|
|
version = "2.5.5";
|
|
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coleifer";
|
|
repo = "huey";
|
|
tag = version;
|
|
hash = "sha256-fpnaf0hk26Sm+d3pggW/GfT0oSbYpSm5xotejbOWeJY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [ redis ];
|
|
|
|
# connects to redis
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/coleifer/huey/blob/${src.tag}/CHANGELOG.md";
|
|
description = "Little task queue for python";
|
|
homepage = "https://github.com/coleifer/huey";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|