mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
43 lines
969 B
Nix
43 lines
969 B
Nix
{ 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";
|
|
minor-ver = "3";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
|
sha256 = "0mljqcx7k8p27854zm7qzzn8ca6hs7hva9p43hp4p507z52caqmm";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libnotify
|
|
libxml2
|
|
libexif
|
|
exempi
|
|
mate.mate-desktop
|
|
];
|
|
|
|
patches = [
|
|
./caja-extension-dirs.patch
|
|
];
|
|
|
|
configureFlags = [ "--disable-update-mimedb" ];
|
|
|
|
meta = {
|
|
description = "File manager for the MATE desktop";
|
|
homepage = http://mate-desktop.org;
|
|
license = with stdenv.lib.licenses; [ gpl2 lgpl2 ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
};
|
|
}
|