python312Packages.yaspin: fix build, set pyproject = true

This commit is contained in:
Sandro Jäckel 2024-11-05 15:26:01 +01:00
parent 654de9387a
commit 0004c3c898
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -12,20 +12,24 @@
buildPythonPackage rec {
pname = "yaspin";
version = "3.1.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pavdmyt";
repo = pname;
repo = "yaspin";
rev = "refs/tags/v${version}";
hash = "sha256-4IWaAPqzGri7V8X2gL607F5GlWfIFDlBBpDwSe4sz9I=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [ termcolor ];
dependencies = [ termcolor ];
pythonRelaxDeps = [
"termcolor"
];
nativeCheckInputs = [
pytest-xdist