Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / asciitree / default.nix
blobad978efffb5f2636d23f03d612c98671752fc631
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest
5 }:
7 buildPythonPackage rec {
8   pname = "asciitree";
9   version = "0.3.3";
11   src = fetchFromGitHub {
12     owner = "mbr";
13     repo = pname;
14     rev = version;
15     sha256 = "071wlpyi8pa262sj9xdy0zbj163z84dasxad363z3sfndqxw78h1";
16   };
18   nativeCheckInputs = [
19     pytest
20   ];
22   checkPhase = ''
23     pytest
24   '';
26   meta = with lib; {
27     description = "Draws ASCII trees";
28     homepage = "https://github.com/mbr/asciitree";
29     license = licenses.mit;
30     maintainers = [ ];
31   };