2018-02-13 22:44:07 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, mate, pythonPackages }:
|
2018-01-05 14:16:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mozo-${version}";
|
2018-07-04 22:19:29 +00:00
|
|
|
version = "1.20.1";
|
2018-01-05 14:16:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2018-07-04 22:19:29 +00:00
|
|
|
sha256 = "16rkwbq385i2acll0kcsnp4ghdyljylhp06bjdsvbwv6bjspyyrp";
|
2018-01-05 14:16:32 +00:00
|
|
|
};
|
|
|
|
|
2018-02-13 22:44:07 +00:00
|
|
|
pythonPath = [ mate.mate-menus pythonPackages.pygobject3 ];
|
2018-01-05 14:16:32 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool pythonPackages.wrapPython ];
|
|
|
|
|
|
|
|
buildInputs = [ pythonPackages.python ] ++ pythonPath;
|
|
|
|
|
|
|
|
preFixup = "wrapPythonPrograms";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|