depot/third_party/nixpkgs/pkgs/development/python-modules/click-aliases/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

37 lines
755 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
click,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "click-aliases";
version = "1.0.5";
pyproject = true;
src = fetchFromGitHub {
owner = "click-contrib";
repo = "click-aliases";
rev = "v${version}";
hash = "sha256-vR5MUbgQfgownnq/VuEB/Jreibh/SB8wbDWGOmareRU=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "click_aliases" ];
meta = with lib; {
homepage = "https://github.com/click-contrib/click-aliases";
description = "Enable aliases for click";
license = licenses.mit;
maintainers = with maintainers; [ panicgh ];
};
}