nixpkgs/pkgs/development/python-modules/pytest-click/default.nix
Drew Risinger 979a6b6c97 python3Packages.pytest-click: 0.3 -> 1.0.2
Drop Python 2.X support
2021-02-12 09:12:43 -05:00

37 lines
780 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytest
, click
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-click";
version = "1.0.2";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "Stranger6667";
repo = "pytest-click";
rev = "v${version}";
sha256 = "197nvlqlyfrqpy5lrkmfh1ywpr6j9zipxl9d7syg2a2n7jz3a8rj";
};
propagatedBuildInputs = [
pytest
click
];
checkInputs = [ 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 ];
};
}