Unverified Commit 48d11ba8 authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #197946 from badele/python-colout

python3Packages.python-colout: init at 0.12.0
parents 216315c6 69413671
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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";
+45 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };