forked from mirrors/nixpkgs
42 lines
980 B
Nix
42 lines
980 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "caja";
|
|
version = "1.22.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "10b7yjimblymp1fpsrl4jb2k7kbhla2izsj3njfmg2n6fv9fy9iv";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libnotify
|
|
libxml2
|
|
libexif
|
|
exempi
|
|
mate.mate-desktop
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
patches = [
|
|
./caja-extension-dirs.patch
|
|
];
|
|
|
|
configureFlags = [ "--disable-update-mimedb" ];
|
|
|
|
meta = {
|
|
description = "File manager for the MATE desktop";
|
|
homepage = https://mate-desktop.org;
|
|
license = with stdenv.lib.licenses; [ gpl2 lgpl2 ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
};
|
|
}
|