depot/third_party/nixpkgs/pkgs/development/python-modules/click-aliases/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

42 lines
765 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 ];
};
}