2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy3k
|
|
|
|
, 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";
|
|
|
|
version = "0.2.0";
|
2022-10-30 15:09:59 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sebageek";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
|
|
|
|
};
|
|
|
|
|
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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|