mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
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>
33 lines
641 B
Nix
33 lines
641 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
click,
|
|
pytest,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "click-plugins";
|
|
version = "1.1.1.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "click_plugins";
|
|
inherit version;
|
|
sha256 = "sha256-1685hKmdJDwTGqGoKDMedjD0qIqXQf0FySeyBLz5ImE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ click ];
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
|
|
meta = {
|
|
description = "Extension module for click to enable registering CLI commands";
|
|
homepage = "https://github.com/click-contrib/click-plugins";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|