depot/third_party/nixpkgs/pkgs/development/python-modules/seedir/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

41 lines
919 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
natsort,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "seedir";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "earnestt1234";
repo = "seedir";
rev = "refs/tags/v${version}";
hash = "sha256-ilL2KKN5sJclVcStO/kZoacsPoMgcFW1/8M/PQjxw/U=";
};
build-system = [ setuptools ];
dependencies = [ natsort ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "seedir" ];
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 = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "seedir";
};
}