mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
44 lines
1015 B
Nix
44 lines
1015 B
Nix
{ stdenv, fetchurl, pkgconfig, gettext, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "caja";
|
|
version = "1.24.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1cnfy481hcwjv3ia3kw0d4h7ga8cng0pqm3z349v4qcmfdapmqc0";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
gettext
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libnotify
|
|
libxml2
|
|
libexif
|
|
exempi
|
|
mate.mate-desktop
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
patches = [
|
|
./caja-extension-dirs.patch
|
|
];
|
|
|
|
configureFlags = [ "--disable-update-mimedb" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|