pythonPackages.asciitree: init at 0.3.3

This commit is contained in:
Chris Ostrouchov 2019-07-12 23:32:37 -04:00
parent 8671386768
commit ffc44dccdb
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
}:
buildPythonPackage rec {
pname = "asciitree";
version = "0.3.3";
src = fetchFromGitHub {
owner = "mbr";
repo = pname;
rev = version;
sha256 = "071wlpyi8pa262sj9xdy0zbj163z84dasxad363z3sfndqxw78h1";
};
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Draws ASCII trees";
homepage = https://github.com/mbr/asciitree;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -177,6 +177,8 @@ in {
asciimatics = callPackage ../development/python-modules/asciimatics { };
asciitree = callPackage ../development/python-modules/asciitree { };
ase = callPackage ../development/python-modules/ase { };
asn1crypto = callPackage ../development/python-modules/asn1crypto { };