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

44 lines
1012 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}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
2017-12-24 01:15:17 +00:00
minor-ver = "5";
2017-03-28 12:44:28 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
2017-12-24 01:15:17 +00:00
sha256 = "1ild2bslvnvxvl5q2xc1sa8bz1lyr4q4ksw3bwxrj0ymc16h7p50";
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 ];
};
}