mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
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 {
|
||||
name = "mozo-${version}";
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "mozo";
|
||||
version = "1.20.2";
|
||||
|
||||
format = "other";
|
||||
doCheck = false;
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
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; {
|
||||
description = "MATE Desktop menu editor";
|
||||
|
Loading…
Reference in New Issue
Block a user