My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/asciitree/default.nix

32 lines
546 B

{ 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 ];
};
}