depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-click/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

37 lines
803 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytest
, click
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-click";
version = "1.1.0";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "Stranger6667";
repo = "pytest-click";
rev = "v${version}";
sha256 = "sha256-A/RF+SgPu2yYF3eHEFiZwKJW2VwQ185Ln6S3wn2cS0k=";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [
click
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "pytest plugin for click";
homepage = "https://github.com/Stranger6667/pytest-click";
changelog = "https://github.com/Stranger6667/pytest-click/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
};
}