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

42 lines
980 B
Nix
Raw Normal View History

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