Merge pull request #197946 from badele/python-colout
python3Packages.python-colout: init at 0.12.0
This commit is contained in:
commit
48d11ba89d
@ -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
pkgs/development/python-modules/colout/default.nix
Normal file
45
pkgs/development/python-modules/colout/default.nix
Normal file
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user