Commit 187496d9 authored by Maksym Balatsko's avatar Maksym Balatsko Committed by Yt
Browse files

python3Packages.treelib: init at 1.7.0

parent 12919612
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "treelib";
  version = "1.7.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "caesar0301";
    repo = "treelib";
    rev = "v${version}";
    hash = "sha256-FIdJWpkOmUVZb+IkYocu1nn+oSPROrkcHeiw9wZupgM=";
  };

  propagatedBuildInputs = [
    six
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "treelib" ];

  meta = with lib; {
    description = "An efficient implementation of tree data structure in python 2/3";
    homepage = "https://github.com/caesar0301/treelib";
    changelog = "https://github.com/caesar0301/treelib/releases/tag/${src.rev}";
    license = licenses.asl20;
    maintainers = with maintainers; [ mbalatsko ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13259,6 +13259,8 @@ self: super: with self; {
  tree-sitter = callPackage ../development/python-modules/tree-sitter { };
  treelib = callPackage ../development/python-modules/treelib { };
  treelog = callPackage ../development/python-modules/treelog { };
  treeo = callPackage ../development/python-modules/treeo { };