depot/third_party/nixpkgs/pkgs/development/python-modules/click-didyoumean/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
733 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
click,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "click-didyoumean";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "click-contrib";
repo = "click-didyoumean";
rev = "refs/tags/v${version}";
hash = "sha256-C8OrJUfBFiDM/Jnf1iJo8pGEd0tUhar1vu4fVIfGzq8=";
};
build-system = [ poetry-core ];
dependencies = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Enable git-like did-you-mean feature in click";
homepage = "https://github.com/click-contrib/click-didyoumean";
license = licenses.mit;
maintainers = with maintainers; [ mbode ];
};
}