Merge pull request #197946 from badele/python-colout

python3Packages.python-colout: init at 0.12.0
This commit is contained in:
Ryan Lahfa 2023-05-06 20:16:52 +02:00 committed by GitHub
commit 48d11ba89d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 57 additions and 0 deletions

@ -1654,6 +1654,16 @@
githubId = 1017537;
name = "Bruno Bieth";
};
badele = {
name = "Bruno Adelé";
email = "brunoadele@gmail.com";
matrix = "@badele:matrix.org";
github = "badele";
githubId = 2806307;
keys = [{
fingerprint = "00F4 21C4 C537 7BA3 9820 E13F 6B95 E13D E469 CC5D";
}];
};
badmutex = {
email = "github@badi.sh";
github = "badmutex";

@ -0,0 +1,45 @@
{ lib
, babel
, buildPythonPackage
, fetchFromGitHub
, pygments
, python3Packages
, setuptools-scm
}:
buildPythonPackage rec {
pname = "colout";
version = "0.12.0";
src = fetchFromGitHub {
owner = "nojhan";
repo = pname;
rev = "v${version}";
sha256 = "sha256-5ETKNo3KfncnnLTClA6BnQA7SN5KwwsLdQoozI9li7I=";
};
nativeBuildInputs = [
babel
pygments
setuptools-scm
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = [
babel
pygments
];
pythonImportsCheck = [ "colout" ];
# This project does not have a unit test
doCheck = false;
meta = with lib; {
description = "Color Up Arbitrary Command Output";
homepage = "https://github.com/nojhan/colout";
license = licenses.gpl3;
maintainers = with maintainers; [ badele ];
};
}

@ -1985,6 +1985,8 @@ self: super: with self; {
colour = callPackage ../development/python-modules/colour { };
colout = callPackage ../development/python-modules/colout { };
cometblue-lite = callPackage ../development/python-modules/cometblue-lite { };
comm = callPackage ../development/python-modules/comm { };