2017-05-21 19:28:30 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-08-29 07:47:17 +02:00
|
|
|
, isPy3k
|
2017-05-21 19:28:30 +02:00
|
|
|
, blessings
|
|
|
|
, mozfile
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mozlog";
|
|
|
|
version = "3.4";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2017-08-29 07:47:17 +02:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
2017-05-21 19:28:30 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1m4d9i1kzcmkhipfd5czv05f2s84j1byx3cv4y2irjmwq5v6cyiq";
|
|
|
|
};
|
|
|
|
|
2017-08-29 07:47:17 +02:00
|
|
|
propagatedBuildInputs = [ blessings 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 ];
|
|
|
|
};
|
|
|
|
}
|