about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ilcli/default.nix
blob: f2cb741931db99b1e8fe33699296112279f32bb9 (plain) (blame)
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
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ilcli";
  version = "0.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "cloudant";
    repo = "ilcli";
    # no tags
    rev = "2c033240a18603dd99c2dd8f6185ad0f0169c8c7";
    hash = "sha256-6aLkzpeS1xeIbTwFFIT7V1KWOaFLLq3opjIxnUuXOBE=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "ilcli" ];

  meta = {
    description = "I like command-line interfaces";
    homepage = "https://github.com/cloudant/ilcli";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ tochiaha ];
  };
}