nixpkgs/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 12:44:28 +01:00
stdenv.mkDerivation rec {
2019-06-03 14:36:25 +01:00
pname = "caja";
2019-09-23 11:00:56 +01:00
version = "1.22.2";
2017-03-28 12:44:28 +01:00
src = fetchurl {
2019-06-03 14:36:25 +01:00
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-23 11:00:56 +01:00
sha256 = "1c5yr4b8pzd7nz7g7ln9jwp4fx6qgq8vgbv4spfryy53il3gv75h";
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" ];
2017-03-28 12:44:28 +01:00
meta = {
description = "File manager for the MATE desktop";
homepage = https://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 ];
};
}