btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / ilcli / default.nix
blobf2cb741931db99b1e8fe33699296112279f32bb9
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   pytestCheckHook,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "ilcli";
11   version = "0.3.2";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "cloudant";
16     repo = "ilcli";
17     # no tags
18     rev = "2c033240a18603dd99c2dd8f6185ad0f0169c8c7";
19     hash = "sha256-6aLkzpeS1xeIbTwFFIT7V1KWOaFLLq3opjIxnUuXOBE=";
20   };
22   build-system = [ setuptools ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "ilcli" ];
28   meta = {
29     description = "I like command-line interfaces";
30     homepage = "https://github.com/cloudant/ilcli";
31     license = lib.licenses.asl20;
32     maintainers = with lib.maintainers; [ tochiaha ];
33   };