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

42 lines
966 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }:
2017-03-28 12:44:28 +01:00
stdenv.mkDerivation rec {
name = "caja-${version}";
2019-01-14 13:39:39 +00:00
version = "1.20.3";
2017-03-28 12:44:28 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
2019-01-14 13:39:39 +00:00
sha256 = "1wlrhcvhqving3pphbz50xnbp7z57mlkf7m36lfh8mim62kfmmd0";
2017-03-28 12:44:28 +01:00
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
gtk3
libnotify
libxml2
libexif
exempi
mate.mate-desktop
hicolor-icon-theme
2017-03-28 12:44:28 +01:00
];
2017-08-18 04:19:58 +01:00
patches = [
./caja-extension-dirs.patch
];
2017-03-28 12:44:28 +01:00
configureFlags = [ "--disable-update-mimedb" ];
meta = {
description = "File manager for the MATE desktop";
homepage = http://mate-desktop.org;
2017-03-28 12:44:28 +01:00
license = with stdenv.lib.licenses; [ gpl2 lgpl2 ];
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}