nixpkgs-suyu/pkgs/desktops/mate/engrampa/default.nix
2017-12-23 23:55:14 -02:00

38 lines
934 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gnome3, mate, hicolor_icon_theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "engrampa-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "3";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1ms6kz8k86hsj9zk5w3087l749022y0j5ba2s9hz8ah6gfx0mvn5";
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];
buildInputs = [
libxml2
gnome3.gtk
mate.caja
hicolor_icon_theme
mate.mate-desktop
];
configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
meta = {
description = "Archive Manager for MATE";
homepage = http://mate-desktop.org;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}