Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / asciitree / default.nix
blob323e1fbf873940cb51e8708a88c156f915962ae1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest
5 }:
7 buildPythonPackage rec {
8   pname = "asciitree";
9   version = "0.3.3";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "mbr";
14     repo = pname;
15     rev = version;
16     sha256 = "071wlpyi8pa262sj9xdy0zbj163z84dasxad363z3sfndqxw78h1";
17   };
19   nativeCheckInputs = [
20     pytest
21   ];
23   checkPhase = ''
24     pytest
25   '';
27   meta = with lib; {
28     description = "Draws ASCII trees";
29     homepage = "https://github.com/mbr/asciitree";
30     license = licenses.mit;
31     maintainers = [ ];
32   };