2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-28 15:55:48 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-08 19:44:47 +01:00
|
|
|
, six
|
2018-10-28 15:55:48 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Twiggy";
|
2020-06-06 07:47:35 +01:00
|
|
|
version = "0.5.0";
|
2018-10-28 15:55:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:35 +01:00
|
|
|
sha256 = "259ae96cb22e80c49e75c37dc2f7497028c5dc19018958f05fa00ec08fc2569f";
|
2018-10-28 15:55:48 +00:00
|
|
|
};
|
|
|
|
|
2020-06-08 19:44:47 +01:00
|
|
|
propagatedBuildInputs = [ six ];
|
2018-10-28 15:55:48 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://twiggy.wearpants.org";
|
2018-10-28 15:55:48 +00:00
|
|
|
# Taken from http://i.wearpants.org/blog/meet-twiggy/
|
|
|
|
description = "Twiggy is the first totally new design for a logger since log4j";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ pierron ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|