nixpkgs/pkgs/development/python-modules/click-plugins/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

29 lines
610 B
Nix

{ lib, buildPythonPackage, fetchPypi,
click, pytest
}:
buildPythonPackage rec {
pname = "click-plugins";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "46ab999744a9d831159c3411bb0c79346d94a444df9a3a3742e9ed63645f264b";
};
propagatedBuildInputs = [
click
];
nativeCheckInputs = [
pytest
];
meta = with lib; {
description = "An extension module for click to enable registering CLI commands";
homepage = "https://github.com/click-contrib/click-plugins";
license = licenses.bsd3;
maintainers = with maintainers; [ knedlsepp ];
};
}