1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/mate/mozo/default.nix

33 lines
996 B
Nix
Raw Normal View History

2021-04-02 20:58:16 +01:00
{ lib, python3, fetchurl, pkg-config, gettext, mate, gtk3, glib, wrapGAppsHook, gobject-introspection, mateUpdateScript }:
2018-01-05 14:16:32 +00:00
2019-04-21 13:02:48 +01:00
python3.pkgs.buildPythonApplication rec {
pname = "mozo";
2021-04-02 22:56:03 +01:00
version = "1.24.1";
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";
2021-04-02 22:56:03 +01:00
sha256 = "14ps43gdh1sfvq49yhl58gxq3rc0d25i2d7r4ghlzf07ssxl53b0";
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;
2021-04-02 20:58:16 +01:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
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 ];
};
}