nixpkgs-suyu/pkgs/desktops/mate/mozo/default.nix

31 lines
921 B
Nix
Raw Normal View History

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