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

42 lines
978 B
Nix
Raw Normal View History

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