summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-click/default.nix
blob: a88f2e023a6243966bb854a92a48cedfd2df7f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytest,
  click,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pytest-click";
  version = "1.1.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Stranger6667";
    repo = "pytest-click";
    rev = "v${version}";
    hash = "sha256-A/RF+SgPu2yYF3eHEFiZwKJW2VwQ185Ln6S3wn2cS0k=";
  };

  buildInputs = [ pytest ];

  propagatedBuildInputs = [ click ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Pytest plugin for click";
    homepage = "https://github.com/Stranger6667/pytest-click";
    changelog = "https://github.com/Stranger6667/pytest-click/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}