My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pytest-click/default.nix

37 lines
797 B

{ 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
];
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 ];
};
}