blob: f12239d1a6f1e813104d08c18eac9fc6a4aa1291 (
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
35
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "simple-term-menu";
version = "1.6.6";
pyproject = true;
src = fetchFromGitHub {
owner = "IngoMeyer441";
repo = "simple-term-menu";
tag = "v${version}";
hash = "sha256-nfMqtyUalt/d/wTyRUlu5x4Q349ARY8hDMi8Ui4cTI4=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "simple_term_menu" ];
# no unit tests in the upstream
doCheck = false;
meta = {
description = "Python package which creates simple interactive menus on the command line";
mainProgram = "simple-term-menu";
homepage = "https://github.com/IngoMeyer441/simple-term-menu";
license = lib.licenses.mit;
changelog = "https://github.com/IngoMeyer441/simple-term-menu/releases/tag/v${version}";
maintainers = with lib.maintainers; [ smrehman ];
};
}
|