fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
755 B
Nix
37 lines
755 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
click,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "click-aliases";
|
|
version = "1.0.4";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "click-contrib";
|
|
repo = "click-aliases";
|
|
rev = "v${version}";
|
|
hash = "sha256-3/O5odibSjo5inlLCvUlotphhMVLBdaND/M2f40pMyM=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|