2017-05-21 17:28:30 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-08-29 05:47:17 +00:00
|
|
|
, isPy3k
|
2017-05-21 17:28:30 +00:00
|
|
|
, blessings
|
2018-02-26 22:59:46 +00:00
|
|
|
, mozterm
|
|
|
|
, six
|
2017-05-21 17:28:30 +00:00
|
|
|
, mozfile
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mozlog";
|
2019-10-24 06:47:38 +00:00
|
|
|
version = "4.2.0";
|
2017-05-21 17:28:30 +00:00
|
|
|
|
2017-08-29 05:47:17 +00:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
2017-05-21 17:28:30 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:38 +00:00
|
|
|
sha256 = "dc85cfb9d47af6811f2367f471de7028c36204340c5e68a928115409ea75d9a9";
|
2017-05-21 17:28:30 +00:00
|
|
|
};
|
|
|
|
|
2018-02-26 22:59:46 +00:00
|
|
|
propagatedBuildInputs = [ blessings mozterm six ];
|
|
|
|
|
|
|
|
checkInputs = [ mozfile ];
|
2017-05-21 17:28:30 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozilla logging library";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://wiki.mozilla.org/Auto-tools/Projects/Mozbase;
|
2017-05-21 17:28:30 +00:00
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
|
|
};
|
|
|
|
}
|