Merge pull request #59896 from rnhmjoj/rxvt

rxvt_unicode: allow to specify dependencies for plugins
This commit is contained in:
Joachim F 2019-04-20 08:30:18 +00:00 committed by GitHub
commit 9241145dfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ symlinkJoin, rxvt_unicode, makeWrapper, plugins }:
{ symlinkJoin, rxvt_unicode, makeWrapper, plugins, perlPackages, perlDeps ? []}:
let
rxvt_name = builtins.parseDrvName rxvt_unicode.name;
@ -12,8 +12,10 @@ in symlinkJoin {
postBuild = ''
wrapProgram $out/bin/urxvt \
--set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
wrapProgram $out/bin/urxvtd \
--set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
'';

View File

@ -8480,6 +8480,20 @@ let
};
};
LinuxFD = buildPerlModule rec {
name = "Linux-FD-0.011";
src = fetchurl {
url = "mirror://cpan/authors/id/L/LE/LEONT/${name}.tar.gz";
sha256 = "6bb579d47644cb0ed35626ff77e909ae69063073c6ac09aa0614fef00fa37356";
};
buildInputs = [ ModuleBuild TestException ];
propagatedBuildInputs = [ SubExporter ];
meta = {
description = "Linux specific special filehandles";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
LinuxInotify2 = buildPerlPackage rec {
name = "Linux-Inotify2-2.1";
src = fetchurl {