python310Packages.huey: use pyproject format

This commit is contained in:
Robert Schütz 2023-02-10 23:33:02 -08:00
parent e68d888d50
commit b43835bff7

View file

@ -1,16 +1,29 @@
{ lib, buildPythonPackage, fetchFromGitHub, redis }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
, redis
}:
buildPythonPackage rec {
pname = "huey";
version = "2.4.5";
format = "pyproject";
src = fetchFromGitHub {
owner = "coleifer";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-7ZMkA5WzWJKSwvpOoZYQO9JgedCdxNGrkFuPmYm4aRE=";
hash = "sha256-7ZMkA5WzWJKSwvpOoZYQO9JgedCdxNGrkFuPmYm4aRE=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [ redis ];
# connects to redis