3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/mozo/default.nix

29 lines
886 B
Nix
Raw Normal View History

2019-04-21 13:02:48 +01:00
{ stdenv, python3, fetchurl, pkgconfig, intltool, mate, gtk3, glib, wrapGAppsHook, gobject-introspection }:
2018-01-05 14:16:32 +00:00
2019-04-21 13:02:48 +01:00
python3.pkgs.buildPythonApplication rec {
pname = "mozo";
2019-09-30 11:07:57 +01:00
version = "1.22.2";
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-09-30 11:07:57 +01:00
sha256 = "1lzcwsz940v218frwzhpywp1an9x3cgfvqr7r8dplpdapvd0khrs";
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 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
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 ];
};
}