nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytest,
6 click,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-click";
12 version = "1.1.0";
13 format = "setuptools";
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 = [ click ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 meta = {
29 description = "Pytest plugin for click";
30 homepage = "https://github.com/Stranger6667/pytest-click";
31 changelog = "https://github.com/Stranger6667/pytest-click/releases/tag/v${version}";
32 license = lib.licenses.mit;
33 maintainers = [ ];
34 };
35}