Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / gitlike-commands / default.nix
blobc5e8ab506696fc6c5b6dfcb0d2ce098789e5aef6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "gitlike-commands";
10   version = "0.3.0";
11   pyproject = true;
13   disabled = pythonOlder "3.9";
15   src = fetchFromGitHub {
16     owner = "unixorn";
17     repo = "gitlike-commands";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-Z0l8nCKov1iMJvI3YTHvg0ey+oPju3rgaKtmk6OX44g=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   # Module has no real tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "gitlike_commands"
31   ];
33   meta = with lib; {
34     description = "Easy python module for creating git-style subcommand handling";
35     homepage = "https://github.com/unixorn/gitlike-commands";
36     changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/v${version}";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ fab ];
39   };