2017-05-21 18:28:30 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-08-29 06:47:17 +01:00
|
|
|
, isPy3k
|
2017-05-21 18:28:30 +01:00
|
|
|
, blessings
|
2018-02-26 22:59:46 +00:00
|
|
|
, mozterm
|
|
|
|
, six
|
2017-05-21 18:28:30 +01:00
|
|
|
, mozfile
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mozlog";
|
2019-12-26 16:54:33 +00:00
|
|
|
version = "5.0";
|
2017-05-21 18:28:30 +01:00
|
|
|
|
2017-08-29 06:47:17 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
2017-05-21 18:28:30 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-26 16:54:33 +00:00
|
|
|
sha256 = "0h1hgs13c1w0wvz60400i37m00077li1ky28j7kgx4bl75pkd3sw";
|
2017-05-21 18:28:30 +01:00
|
|
|
};
|
|
|
|
|
2018-02-26 22:59:46 +00:00
|
|
|
propagatedBuildInputs = [ blessings mozterm six ];
|
|
|
|
|
|
|
|
checkInputs = [ mozfile ];
|
2017-05-21 18:28:30 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozilla logging library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.mozilla.org/Auto-tools/Projects/Mozbase";
|
2017-05-21 18:28:30 +01:00
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
|
|
};
|
|
|
|
}
|