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

43 lines
969 B
Nix
Raw Normal View History

2017-03-28 13:44:28 +02:00
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "caja-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
2017-12-24 02:15:17 +01:00
minor-ver = "5";
2017-03-28 13:44:28 +02:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
2017-12-24 02:15:17 +01:00
sha256 = "1ild2bslvnvxvl5q2xc1sa8bz1lyr4q4ksw3bwxrj0ymc16h7p50";
2017-03-28 13:44:28 +02:00
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
gtk3
libnotify
libxml2
libexif
exempi
mate.mate-desktop
];
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" ];
meta = {
description = "File manager for the MATE desktop";
homepage = http://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 ];
};
}