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}";
2018-02-14 01:22:51 +00:00
version = "1.20.0";
2017-03-28 12:44:28 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
2018-02-14 01:22:51 +00:00
sha256 = "05shyqqapqbz4w0gbhx0i3kj6xg7rcj80hkaq7wf5pyj91wmkxqg";
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 ];
};
}