forked from mirrors/nixpkgs
caja-extensions: init at 1.18.1
This commit is contained in:
parent
9074440f11
commit
1a04652900
43
pkgs/desktops/mate/caja-extensions/default.nix
Normal file
43
pkgs/desktops/mate/caja-extensions/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus_glib, gupnp, mate, imagemagick }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "caja-extensions-${version}";
|
||||
version = "${major-ver}.${minor-ver}";
|
||||
major-ver = "1.18";
|
||||
minor-ver = "1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
||||
sha256 = "0hgala7zkfsa60jflq3s4n9yd11dhfdcla40l83cmgc3r1az7cmw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
intltool
|
||||
];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
rec {
|
||||
atril = callPackage ./atril { };
|
||||
caja = callPackage ./caja { };
|
||||
caja-extensions = callPackage ./caja-extensions { };
|
||||
eom = callPackage ./eom { };
|
||||
pluma = callPackage ./pluma { };
|
||||
mate-common = callPackage ./mate-common { };
|
||||
|
|
Loading…
Reference in a new issue