about summary refs log tree commit diff
path: root/pkgs/development/python-modules/asciitree/default.nix
blob: 2067936536657c5146d9968ec12b78420272da3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "asciitree";
  version = "0.3.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mbr";
    repo = "asciitree";
    rev = version;
    hash = "sha256-AaLDO27W6fGHGU11rRpBf5gg1we+9SS1MEJdFP2lPBw=";
  };

  build-system = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Draws ASCII trees";
    homepage = "https://github.com/mbr/asciitree";
    license = licenses.mit;
    maintainers = [ ];
  };
}