mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
pythonPackages.asciitree: init at 0.3.3
This commit is contained in:
parent
8671386768
commit
ffc44dccdb
32
pkgs/development/python-modules/asciitree/default.nix
Normal file
32
pkgs/development/python-modules/asciitree/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user