python312Packages.yaspin: fix build, set pyproject = true
This commit is contained in:
parent
654de9387a
commit
0004c3c898
@ -12,20 +12,24 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "yaspin";
|
pname = "yaspin";
|
||||||
version = "3.1.0";
|
version = "3.1.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pavdmyt";
|
owner = "pavdmyt";
|
||||||
repo = pname;
|
repo = "yaspin";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-4IWaAPqzGri7V8X2gL607F5GlWfIFDlBBpDwSe4sz9I=";
|
hash = "sha256-4IWaAPqzGri7V8X2gL607F5GlWfIFDlBBpDwSe4sz9I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ termcolor ];
|
dependencies = [ termcolor ];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"termcolor"
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
|
Loading…
Reference in New Issue
Block a user