summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/gitlike-commands/default.nix
blob: e1fb2f8d298d223d43de16a347f485f7de045a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "gitlike-commands";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "unixorn";
    repo = "gitlike-commands";
    tag = "v${version}";
    hash = "sha256-Z0l8nCKov1iMJvI3YTHvg0ey+oPju3rgaKtmk6OX44g=";
  };

  nativeBuildInputs = [ poetry-core ];

  # Module has no real tests
  doCheck = false;

  pythonImportsCheck = [ "gitlike_commands" ];

  meta = {
    description = "Easy python module for creating git-style subcommand handling";
    homepage = "https://github.com/unixorn/gitlike-commands";
    changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}