2019-04-21 13:02:48 +01:00
|
|
|
{ stdenv, python3, fetchurl, pkgconfig, intltool, 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";
|
2019-09-30 11:07:57 +01:00
|
|
|
version = "1.22.2";
|
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";
|
2019-09-30 11:07:57 +01:00
|
|
|
sha256 = "1lzcwsz940v218frwzhpywp1an9x3cgfvqr7r8dplpdapvd0khrs";
|
2018-01-05 14:16:32 +00:00
|
|
|
};
|
|
|
|
|
2019-01-16 00:26:33 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool 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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MATE Desktop menu editor";
|
|
|
|
homepage = https://github.com/mate-desktop/mozo;
|
|
|
|
license = with licenses; [ lgpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|