2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pythonOlder,
|
|
|
|
prompt-toolkit,
|
2023-03-24 00:07:29 +00:00
|
|
|
}:
|
2020-11-30 08:33:03 +00:00
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildPythonPackage rec {
|
2020-11-30 08:33:03 +00:00
|
|
|
pname = "clintermission";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.3.1";
|
2022-10-30 15:09:59 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sebageek";
|
|
|
|
repo = pname;
|
2023-03-24 00:07:29 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-e7C9IDr+mhVSfU8lMywjX1BYwFo/qegPNzabak7UPcY=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ prompt-toolkit ];
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
# repo contains no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "clintermission" ];
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Non-fullscreen command-line selection menu";
|
|
|
|
homepage = "https://github.com/sebageek/clintermission";
|
2023-03-24 00:07:29 +00:00
|
|
|
changelog = "https://github.com/sebageek/clintermission/releases/tag/v${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
license = licenses.asl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
}
|