2017-05-21 19:28:30 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-08-29 07:47:17 +02:00
|
|
|
, isPy3k
|
2017-05-21 19:28:30 +02:00
|
|
|
, blessings
|
2018-02-26 23:59:46 +01:00
|
|
|
, mozterm
|
|
|
|
, six
|
2017-05-21 19:28:30 +02:00
|
|
|
, mozfile
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mozlog";
|
2018-07-22 12:13:12 +02:00
|
|
|
version = "3.8";
|
2017-05-21 19:28:30 +02:00
|
|
|
|
2017-08-29 07:47:17 +02:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
2017-05-21 19:28:30 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-05 09:04:14 +02:00
|
|
|
sha256 = "00x28z6diw06gakb5isbfha5z2n63yyncv4za303nsgzxvlihmx0";
|
2017-05-21 19:28:30 +02:00
|
|
|
};
|
|
|
|
|
2018-02-26 23:59:46 +01:00
|
|
|
propagatedBuildInputs = [ blessings mozterm six ];
|
|
|
|
|
|
|
|
checkInputs = [ mozfile ];
|
2017-05-21 19:28:30 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozilla logging library";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://wiki.mozilla.org/Auto-tools/Projects/Mozbase;
|
2017-05-21 19:28:30 +02:00
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
|
|
};
|
|
|
|
}
|