mate.mozo: switch to using buildPythonApplication, cleanup
This commit is contained in:
parent
f9b8f2cf4f
commit
ff22ad20e7
@ -1,21 +1,22 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, intltool, mate, pythonPackages }:
|
{ stdenv, python, fetchurl, pkgconfig, intltool, mate, gtk3, glib, wrapGAppsHook, gobject-introspection }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
python.pkgs.buildPythonApplication rec {
|
||||||
name = "mozo-${version}";
|
pname = "mozo";
|
||||||
version = "1.20.2";
|
version = "1.20.2";
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1q4hqhigimxav2a8xxyd53lq8q80szsphcv37y2jhm6g6wvdmvhd";
|
sha256 = "1q4hqhigimxav2a8xxyd53lq8q80szsphcv37y2jhm6g6wvdmvhd";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonPath = [ mate.mate-menus pythonPackages.pygobject3 ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool pythonPackages.wrapPython ];
|
nativeBuildInputs = [ pkgconfig intltool gobject-introspection wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ pythonPackages.python ] ++ pythonPath;
|
propagatedBuildInputs = [ mate.mate-menus python.pkgs.pygobject3 ];
|
||||||
|
|
||||||
preFixup = "wrapPythonPrograms";
|
buildInputs = [ gtk3 glib ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "MATE Desktop menu editor";
|
description = "MATE Desktop menu editor";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user