python312Packages.kneaddata: init at 0.7.7-alpha (#340230)
[NixPkgs.git] / pkgs / development / python-modules / pytest-click / default.nix
blob2a970b16e7e02abb14872a7b2c61c9c75f4f0e2a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytest,
7   click,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-click";
13   version = "1.1.0";
14   format = "setuptools";
15   disabled = pythonOlder "3.5";
17   src = fetchFromGitHub {
18     owner = "Stranger6667";
19     repo = "pytest-click";
20     rev = "v${version}";
21     hash = "sha256-A/RF+SgPu2yYF3eHEFiZwKJW2VwQ185Ln6S3wn2cS0k=";
22   };
24   buildInputs = [ pytest ];
26   propagatedBuildInputs = [ click ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   meta = with lib; {
31     description = "pytest plugin for click";
32     homepage = "https://github.com/Stranger6667/pytest-click";
33     changelog = "https://github.com/Stranger6667/pytest-click/releases/tag/v${version}";
34     license = licenses.mit;
35     maintainers = [ ];
36   };