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

29 lines
886 B
Nix
Raw Normal View History

2019-04-21 12:02:48 +00:00
{ stdenv, python3, fetchurl, pkgconfig, intltool, mate, gtk3, glib, wrapGAppsHook, gobject-introspection }:
2018-01-05 14:16:32 +00:00
2019-04-21 12:02:48 +00:00
python3.pkgs.buildPythonApplication rec {
pname = "mozo";
2019-04-23 20:03:31 +00:00
version = "1.22.1";
2018-01-05 14:16:32 +00:00
format = "other";
doCheck = false;
2018-01-05 14:16:32 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-04-23 20:03:31 +00:00
sha256 = "0yffp7p3b6ynpf7ck21klym7h09l35amnyahm71dxbv2kzj6hlqh";
2018-01-05 14:16:32 +00:00
};
nativeBuildInputs = [ pkgconfig intltool gobject-introspection wrapGAppsHook ];
2018-01-05 14:16:32 +00:00
2019-04-21 12:02:48 +00: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
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 ];
};
}