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