mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python3Packages.treelib: init at 1.7.0
This commit is contained in:
parent
12919612b1
commit
187496d97f
35
pkgs/development/python-modules/treelib/default.nix
Normal file
35
pkgs/development/python-modules/treelib/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user