at master 841 B view raw
1{ 2 lib, 3 babel, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pygments, 7 pythonOlder, 8 setuptools-scm, 9}: 10 11buildPythonPackage rec { 12 pname = "colout"; 13 version = "1.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "nojhan"; 20 repo = "colout"; 21 tag = "v${version}"; 22 hash = "sha256-7Dtf87erBElqVgqRx8BYHYOWv1uI84JJ0LHrcneczCI="; 23 }; 24 25 nativeBuildInputs = [ setuptools-scm ]; 26 27 propagatedBuildInputs = [ 28 babel 29 pygments 30 ]; 31 32 pythonImportsCheck = [ "colout" ]; 33 34 # This project does not have a unit test 35 doCheck = false; 36 37 meta = with lib; { 38 description = "Color Up Arbitrary Command Output"; 39 mainProgram = "colout"; 40 homepage = "https://github.com/nojhan/colout"; 41 license = licenses.gpl3Only; 42 maintainers = with maintainers; [ badele ]; 43 }; 44}