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