Merge pull request #62609 from alexarice/caja-with-extensions
caja-with-extensions: init
This commit is contained in:
commit
7383bf52a0
20
pkgs/desktops/mate/caja-with-extensions/default.nix
Normal file
20
pkgs/desktops/mate/caja-with-extensions/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, lib, makeWrapper, caja-extensions, caja, extensions ? [ caja-extensions ] }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "${caja.pname}-with-extensions";
|
||||
version = caja.version;
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
inherit caja;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper $caja/bin/caja $out/bin/caja \
|
||||
--set CAJA_EXTENSION_DIRS ${lib.concatMapStringsSep ":" (x: "${x.outPath}/lib/caja/extensions-2.0") extensions}
|
||||
'';
|
||||
|
||||
inherit (caja.meta);
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "caja-${version}";
|
||||
pname = "caja";
|
||||
version = "1.22.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "10b7yjimblymp1fpsrl4jb2k7kbhla2izsj3njfmg2n6fv9fy9iv";
|
||||
};
|
||||
|
||||
|
@ -4,11 +4,12 @@ let
|
||||
callPackage = newScope self;
|
||||
|
||||
self = rec {
|
||||
|
||||
|
||||
atril = callPackage ./atril { };
|
||||
caja = callPackage ./caja { };
|
||||
caja-dropbox = callPackage ./caja-dropbox { };
|
||||
caja-extensions = callPackage ./caja-extensions { };
|
||||
caja-with-extensions = callPackage ./caja-with-extensions { };
|
||||
engrampa = callPackage ./engrampa { };
|
||||
eom = callPackage ./eom { };
|
||||
libmatekbd = callPackage ./libmatekbd { };
|
||||
@ -86,7 +87,7 @@ let
|
||||
mozo
|
||||
pluma
|
||||
];
|
||||
|
||||
|
||||
};
|
||||
|
||||
in self
|
||||
|
Loading…
Reference in New Issue
Block a user