Files
nixpkgs/pkgs/development/python-modules/clize/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

59 lines
1000 B
Nix

{
lib,
attrs,
buildPythonPackage,
docutils,
fetchPypi,
od,
pygments,
python-dateutil,
pythonOlder,
repeated-test,
setuptools-scm,
sigtools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "clize";
version = "5.0.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BH9aRHNgJxirG4VnKn4VMDOHF41agcJ13EKd+sHstRA=";
};
build-system = [ setuptools-scm ];
dependencies = [
attrs
docutils
od
sigtools
];
optional-dependencies = {
datetime = [ python-dateutil ];
};
nativeCheckInputs = [
pygments
unittestCheckHook
python-dateutil
repeated-test
];
pythonImportsCheck = [ "clize" ];
meta = {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
changelog = "https://github.com/epsy/clize/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}