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 { buildPythonPackage rec {
pname = "huey"; pname = "huey";
version = "2.4.5"; version = "2.4.5";
format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "coleifer"; owner = "coleifer";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-7ZMkA5WzWJKSwvpOoZYQO9JgedCdxNGrkFuPmYm4aRE="; hash = "sha256-7ZMkA5WzWJKSwvpOoZYQO9JgedCdxNGrkFuPmYm4aRE=";
}; };
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [ redis ]; propagatedBuildInputs = [ redis ];
# connects to redis # connects to redis