depot/third_party/nixpkgs/pkgs/desktops/mate/mozo/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

54 lines
1,022 B
Nix

{ lib
, python3
, fetchurl
, pkg-config
, gettext
, mate
, gtk3
, glib
, wrapGAppsHook
, gobject-introspection
, mateUpdateScript
}:
python3.pkgs.buildPythonApplication rec {
pname = "mozo";
version = "1.26.2";
format = "other";
doCheck = false;
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "RyxILg7y+xYp5h4X2qoaSH9kOSsCmEncmkCCr7OLye4=";
};
nativeBuildInputs = [
pkg-config
gettext
gobject-introspection
wrapGAppsHook
];
propagatedBuildInputs = [
mate.mate-menus
python3.pkgs.pygobject3
];
buildInputs = [
gtk3
glib
];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname; };
meta = with lib; {
description = "MATE Desktop menu editor";
homepage = "https://github.com/mate-desktop/mozo";
license = with licenses; [ lgpl2Plus ];
platforms = platforms.unix;
maintainers = teams.mate.members;
};
}