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

29 lines
887 B
Nix
Raw Normal View History

2019-04-21 14:02:48 +02:00
{ stdenv, python3, fetchurl, pkgconfig, intltool, 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";
2019-09-30 12:07:57 +02:00
version = "1.22.2";
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";
2019-09-30 12:07:57 +02:00
sha256 = "1lzcwsz940v218frwzhpywp1an9x3cgfvqr7r8dplpdapvd0khrs";
2018-01-05 15:16:32 +01:00
};
nativeBuildInputs = [ pkgconfig intltool 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
meta = with stdenv.lib; {
description = "MATE Desktop menu editor";
homepage = https://github.com/mate-desktop/mozo;
license = with licenses; [ lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}