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

31 lines
906 B
Nix
Raw Normal View History

{ lib, python3, fetchurl, pkg-config, 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 {
pname = "mozo";
2020-02-12 17:51:23 +00:00
version = "1.24.0";
2018-01-05 14:16:32 +00:00
format = "other";
doCheck = false;
2018-01-05 14:16:32 +00:00
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "https://pub.mate-desktop.org/releases/${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
};
2021-01-17 02:21:50 +00:00
nativeBuildInputs = [ pkg-config 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
buildInputs = [ gtk3 glib ];
2018-01-05 14:16:32 +00:00
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
meta = with lib; {
2018-01-05 14:16:32 +00:00
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 ];
};
}