1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
56 lines
952 B
Nix
56 lines
952 B
Nix
{
|
|
lib,
|
|
attrs,
|
|
buildPythonPackage,
|
|
docutils,
|
|
fetchPypi,
|
|
od,
|
|
pygments,
|
|
python-dateutil,
|
|
repeated-test,
|
|
setuptools-scm,
|
|
sigtools,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "clize";
|
|
version = "5.0.2";
|
|
pyproject = true;
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|