2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2023-03-24 00:07:29 +00:00
|
|
|
, pythonOlder
|
|
|
|
, prompt-toolkit
|
|
|
|
}:
|
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-03-24 00:07:29 +00:00
|
|
|
version = "0.3.0";
|
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}";
|
|
|
|
hash = "sha256-HPeO9K91a0MacSUN0SR0lPEWRTQgP/cF1FZaNvZLxAg=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
prompt-toolkit
|
|
|
|
];
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
# repo contains no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-10-30 15:09:59 +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;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|