1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 pytest,
7 click,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "pytest-click";
13 version = "1.1.0";
14 format = "setuptools";
15 disabled = pythonOlder "3.5";
16
17 src = fetchFromGitHub {
18 owner = "Stranger6667";
19 repo = "pytest-click";
20 rev = "v${version}";
21 hash = "sha256-A/RF+SgPu2yYF3eHEFiZwKJW2VwQ185Ln6S3wn2cS0k=";
22 };
23
24 buildInputs = [ pytest ];
25
26 propagatedBuildInputs = [ click ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
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 };
37}