about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/simple-term-menu/default.nix
blob: 9f21c327da978b8f0133705a693c85d5825d5b13 (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
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
}:

buildPythonPackage rec {
  pname = "simple-term-menu";
  version = "1.6.4";
  pyproject = true;

  disabled = pythonOlder "3.4";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-vpxdvY3xKkBLFM2Oldb8AtWMYOJVX2Xd3kF3fEh/s7k=";
  };

  nativeBuildInputs = [ setuptools ];

  pythonImportsCheck = [ "simple_term_menu" ];

  # no unit tests in the upstream
  doCheck = false;

  meta = with lib; {
    description = "A Python package which creates simple interactive menus on the command line";
    homepage = "https://github.com/IngoMeyer441/simple-term-menu";
    license = licenses.mit;
    changelog = "https://github.com/IngoMeyer441/simple-term-menu/releases/tag/v${version}";
    maintainers = with maintainers; [ smrehman ];
  };
}