1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/desktops/mate/caja-extensions/default.nix
R. RyanTM 54aec3054b mate.caja-extensions: 1.20.0 -> 1.20.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/caja-extensions/versions.

These checks were done:

- built on NixOS
- /nix/store/1m1zknl4rxcnkkbqhd0ks341bh2ghl0y-caja-extensions-1.20.1/bin/caja-sendto passed the binary check.
- /nix/store/1m1zknl4rxcnkkbqhd0ks341bh2ghl0y-caja-extensions-1.20.1/bin/.caja-sendto-wrapped passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 1.20.1 with grep in /nix/store/1m1zknl4rxcnkkbqhd0ks341bh2ghl0y-caja-extensions-1.20.1
- directory tree listing: https://gist.github.com/6344a0c82a50b4091f71ada2afdffb14
- du listing: https://gist.github.com/e7f39d01f373332636f3b0e47953fb4c
2018-06-19 16:28:42 -07:00

43 lines
1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, gupnp, mate, imagemagick, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "caja-extensions-${version}";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "01k7c3gw6rfd7vlch61zig22bvz40wlnalc5p3rz4d9i98fr643n";
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
gtk3
dbus-glib
gupnp
mate.caja
mate.mate-desktop
imagemagick
];
postPatch = ''
for f in image-converter/caja-image-{resizer,rotator}.c; do
substituteInPlace $f --replace "/usr/bin/convert" "${imagemagick}/bin/convert"
done
'';
configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
meta = with stdenv.lib; {
description = "Set of extensions for Caja file manager";
homepage = http://mate-desktop.org;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}