1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 natsort,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "seedir";
13 version = "0.5.1";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "earnestt1234";
20 repo = "seedir";
21 tag = "v${version}";
22 hash = "sha256-o2CUK00WdoYyLqbDlh+wa30Q23ZkWZC+RvGDCSiCwH4=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [ natsort ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 pythonImportsCheck = [ "seedir" ];
32
33 meta = with lib; {
34 description = "Module for for creating, editing, and reading folder tree diagrams";
35 homepage = "https://github.com/earnestt1234/seedir";
36 changelog = "https://github.com/earnestt1234/seedir/releases/tag/v${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];
39 mainProgram = "seedir";
40 };
41}