Merge pull request #232678 from fabaff/colout-bump

python311Packages.colout: 0.12.0 -> 1.1

authored by Nick Cao and committed by GitHub c25954bf 72673273

+13 -10
+13 -10
pkgs/development/python-modules/colout/default.nix
··· 3 , buildPythonPackage 4 , fetchFromGitHub 5 , pygments 6 - , python3Packages 7 , setuptools-scm 8 }: 9 10 buildPythonPackage rec { 11 pname = "colout"; 12 - version = "0.12.0"; 13 14 src = fetchFromGitHub { 15 owner = "nojhan"; 16 repo = pname; 17 - rev = "v${version}"; 18 - sha256 = "sha256-5ETKNo3KfncnnLTClA6BnQA7SN5KwwsLdQoozI9li7I="; 19 }; 20 21 nativeBuildInputs = [ 22 - babel 23 - pygments 24 setuptools-scm 25 ]; 26 27 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 28 - 29 propagatedBuildInputs = [ 30 babel 31 pygments 32 ]; 33 34 - pythonImportsCheck = [ "colout" ]; 35 36 # This project does not have a unit test 37 doCheck = false; ··· 39 meta = with lib; { 40 description = "Color Up Arbitrary Command Output"; 41 homepage = "https://github.com/nojhan/colout"; 42 - license = licenses.gpl3; 43 maintainers = with maintainers; [ badele ]; 44 }; 45 }
··· 3 , buildPythonPackage 4 , fetchFromGitHub 5 , pygments 6 + , pythonOlder 7 , setuptools-scm 8 }: 9 10 buildPythonPackage rec { 11 pname = "colout"; 12 + version = "1.1"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "nojhan"; 19 repo = pname; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-7Dtf87erBElqVgqRx8BYHYOWv1uI84JJ0LHrcneczCI="; 22 }; 23 24 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 + 26 nativeBuildInputs = [ 27 setuptools-scm 28 ]; 29 30 propagatedBuildInputs = [ 31 babel 32 pygments 33 ]; 34 35 + pythonImportsCheck = [ 36 + "colout" 37 + ]; 38 39 # This project does not have a unit test 40 doCheck = false; ··· 42 meta = with lib; { 43 description = "Color Up Arbitrary Command Output"; 44 homepage = "https://github.com/nojhan/colout"; 45 + license = licenses.gpl3Only; 46 maintainers = with maintainers; [ badele ]; 47 }; 48 }