python312Packages.asciitree: use pyproject = true

This commit is contained in:
TomaSajt
2024-05-07 21:09:49 +02:00
parent a06938af6b
commit 81ddff3a5a
@@ -1,28 +1,29 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "asciitree";
version = "0.3.3";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "mbr";
repo = pname;
repo = "asciitree";
rev = version;
sha256 = "071wlpyi8pa262sj9xdy0zbj163z84dasxad363z3sfndqxw78h1";
hash = "sha256-AaLDO27W6fGHGU11rRpBf5gg1we+9SS1MEJdFP2lPBw=";
};
nativeCheckInputs = [
pytest
build-system = [
setuptools
];
checkPhase = ''
pytest
'';
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Draws ASCII trees";