1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 prompt-toolkit, 7}: 8 9buildPythonPackage rec { 10 pname = "clintermission"; 11 version = "0.3.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "sebageek"; 18 repo = "clintermission"; 19 tag = "v${version}"; 20 hash = "sha256-e7C9IDr+mhVSfU8lMywjX1BYwFo/qegPNzabak7UPcY="; 21 }; 22 23 propagatedBuildInputs = [ prompt-toolkit ]; 24 25 # repo contains no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "clintermission" ]; 29 30 meta = with lib; { 31 description = "Non-fullscreen command-line selection menu"; 32 homepage = "https://github.com/sebageek/clintermission"; 33 changelog = "https://github.com/sebageek/clintermission/releases/tag/v${version}"; 34 license = licenses.asl20; 35 maintainers = [ ]; 36 }; 37}