2020-02-14 14:09:49 +00:00
|
|
|
{ stdenv, python3, fetchurl, pkgconfig, gettext, mate, gtk3, glib, wrapGAppsHook, gobject-introspection }:
|
2018-01-05 14:16:32 +00:00
|
|
|
|
2019-04-21 13:02:48 +01:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2019-01-16 00:26:33 +00:00
|
|
|
pname = "mozo";
|
2020-02-12 17:51:23 +00:00
|
|
|
version = "1.24.0";
|
2018-01-05 14:16:32 +00:00
|
|
|
|
2019-01-16 00:26:33 +00:00
|
|
|
format = "other";
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-01-05 14:16:32 +00:00
|
|
|
src = fetchurl {
|
2019-12-13 22:37:37 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-12 17:51:23 +00:00
|
|
|
sha256 = "01lyi47a04xk0by5bvnfmqgv5sysk2wdlri6a4ssmy1qhgwh9zr3";
|
2018-01-05 14:16:32 +00:00
|
|
|
};
|
|
|
|
|
2020-02-14 14:09:49 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext gobject-introspection wrapGAppsHook ];
|
2018-01-05 14:16:32 +00:00
|
|
|
|
2019-04-21 13:02:48 +01:00
|
|
|
propagatedBuildInputs = [ mate.mate-menus python3.pkgs.pygobject3 ];
|
2018-01-05 14:16:32 +00:00
|
|
|
|
2019-01-16 00:26:33 +00:00
|
|
|
buildInputs = [ gtk3 glib ];
|
2018-01-05 14:16:32 +00:00
|
|
|
|
2020-02-14 21:52:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-01-05 14:16:32 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MATE Desktop menu editor";
|
2020-02-12 17:51:23 +00:00
|
|
|
homepage = "https://github.com/mate-desktop/mozo";
|
2018-01-05 14:16:32 +00:00
|
|
|
license = with licenses; [ lgpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|