mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchurl
|
|
, pkg-config
|
|
, gettext
|
|
, mate-menus
|
|
, gtk3
|
|
, glib
|
|
, wrapGAppsHook
|
|
, gobject-introspection
|
|
, mateUpdateScript
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "mozo";
|
|
version = "1.28.0";
|
|
|
|
format = "other";
|
|
doCheck = false;
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "/piYT/1qqMNtBZS879ugPeObQtQeAHJRaAOE8870SSQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gettext
|
|
gobject-introspection
|
|
wrapGAppsHook
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
mate-menus
|
|
python3.pkgs.pygobject3
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
glib
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname; };
|
|
|
|
meta = with lib; {
|
|
description = "MATE Desktop menu editor";
|
|
mainProgram = "mozo";
|
|
homepage = "https://github.com/mate-desktop/mozo";
|
|
license = with licenses; [ lgpl2Plus ];
|
|
platforms = platforms.unix;
|
|
maintainers = teams.mate.members;
|
|
};
|
|
}
|