Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / treelib / default.nix
blobcf32b37a2319519ee9411564ba0f10117a7378a8
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , six
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "treelib";
10   version = "1.7.0";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "caesar0301";
15     repo = "treelib";
16     rev = "v${version}";
17     hash = "sha256-FIdJWpkOmUVZb+IkYocu1nn+oSPROrkcHeiw9wZupgM=";
18   };
20   propagatedBuildInputs = [
21     six
22   ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "treelib" ];
28   meta = with lib; {
29     description = "An efficient implementation of tree data structure in python 2/3";
30     homepage = "https://github.com/caesar0301/treelib";
31     changelog = "https://github.com/caesar0301/treelib/releases/tag/${src.rev}";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ mbalatsko ];
34   };