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

28 lines
814 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, mate, pythonPackages }:
2018-01-05 17:16:32 +03:00
stdenv.mkDerivation rec {
name = "mozo-${version}";
version = "1.18.0";
2018-01-05 17:16:32 +03:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
2018-01-05 17:16:32 +03:00
sha256 = "04yn9bw64q5a5kvpmkb7rb3mlp11pmnvkbphficsgb0368fj895b";
};
pythonPath = [ mate.mate-menus pythonPackages.pygobject3 ];
2018-01-05 17:16:32 +03: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 ];
};
}