2019-08-05 07:50:55 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, colorama, future, six }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "chromalog";
|
|
|
|
version = "1.0.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "freelan-developers";
|
|
|
|
repo = "chromalog";
|
2021-02-01 21:53:12 +00:00
|
|
|
rev = version;
|
2019-08-05 07:50:55 +00:00
|
|
|
sha256 = "0pj4s52rgwlvwkzrj85y92c5r9c84pz8gga45jl5spysrv41y9p0";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ colorama future six ];
|
|
|
|
|
|
|
|
# enable when https://github.com/freelan-developers/chromalog/issues/6 is resolved
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Enhance Python with colored logging";
|
|
|
|
homepage = "https://github.com/freelan-developers/chromalog";
|
|
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|