2019-07-13 04:32:37 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2024-05-06 20:21:12 +01:00
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
2019-07-13 04:32:37 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asciitree";
|
|
|
|
version = "0.3.3";
|
2024-05-06 20:21:12 +01:00
|
|
|
pyproject = true;
|
2019-07-13 04:32:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mbr";
|
2024-05-06 20:21:12 +01:00
|
|
|
repo = "asciitree";
|
2019-07-13 04:32:37 +01:00
|
|
|
rev = version;
|
2024-05-06 20:21:12 +01:00
|
|
|
hash = "sha256-AaLDO27W6fGHGU11rRpBf5gg1we+9SS1MEJdFP2lPBw=";
|
2019-07-13 04:32:37 +01:00
|
|
|
};
|
|
|
|
|
2024-05-06 20:21:12 +01:00
|
|
|
build-system = [ setuptools ];
|
2019-07-13 04:32:37 +01:00
|
|
|
|
2024-05-06 20:21:12 +01:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2019-07-13 04:32:37 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Draws ASCII trees";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mbr/asciitree";
|
2019-07-13 04:32:37 +01:00
|
|
|
license = licenses.mit;
|
2023-06-30 16:53:25 +01:00
|
|
|
maintainers = [ ];
|
2019-07-13 04:32:37 +01:00
|
|
|
};
|
|
|
|
}
|