repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
asciitree
/
default.nix
blob
ad978efffb5f2636d23f03d612c98671752fc631
1
{ lib
2
, buildPythonPackage
3
, fetchFromGitHub
4
, pytest
5
}:
6
7
buildPythonPackage rec {
8
pname = "asciitree";
9
version = "0.3.3";
10
11
src = fetchFromGitHub {
12
owner = "mbr";
13
repo = pname;
14
rev = version;
15
sha256 = "071wlpyi8pa262sj9xdy0zbj163z84dasxad363z3sfndqxw78h1";
16
};
17
18
nativeCheckInputs = [
19
pytest
20
];
21
22
checkPhase = ''
23
pytest
24
'';
25
26
meta = with lib; {
27
description = "Draws ASCII trees";
28
homepage = "https://github.com/mbr/asciitree";
29
license = licenses.mit;
30
maintainers = [ ];
31
};
32
}