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