python310Packages.seedir: init at 0.4.2

This commit is contained in:
Fabian Affolter
2022-12-25 16:27:46 +01:00
parent f40a383b2f
commit 8906a6fc0a
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, natsort
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "seedir";
version = "0.4.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "earnestt1234";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-ioez5lBNyiBK3poL2Px3KtCQeM+Gh2d4iD3SoAIHFAk=";
};
propagatedBuildInputs = [
natsort
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"seedir"
];
pytestFlagsArray = [
"tests/tests.py"
];
meta = with lib; {
description = "Module for for creating, editing, and reading folder tree diagrams";
homepage = "https://github.com/earnestt1234/seedir";
changelog = "https://github.com/earnestt1234/seedir/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -10173,6 +10173,8 @@ self: super: with self; {
securetar = callPackage ../development/python-modules/securetar { };
seedir = callPackage ../development/python-modules/seedir { };
seekpath = callPackage ../development/python-modules/seekpath { };
segments = callPackage ../development/python-modules/segments { };