1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5# Python deps 6, six 7, setuptools 8}: 9 10buildPythonPackage rec { 11 pname = "mando"; 12 version = "0.7.1"; 13 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "rubik"; 18 repo = "mando"; 19 rev = "v${version}"; 20 hash = "sha256-Ylrrfo57jqGuWEqCa5RyTT9AagBpUvAfviHkyJPFv08="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 propagatedBuildInputs = [ 32 six 33 ]; 34 35 pythonImportsCheck = [ 36 "mando" 37 ]; 38 39 meta = with lib; { 40 description = "Create Python CLI apps with little to no effort at all"; 41 homepage = "https://mando.readthedocs.org"; 42 changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ t4ccer ]; 45 }; 46}