mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 17:12:27 +00:00
python3Packages.cloup: modernize
This commit is contained in:
@@ -7,19 +7,19 @@
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cloup";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-Y3weYo/pjz8gpeRNpZGnK0K/VNfUUnGQvzntX2SvdYU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
dependencies = [ click ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -28,11 +28,12 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/janLuke/cloup";
|
||||
description = "Click extended with option groups, constraints, aliases, help themes";
|
||||
changelog = "https://github.com/janluke/cloup/releases/tag/v${version}";
|
||||
changelog = "https://github.com/janluke/cloup/releases/tag/v${finalAttrs.version}";
|
||||
longDescription = ''
|
||||
Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff.
|
||||
Enriches Click with option groups, constraints, command aliases, help sections for
|
||||
subcommands, themes for --help and other stuff.
|
||||
'';
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user