mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
lib.makePerlPath -> perlPackages.makePerlPath
This commit is contained in:
parent
921d046537
commit
bb9557eb7c
@ -80,7 +80,7 @@ let
|
|||||||
inherit (strings) concatStrings concatMapStrings concatImapStrings
|
inherit (strings) concatStrings concatMapStrings concatImapStrings
|
||||||
intersperse concatStringsSep concatMapStringsSep
|
intersperse concatStringsSep concatMapStringsSep
|
||||||
concatImapStringsSep makeSearchPath makeSearchPathOutput
|
concatImapStringsSep makeSearchPath makeSearchPathOutput
|
||||||
makeLibraryPath makeBinPath makePerlPath makeFullPerlPath optionalString
|
makeLibraryPath makeBinPath optionalString
|
||||||
hasPrefix hasSuffix stringToCharacters stringAsChars escape
|
hasPrefix hasSuffix stringToCharacters stringAsChars escape
|
||||||
escapeShellArg escapeShellArgs replaceChars lowerChars
|
escapeShellArg escapeShellArgs replaceChars lowerChars
|
||||||
upperChars toLower toUpper addContextFrom splitString
|
upperChars toLower toUpper addContextFrom splitString
|
||||||
|
@ -162,26 +162,6 @@ rec {
|
|||||||
*/
|
*/
|
||||||
makeBinPath = makeSearchPathOutput "bin" "bin";
|
makeBinPath = makeSearchPathOutput "bin" "bin";
|
||||||
|
|
||||||
|
|
||||||
/* Construct a perl search path (such as $PERL5LIB)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
pkgs = import <nixpkgs> { }
|
|
||||||
makePerlPath [ pkgs.perlPackages.libnet ]
|
|
||||||
=> "/nix/store/n0m1fk9c960d8wlrs62sncnadygqqc6y-perl-Net-SMTP-1.25/lib/perl5/site_perl"
|
|
||||||
*/
|
|
||||||
# FIXME(zimbatm): this should be moved in perl-specific code
|
|
||||||
makePerlPath = makeSearchPathOutput "lib" "lib/perl5/site_perl";
|
|
||||||
|
|
||||||
/* Construct a perl search path recursively including all dependencies (such as $PERL5LIB)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
pkgs = import <nixpkgs> { }
|
|
||||||
makeFullPerlPath [ pkgs.perlPackages.CGI ]
|
|
||||||
=> "/nix/store/fddivfrdc1xql02h9q500fpnqy12c74n-perl-CGI-4.38/lib/perl5/site_perl:/nix/store/8hsvdalmsxqkjg0c5ifigpf31vc4vsy2-perl-HTML-Parser-3.72/lib/perl5/site_perl:/nix/store/zhc7wh0xl8hz3y3f71nhlw1559iyvzld-perl-HTML-Tagset-3.20/lib/perl5/site_perl"
|
|
||||||
*/
|
|
||||||
makeFullPerlPath = deps: makePerlPath (lib.misc.closePropagation deps);
|
|
||||||
|
|
||||||
/* Depending on the boolean `cond', return either the given string
|
/* Depending on the boolean `cond', return either the given string
|
||||||
or the empty string. Useful to concatenate against a bigger string.
|
or the empty string. Useful to concatenate against a bigger string.
|
||||||
|
|
||||||
|
@ -34,14 +34,14 @@ in rec {
|
|||||||
cp ${./test-driver/test-driver.pl} $out/bin/nixos-test-driver
|
cp ${./test-driver/test-driver.pl} $out/bin/nixos-test-driver
|
||||||
chmod u+x $out/bin/nixos-test-driver
|
chmod u+x $out/bin/nixos-test-driver
|
||||||
|
|
||||||
libDir=$out/lib/perl5/site_perl
|
libDir=$out/${perl.libPrefix}
|
||||||
mkdir -p $libDir
|
mkdir -p $libDir
|
||||||
cp ${./test-driver/Machine.pm} $libDir/Machine.pm
|
cp ${./test-driver/Machine.pm} $libDir/Machine.pm
|
||||||
cp ${./test-driver/Logger.pm} $libDir/Logger.pm
|
cp ${./test-driver/Logger.pm} $libDir/Logger.pm
|
||||||
|
|
||||||
wrapProgram $out/bin/nixos-test-driver \
|
wrapProgram $out/bin/nixos-test-driver \
|
||||||
--prefix PATH : "${lib.makeBinPath [ qemu_test vde2 netpbm coreutils ]}" \
|
--prefix PATH : "${lib.makeBinPath [ qemu_test vde2 netpbm coreutils ]}" \
|
||||||
--prefix PERL5LIB : "${with perlPackages; lib.makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/lib/perl5/site_perl"
|
--prefix PERL5LIB : "${with perlPackages; makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/${perl.libPrefix}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -534,8 +534,8 @@ in {
|
|||||||
install -m 0755 -d /home
|
install -m 0755 -d /home
|
||||||
|
|
||||||
${pkgs.perl}/bin/perl -w \
|
${pkgs.perl}/bin/perl -w \
|
||||||
-I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl \
|
-I${pkgs.perlPackages.FileSlurp}/${pkgs.perl.libPrefix} \
|
||||||
-I${pkgs.perlPackages.JSON}/lib/perl5/site_perl \
|
-I${pkgs.perlPackages.JSON}/${pkgs.perl.libPrefix} \
|
||||||
${./update-users-groups.pl} ${spec}
|
${./update-users-groups.pl} ${spec}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ let
|
|||||||
name = "nixos-generate-config";
|
name = "nixos-generate-config";
|
||||||
src = ./nixos-generate-config.pl;
|
src = ./nixos-generate-config.pl;
|
||||||
path = [ pkgs.btrfs-progs ];
|
path = [ pkgs.btrfs-progs ];
|
||||||
perl = "${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl";
|
perl = "${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/${pkgs.perl.libPrefix}";
|
||||||
inherit (config.system.nixos) release;
|
inherit (config.system.nixos) release;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ let
|
|||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
inherit (pkgs) perl;
|
inherit (pkgs) perl;
|
||||||
inherit (cfg) dbPath;
|
inherit (cfg) dbPath;
|
||||||
perlFlags = concatStrings (map (path: "-I ${path}/lib/perl5/site_perl ")
|
perlFlags = concatStrings (map (path: "-I ${path}/${pkgs.perl.libPrefix} ")
|
||||||
[ pkgs.perlPackages.DBI pkgs.perlPackages.DBDSQLite pkgs.perlPackages.StringShellQuote ]);
|
[ pkgs.perlPackages.DBI pkgs.perlPackages.DBDSQLite pkgs.perlPackages.StringShellQuote ]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ in
|
|||||||
"/collectd" => "${cfg.collectionCgi}"
|
"/collectd" => "${cfg.collectionCgi}"
|
||||||
)
|
)
|
||||||
setenv.add-environment = (
|
setenv.add-environment = (
|
||||||
"PERL5LIB" => "${with pkgs; lib.makePerlPath [ perlPackages.CGI perlPackages.HTMLParser perlPackages.URI rrdtool ]}",
|
"PERL5LIB" => "${with pkgs.perlPackages; makePerlPath [ CGI HTMLParser URI pkgs.rrdtool ]}",
|
||||||
"COLLECTION_CONF" => "${collectionConf}"
|
"COLLECTION_CONF" => "${collectionConf}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -586,7 +586,7 @@ in
|
|||||||
in pkgs.writeScript "install-grub.sh" (''
|
in pkgs.writeScript "install-grub.sh" (''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
set -e
|
set -e
|
||||||
export PERL5LIB=${makePerlPath (with pkgs.perlPackages; [ FileSlurp XMLLibXML XMLSAX XMLSAXBase ListCompare ])}
|
export PERL5LIB=${with pkgs.perlPackages; makePerlPath [ FileSlurp XMLLibXML XMLSAX XMLSAXBase ListCompare ]}
|
||||||
${optionalString cfg.enableCryptodisk "export GRUB_ENABLE_CRYPTODISK=y"}
|
${optionalString cfg.enableCryptodisk "export GRUB_ENABLE_CRYPTODISK=y"}
|
||||||
'' + flip concatMapStrings cfg.mirroredBoots (args: ''
|
'' + flip concatMapStrings cfg.mirroredBoots (args: ''
|
||||||
${pkgs.perl}/bin/perl ${install-grub-pl} ${grubConfig args} $@
|
${pkgs.perl}/bin/perl ${install-grub-pl} ${grubConfig args} $@
|
||||||
|
@ -154,7 +154,7 @@ in
|
|||||||
''
|
''
|
||||||
# Set up the statically computed bits of /etc.
|
# Set up the statically computed bits of /etc.
|
||||||
echo "setting up /etc..."
|
echo "setting up /etc..."
|
||||||
${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl ${./setup-etc.pl} ${etc}/etc
|
${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/${pkgs.perl.libPrefix} ${./setup-etc.pl} ${etc}/etc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -6,7 +6,7 @@ let
|
|||||||
|
|
||||||
makeScript = name: service: pkgs.writeScript "${name}-runner"
|
makeScript = name: service: pkgs.writeScript "${name}-runner"
|
||||||
''
|
''
|
||||||
#! ${pkgs.perl}/bin/perl -w -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl
|
#! ${pkgs.perl}/bin/perl -w -I${pkgs.perlPackages.FileSlurp}/${pkgs.perl.libPrefix}
|
||||||
|
|
||||||
use File::Slurp;
|
use File::Slurp;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, libcdio-paranoia, cddiscid, wget, which, vorbis-tools, id3v2, eyeD3
|
{ stdenv, fetchurl, libcdio-paranoia, cddiscid, wget, which, vorbis-tools, id3v2, eyeD3
|
||||||
, lame, flac, glyr
|
, lame, flac, glyr
|
||||||
, perl, MusicBrainz, MusicBrainzDiscID
|
, perlPackages
|
||||||
, makeWrapper }:
|
, makeWrapper }:
|
||||||
|
|
||||||
let version = "2.9.2";
|
let version = "2.9.2";
|
||||||
@ -29,7 +29,7 @@ in
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [ perl MusicBrainz MusicBrainzDiscID ];
|
buildInputs = with perlPackages; [ perl MusicBrainz MusicBrainzDiscID ];
|
||||||
|
|
||||||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
, fetchurl
|
, fetchurl
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
|
||||||
, perl
|
|
||||||
, perlPackages
|
, perlPackages
|
||||||
|
|
||||||
, cdparanoia
|
, cdparanoia
|
||||||
@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0pk9152wll6fmkj1pki3fz3ijlf06jyk32v31yarwvdkwrk7s9xz";
|
sha256 = "0pk9152wll6fmkj1pki3fz3ijlf06jyk32v31yarwvdkwrk7s9xz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl perlPackages.CDDB_get ];
|
buildInputs = [ perlPackages.perl perlPackages.CDDB_get ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
toolDeps = makeBinPath [
|
toolDeps = makeBinPath [
|
||||||
@ -53,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||||||
--replace '$editor = "vim";' '$editor = "${nano}/bin/nano";'
|
--replace '$editor = "vim";' '$editor = "${nano}/bin/nano";'
|
||||||
|
|
||||||
wrapProgram $out/bin/$script \
|
wrapProgram $out/bin/$script \
|
||||||
--set PERL5LIB "${makePerlPath [ perlPackages.CDDB_get ]}" \
|
--set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.CDDB_get ]}" \
|
||||||
--set PATH "${toolDeps}"
|
--set PATH "${toolDeps}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
checkInputs = [ perlPackages.TestCommand perlPackages.TestHarness ];
|
checkInputs = [ perlPackages.TestCommand perlPackages.TestHarness ];
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export PERL5LIB="${perlPackages.TestCommand}/lib/perl5/site_perl"
|
export PERL5LIB="${perlPackages.TestCommand}/${perlPackages.perl.libPrefix}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg
|
{ stdenv, fetchurl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg
|
||||||
, hicolor-icon-theme, procps
|
, hicolor-icon-theme, procps
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ perl procps gdk_pixbuf librsvg ] ++ perlModules;
|
buildInputs = [ perlPackages.perl procps gdk_pixbuf librsvg ] ++ perlModules;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"
|
mkdir -p "$out"
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
(cd "$out" && mv CHANGES README COPYING "$out/share/doc/shutter")
|
(cd "$out" && mv CHANGES README COPYING "$out/share/doc/shutter")
|
||||||
|
|
||||||
wrapProgram $out/bin/shutter \
|
wrapProgram $out/bin/shutter \
|
||||||
--set PERL5LIB "${stdenv.lib.makePerlPath perlModules}" \
|
--set PERL5LIB "${perlPackages.makePerlPath perlModules}" \
|
||||||
--prefix PATH : "${imagemagick.out}/bin" \
|
--prefix PATH : "${imagemagick.out}/bin" \
|
||||||
--suffix XDG_DATA_DIRS : "${hicolor-icon-theme}/share" \
|
--suffix XDG_DATA_DIRS : "${hicolor-icon-theme}/share" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, makeWrapper, perl
|
{ stdenv, lib, fetchFromGitHub, makeWrapper, perlPackages
|
||||||
, MIMEtools, HTMLParser
|
, cursesSupport ? true
|
||||||
, cursesSupport ? true, CursesUI
|
, uriFindSupport ? true
|
||||||
, uriFindSupport ? true, URIFind
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
perlDeps =
|
perlDeps =
|
||||||
[ MIMEtools HTMLParser ]
|
[ perlPackages.MIMEtools perlPackages.HTMLParser ]
|
||||||
++ lib.optional cursesSupport CursesUI
|
++ lib.optional cursesSupport perlPackages.CursesUI
|
||||||
++ lib.optional uriFindSupport URIFind;
|
++ lib.optional uriFindSupport perlPackages.URIFind;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "extract_url-${version}";
|
name = "extract_url-${version}";
|
||||||
@ -22,14 +21,14 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ perl ] ++ perlDeps;
|
buildInputs = [ perlPackages.perl ] ++ perlDeps;
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" ];
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
installFlags = [ "INSTALL=install" ];
|
installFlags = [ "INSTALL=install" ];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram "$out/bin/extract_url" \
|
wrapProgram "$out/bin/extract_url" \
|
||||||
--set PERL5LIB "${lib.makeFullPerlPath perlDeps}"
|
--set PERL5LIB "${perlPackages.makeFullPerlPath perlDeps}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,13 +1,9 @@
|
|||||||
{ stdenv, fetchurl, perl, gettext, makeWrapper, PerlMagick, YAML
|
{ stdenv, fetchurl, perlPackages, gettext, makeWrapper, PerlMagick, which
|
||||||
, TextMarkdown, URI, HTMLParser, HTMLScrubber, HTMLTemplate, TimeDate
|
|
||||||
, CGISession, CGIFormBuilder, DBFile, LocaleGettext, RpcXML, XMLSimple
|
|
||||||
, YAMLLibYAML, which, HTMLTree, AuthenPassphrase, NetOpenIDConsumer
|
|
||||||
, LWPxParanoidAgent, CryptSSLeay
|
|
||||||
, gitSupport ? false, git ? null
|
, gitSupport ? false, git ? null
|
||||||
, docutilsSupport ? false, python ? null, docutils ? null
|
, docutilsSupport ? false, python ? null, docutils ? null
|
||||||
, monotoneSupport ? false, monotone ? null
|
, monotoneSupport ? false, monotone ? null
|
||||||
, bazaarSupport ? false, bazaar ? null
|
, bazaarSupport ? false, bazaar ? null
|
||||||
, cvsSupport ? false, cvs ? null, cvsps ? null, Filechdir ? null
|
, cvsSupport ? false, cvs ? null, cvsps ? null
|
||||||
, subversionSupport ? false, subversion ? null
|
, subversionSupport ? false, subversion ? null
|
||||||
, mercurialSupport ? false, mercurial ? null
|
, mercurialSupport ? false, mercurial ? null
|
||||||
, extraUtils ? []
|
, extraUtils ? []
|
||||||
@ -17,7 +13,7 @@ assert docutilsSupport -> (python != null && docutils != null);
|
|||||||
assert gitSupport -> (git != null);
|
assert gitSupport -> (git != null);
|
||||||
assert monotoneSupport -> (monotone != null);
|
assert monotoneSupport -> (monotone != null);
|
||||||
assert bazaarSupport -> (bazaar != null);
|
assert bazaarSupport -> (bazaar != null);
|
||||||
assert cvsSupport -> (cvs != null && cvsps != null && Filechdir != null);
|
assert cvsSupport -> (cvs != null && cvsps != null && perlPackages.Filechdir != null);
|
||||||
assert subversionSupport -> (subversion != null);
|
assert subversionSupport -> (subversion != null);
|
||||||
assert mercurialSupport -> (mercurial != null);
|
assert mercurialSupport -> (mercurial != null);
|
||||||
|
|
||||||
@ -35,20 +31,21 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz";
|
sha256 = "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate
|
buildInputs = [ which ]
|
||||||
TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext
|
++ (with perlPackages; [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate
|
||||||
RpcXML XMLSimple PerlMagick YAML YAMLLibYAML which HTMLTree AuthenPassphrase
|
TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext
|
||||||
NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ]
|
RpcXML XMLSimple PerlMagick YAML YAMLLibYAML HTMLTree AuthenPassphrase
|
||||||
|
NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ])
|
||||||
++ lib.optionals docutilsSupport [python docutils]
|
++ lib.optionals docutilsSupport [python docutils]
|
||||||
++ lib.optionals gitSupport [git]
|
++ lib.optionals gitSupport [git]
|
||||||
++ lib.optionals monotoneSupport [monotone]
|
++ lib.optionals monotoneSupport [monotone]
|
||||||
++ lib.optionals bazaarSupport [bazaar]
|
++ lib.optionals bazaarSupport [bazaar]
|
||||||
++ lib.optionals cvsSupport [cvs cvsps Filechdir]
|
++ lib.optionals cvsSupport [cvs cvsps perlPackages.Filechdir]
|
||||||
++ lib.optionals subversionSupport [subversion]
|
++ lib.optionals subversionSupport [subversion]
|
||||||
++ lib.optionals mercurialSupport [mercurial];
|
++ lib.optionals mercurialSupport [mercurial];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i s@/usr/bin/perl@${perl}/bin/perl@ pm_filter mdwn2man
|
sed -i s@/usr/bin/perl@${perlPackages.perl}/bin/perl@ pm_filter mdwn2man
|
||||||
sed -i s@/etc/ikiwiki@$out/etc@ Makefile.PL
|
sed -i s@/etc/ikiwiki@$out/etc@ Makefile.PL
|
||||||
sed -i /ENV{PATH}/d ikiwiki.in
|
sed -i /ENV{PATH}/d ikiwiki.in
|
||||||
# State the gcc dependency, and make the cgi use our wrapper
|
# State the gcc dependency, and make the cgi use our wrapper
|
||||||
@ -60,7 +57,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for a in "$out/bin/"*; do
|
for a in "$out/bin/"*; do
|
||||||
wrapProgram $a --suffix PERL5LIB : $PERL5LIB --prefix PATH : ${perl}/bin:$out/bin \
|
wrapProgram $a --suffix PERL5LIB : $PERL5LIB --prefix PATH : ${perlPackages.perl}/bin:$out/bin \
|
||||||
${lib.optionalString gitSupport ''--prefix PATH : ${git}/bin \''}
|
${lib.optionalString gitSupport ''--prefix PATH : ${git}/bin \''}
|
||||||
${lib.optionalString monotoneSupport ''--prefix PATH : ${monotone}/bin \''}
|
${lib.optionalString monotoneSupport ''--prefix PATH : ${monotone}/bin \''}
|
||||||
${lib.optionalString bazaarSupport ''--prefix PATH : ${bazaar}/bin \''}
|
${lib.optionalString bazaarSupport ''--prefix PATH : ${bazaar}/bin \''}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, qmake
|
{ stdenv, fetchFromGitHub, qmake
|
||||||
, coreutils, xdg_utils, bash
|
, coreutils, xdg_utils, bash
|
||||||
, perl, makeWrapper, perlPackages }:
|
, makeWrapper, perlPackages }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.4";
|
version = "1.4";
|
||||||
@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ qmake makeWrapper ];
|
nativeBuildInputs = [ qmake makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perlPackages.perl ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
substituteInPlace scripts/scripts.pro \
|
substituteInPlace scripts/scripts.pro \
|
||||||
@ -48,7 +48,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/qdirstat-cache-writer \
|
wrapProgram $out/bin/qdirstat-cache-writer \
|
||||||
--set PERL5LIB "${stdenv.lib.makePerlPath [ perlPackages.URI ]}"
|
--set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.URI ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -51,8 +51,8 @@ stdenv.mkDerivation (rec {
|
|||||||
''
|
''
|
||||||
# make urxvt find its perl file lib/perl5/site_perl is added to PERL5LIB automatically
|
# make urxvt find its perl file lib/perl5/site_perl is added to PERL5LIB automatically
|
||||||
+ stdenv.lib.optionalString perlSupport ''
|
+ stdenv.lib.optionalString perlSupport ''
|
||||||
mkdir -p $out/lib/perl5
|
mkdir -p $(dirname ${perl.libPrefix})
|
||||||
ln -s $out/{lib/urxvt,lib/perl5/site_perl}
|
ln -s $out/lib/urxvt $out/${perl.libPrefix}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
PERL5LIB="${perlPackages.Po4a}/lib/perl5"
|
|
||||||
DCFLAGS='-O -inline -release -version=StdLoggerDisableTrace'
|
DCFLAGS='-O -inline -release -version=StdLoggerDisableTrace'
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{
|
{ fetchFromGitHub, stdenv, lib, gettext, gtk2, makeWrapper, perlPackages, gnome2 }:
|
||||||
fetchFromGitHub, stdenv, lib,
|
|
||||||
makeWrapper, pkgs,
|
|
||||||
perl, perlPackages,
|
|
||||||
gnome2 }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
perlDeps = with perlPackages; [
|
perlDeps = with perlPackages; [
|
||||||
@ -24,7 +20,7 @@ let
|
|||||||
];
|
];
|
||||||
libs = [
|
libs = [
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
pkgs.gtk2
|
gtk2
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -38,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0x7hz8x8qyp3i1vb22zhcnvwxm3jhmmmlr22jqc5b09vpmbw1l45";
|
sha256 = "0x7hz8x8qyp3i1vb22zhcnvwxm3jhmmmlr22jqc5b09vpmbw1l45";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl pkgs.gettext makeWrapper ];
|
nativeBuildInputs = [ perlPackages.perl gettext makeWrapper ];
|
||||||
buildInputs = perlDeps ++ [gnome2.libglade];
|
buildInputs = perlDeps ++ [gnome2.libglade];
|
||||||
propagatedBuildInputs = libs ++ perlDeps;
|
propagatedBuildInputs = libs ++ perlDeps;
|
||||||
|
|
||||||
@ -55,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/yarssr \
|
wrapProgram $out/bin/yarssr \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath libs} \
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath libs} \
|
||||||
--set PERL5LIB "${lib.makePerlPath perlDeps}"
|
--set PERL5LIB "${perlPackages.makePerlPath perlDeps}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, runCommand, writeScriptBin, buildEnv
|
{ stdenv, lib, runCommand, writeScriptBin, buildEnv
|
||||||
, pythonPackages, perl, perlPackages
|
, pythonPackages, perlPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
weechat:
|
weechat:
|
||||||
@ -10,7 +10,7 @@ let
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
perlInterpreter = perl;
|
perlInterpreter = perlPackages.perl;
|
||||||
availablePlugins = let
|
availablePlugins = let
|
||||||
simplePlugin = name: {pluginFile = "${weechat.${name}}/lib/weechat/plugins/${name}.so";};
|
simplePlugin = name: {pluginFile = "${weechat.${name}}/lib/weechat/plugins/${name}.so";};
|
||||||
in rec {
|
in rec {
|
||||||
@ -29,7 +29,7 @@ let
|
|||||||
withPackages = pkgsFun: (perl // {
|
withPackages = pkgsFun: (perl // {
|
||||||
extraEnv = ''
|
extraEnv = ''
|
||||||
${perl.extraEnv}
|
${perl.extraEnv}
|
||||||
export PERL5LIB=${lib.makeFullPerlPath (pkgsFun perlPackages)}
|
export PERL5LIB=${perlPackages.makeFullPerlPath (pkgsFun perlPackages)}
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }: stdenv.mkDerivation rec {
|
{ stdenv, fetchFromGitHub, makeWrapper, perlPackages }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
name = "sieve-connect-${version}";
|
name = "sieve-connect-${version}";
|
||||||
version = "0.89";
|
version = "0.89";
|
||||||
|
|
||||||
@ -9,7 +11,7 @@
|
|||||||
sha256 = "0g7cv29wd5673inl4c87xb802k86bj6gcwh131xrbbg0a0g1c8fp";
|
sha256 = "0g7cv29wd5673inl4c87xb802k86bj6gcwh131xrbbg0a0g1c8fp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perlPackages.perl ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
@ -20,7 +22,7 @@
|
|||||||
echo "$(date +%Y-%m-%d)" > datefile
|
echo "$(date +%Y-%m-%d)" > datefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildFlags = [ "PERL5LIB=${stdenv.lib.makePerlPath [ perlPackages.FileSlurp ]}" "bin" "man" ];
|
buildFlags = [ "PERL5LIB=${perlPackages.makePerlPath [ perlPackages.FileSlurp ]}" "bin" "man" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
@ -28,9 +30,9 @@
|
|||||||
gzip -c sieve-connect.1 > $out/share/man/man1/sieve-connect.1.gz
|
gzip -c sieve-connect.1 > $out/share/man/man1/sieve-connect.1.gz
|
||||||
|
|
||||||
wrapProgram $out/bin/sieve-connect \
|
wrapProgram $out/bin/sieve-connect \
|
||||||
--prefix PERL5LIB : "${stdenv.lib.makePerlPath (with perlPackages; [
|
--prefix PERL5LIB : "${with perlPackages; makePerlPath [
|
||||||
AuthenSASL Socket6 IOSocketInet6 IOSocketSSL NetSSLeay NetDNS PodUsage
|
AuthenSASL Socket6 IOSocketInet6 IOSocketSSL NetSSLeay NetDNS PodUsage
|
||||||
TermReadKey TermReadLineGnu ])}"
|
TermReadKey TermReadLineGnu ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ fetchurl, stdenv, lib, makeWrapper,
|
{ fetchurl, stdenv, lib, makeWrapper,
|
||||||
erlang,
|
erlang,
|
||||||
python2, python2Packages,
|
python2, python2Packages,
|
||||||
perl, perlPackages,
|
perlPackages,
|
||||||
gnuplot }:
|
gnuplot }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
erlang
|
erlang
|
||||||
gnuplot
|
gnuplot
|
||||||
perl
|
perlPackages.perl
|
||||||
perlPackages.TemplateToolkit
|
perlPackages.TemplateToolkit
|
||||||
python2
|
python2
|
||||||
python2Packages.matplotlib
|
python2Packages.matplotlib
|
||||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Add Template Toolkit and gnuplot to tsung_stats.pl
|
# Add Template Toolkit and gnuplot to tsung_stats.pl
|
||||||
wrapProgram $out/bin/tsung_stats.pl \
|
wrapProgram $out/bin/tsung_stats.pl \
|
||||||
--prefix PATH : ${lib.makeBinPath [ gnuplot ]} \
|
--prefix PATH : ${lib.makeBinPath [ gnuplot ]} \
|
||||||
--set PERL5LIB "${lib.makePerlPath [ perlPackages.TemplateToolkit ]}"
|
--set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.TemplateToolkit ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
|
||||||
perl, MNI-Perllib, GetoptTabular,
|
perlPackages,
|
||||||
libminc, EBTKS }:
|
libminc, EBTKS }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc EBTKS ];
|
buildInputs = [ libminc EBTKS ];
|
||||||
propagatedBuildInputs = [ perl MNI-Perllib GetoptTabular ];
|
propagatedBuildInputs = with perlPackages; [ perl MNI-Perllib GetoptTabular ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, coreutils, perl, bicpl, libminc, zlib, minc_tools,
|
{ stdenv, fetchFromGitHub, cmake, coreutils, perlPackages, bicpl, libminc, zlib, minc_tools,
|
||||||
makeWrapper, GetoptTabular, MNI-Perllib }:
|
makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "conglomerate";
|
pname = "conglomerate";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc zlib bicpl ];
|
buildInputs = [ libminc zlib bicpl ];
|
||||||
propagatedBuildInputs = [ coreutils minc_tools perl GetoptTabular MNI-Perllib ];
|
propagatedBuildInputs = [ coreutils minc_tools ] ++ (with perlPackages; [ perl GetoptTabular MNI-Perllib ]);
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DBICPL_DIR=${bicpl}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DBICPL_DIR=${bicpl}/lib/" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
|
||||||
perl, GetoptTabular, MNI-Perllib,
|
perlPackages,
|
||||||
libminc, EBTKS }:
|
libminc, EBTKS }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc EBTKS ];
|
buildInputs = [ libminc EBTKS ];
|
||||||
propagatedBuildInputs = [ perl GetoptTabular MNI-Perllib ];
|
propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper, flex, bison, perl, TextFormat, libminc, libjpeg, zlib }:
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper, flex, bison, perlPackages, libminc, libjpeg, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "minc-tools";
|
pname = "minc-tools";
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake flex bison makeWrapper ];
|
nativeBuildInputs = [ cmake flex bison makeWrapper ];
|
||||||
buildInputs = [ libminc libjpeg zlib ];
|
buildInputs = [ libminc libjpeg zlib ];
|
||||||
propagatedBuildInputs = [ perl TextFormat ];
|
propagatedBuildInputs = with perlPackages; [ perl TextFormat ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper,
|
||||||
perl, GetoptTabular, MNI-Perllib,
|
perlPackages,
|
||||||
libminc, octave, coreutils, minc_tools }:
|
libminc, octave, coreutils, minc_tools }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc ];
|
buildInputs = [ libminc ];
|
||||||
propagatedBuildInputs = [ perl GetoptTabular MNI-Perllib octave coreutils minc_tools ];
|
propagatedBuildInputs = (with perlPackages; [ perl GetoptTabular MNI-Perllib ]) ++ [ octave coreutils minc_tools ];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for p in $out/bin/*; do
|
for p in $out/bin/*; do
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper, perl, GetoptTabular, MNI-Perllib, libminc }:
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper, perlPackages, libminc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mni_autoreg";
|
pname = "mni_autoreg";
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc ];
|
buildInputs = [ libminc ];
|
||||||
propagatedBuildInputs = [ perl GetoptTabular MNI-Perllib ];
|
propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DBUILD_TESTING=FALSE" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DBUILD_TESTING=FALSE" ];
|
||||||
# testing broken: './minc_wrapper: Permission denied' from Testing/ellipse0.mnc
|
# testing broken: './minc_wrapper: Permission denied' from Testing/ellipse0.mnc
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ fetchurl, stdenv, buildPackages
|
{ fetchurl, stdenv, buildPackages
|
||||||
, curl, openssl, zlib, expat, perl, python, gettext, cpio
|
, curl, openssl, zlib, expat, perlPackages, python, gettext, cpio
|
||||||
, gnugrep, gnused, gawk, coreutils # needed at runtime by git-filter-branch etc
|
, gnugrep, gnused, gawk, coreutils # needed at runtime by git-filter-branch etc
|
||||||
, openssh, pcre2
|
, openssh, pcre2
|
||||||
, asciidoc, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_45
|
, asciidoc, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_45
|
||||||
@ -59,11 +59,11 @@ stdenv.mkDerivation {
|
|||||||
--subst-var-by gettext ${gettext}
|
--subst-var-by gettext ${gettext}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext perl ]
|
nativeBuildInputs = [ gettext perlPackages.perl ]
|
||||||
++ stdenv.lib.optionals withManual [ asciidoc texinfo xmlto docbook2x
|
++ stdenv.lib.optionals withManual [ asciidoc texinfo xmlto docbook2x
|
||||||
docbook_xsl docbook_xml_dtd_45 libxslt ];
|
docbook_xsl docbook_xml_dtd_45 libxslt ];
|
||||||
buildInputs = [curl openssl zlib expat cpio makeWrapper libiconv]
|
buildInputs = [curl openssl zlib expat cpio makeWrapper libiconv]
|
||||||
++ stdenv.lib.optionals perlSupport [ perl ]
|
++ stdenv.lib.optionals perlSupport [ perlPackages.perl ]
|
||||||
++ stdenv.lib.optionals guiSupport [tcl tk]
|
++ stdenv.lib.optionals guiSupport [tcl tk]
|
||||||
++ stdenv.lib.optionals withpcre2 [ pcre2 ]
|
++ stdenv.lib.optionals withpcre2 [ pcre2 ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ]
|
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ]
|
||||||
@ -86,7 +86,7 @@ stdenv.mkDerivation {
|
|||||||
"prefix=\${out}"
|
"prefix=\${out}"
|
||||||
"SHELL_PATH=${stdenv.shell}"
|
"SHELL_PATH=${stdenv.shell}"
|
||||||
]
|
]
|
||||||
++ (if perlSupport then ["PERL_PATH=${perl}/bin/perl"] else ["NO_PERL=1"])
|
++ (if perlSupport then ["PERL_PATH=${perlPackages.perl}/bin/perl"] else ["NO_PERL=1"])
|
||||||
++ (if pythonSupport then ["PYTHON_PATH=${python}/bin/python"] else ["NO_PYTHON=1"])
|
++ (if pythonSupport then ["PYTHON_PATH=${python}/bin/python"] else ["NO_PYTHON=1"])
|
||||||
++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="]
|
++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="]
|
||||||
++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc/"])
|
++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc/"])
|
||||||
@ -152,7 +152,7 @@ stdenv.mkDerivation {
|
|||||||
'${gnugrep}/bin/grep', '${gnused}/bin/sed', '${gawk}/bin/awk',
|
'${gnugrep}/bin/grep', '${gnused}/bin/sed', '${gawk}/bin/awk',
|
||||||
'${coreutils}/bin/cut', '${coreutils}/bin/basename', '${coreutils}/bin/dirname',
|
'${coreutils}/bin/cut', '${coreutils}/bin/basename', '${coreutils}/bin/dirname',
|
||||||
'${coreutils}/bin/wc', '${coreutils}/bin/tr'
|
'${coreutils}/bin/wc', '${coreutils}/bin/tr'
|
||||||
${stdenv.lib.optionalString perlSupport ", '${perl}/bin/perl'"}
|
${stdenv.lib.optionalString perlSupport ", '${perlPackages.perl}/bin/perl'"}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
foreach $c (@a) {
|
foreach $c (@a) {
|
||||||
@ -173,50 +173,37 @@ stdenv.mkDerivation {
|
|||||||
mv $out/share/gitweb $gitweb/
|
mv $out/share/gitweb $gitweb/
|
||||||
|
|
||||||
# wrap perl commands
|
# wrap perl commands
|
||||||
gitperllib=$out/lib/perl5/site_perl
|
|
||||||
for i in ${builtins.toString perlLibs}; do
|
|
||||||
gitperllib=$gitperllib:$i/lib/perl5/site_perl
|
|
||||||
done
|
|
||||||
|
|
||||||
makeWrapper "$out/share/git/contrib/credential/netrc/git-credential-netrc" $out/bin/git-credential-netrc \
|
makeWrapper "$out/share/git/contrib/credential/netrc/git-credential-netrc" $out/bin/git-credential-netrc \
|
||||||
--set PERL5LIB "$gitperllib"
|
--set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
|
||||||
wrapProgram $out/libexec/git-core/git-cvsimport \
|
wrapProgram $out/libexec/git-core/git-cvsimport \
|
||||||
--set GITPERLLIB "$gitperllib"
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
|
||||||
wrapProgram $out/libexec/git-core/git-add--interactive \
|
wrapProgram $out/libexec/git-core/git-add--interactive \
|
||||||
--set GITPERLLIB "$gitperllib"
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
|
||||||
wrapProgram $out/libexec/git-core/git-archimport \
|
wrapProgram $out/libexec/git-core/git-archimport \
|
||||||
--set GITPERLLIB "$gitperllib"
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
|
||||||
wrapProgram $out/libexec/git-core/git-instaweb \
|
wrapProgram $out/libexec/git-core/git-instaweb \
|
||||||
--set GITPERLLIB "$gitperllib"
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
|
||||||
wrapProgram $out/libexec/git-core/git-cvsexportcommit \
|
wrapProgram $out/libexec/git-core/git-cvsexportcommit \
|
||||||
--set GITPERLLIB "$gitperllib"
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
|
||||||
''
|
''
|
||||||
|
|
||||||
+ (if svnSupport then
|
+ (if svnSupport then ''
|
||||||
|
# wrap git-svn
|
||||||
''# wrap git-svn
|
wrapProgram $out/libexec/git-core/git-svn \
|
||||||
gitperllib=$out/lib/perl5/site_perl
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath (perlLibs ++ [svn.out])}" \
|
||||||
for i in ${builtins.toString perlLibs} ${svn.out}; do
|
|
||||||
gitperllib=$gitperllib:$i/lib/perl5/site_perl
|
|
||||||
done
|
|
||||||
wrapProgram $out/libexec/git-core/git-svn \
|
|
||||||
--set GITPERLLIB "$gitperllib" \
|
|
||||||
--prefix PATH : "${svn.out}/bin" ''
|
--prefix PATH : "${svn.out}/bin" ''
|
||||||
else '' # replace git-svn by notification script
|
else '' # replace git-svn by notification script
|
||||||
notSupported $out/libexec/git-core/git-svn
|
notSupported $out/libexec/git-core/git-svn
|
||||||
'')
|
'')
|
||||||
|
|
||||||
+ (if sendEmailSupport then
|
+ (if sendEmailSupport then ''
|
||||||
''# wrap git-send-email
|
# wrap git-send-email
|
||||||
gitperllib=$out/lib/perl5/site_perl
|
|
||||||
for i in ${builtins.toString smtpPerlLibs}; do
|
|
||||||
gitperllib=$gitperllib:$i/lib/perl5/site_perl
|
|
||||||
done
|
|
||||||
wrapProgram $out/libexec/git-core/git-send-email \
|
wrapProgram $out/libexec/git-core/git-send-email \
|
||||||
--set GITPERLLIB "$gitperllib" ''
|
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath smtpPerlLibs}"
|
||||||
else '' # replace git-send-email by notification script
|
'' else ''
|
||||||
|
# replace git-send-email by notification script
|
||||||
notSupported $out/libexec/git-core/git-send-email
|
notSupported $out/libexec/git-core/git-send-email
|
||||||
'')
|
'')
|
||||||
|
|
||||||
+ stdenv.lib.optionalString withManual ''# Install man pages and Info manual
|
+ stdenv.lib.optionalString withManual ''# Install man pages and Info manual
|
||||||
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-info \
|
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-info \
|
||||||
@ -238,9 +225,9 @@ stdenv.mkDerivation {
|
|||||||
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
# enable git-credential-osxkeychain by default if darwin
|
# enable git-credential-osxkeychain by default if darwin
|
||||||
cat > $out/etc/gitconfig << EOF
|
cat > $out/etc/gitconfig << EOF
|
||||||
[credential]
|
[credential]
|
||||||
helper = osxkeychain
|
helper = osxkeychain
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ in stdenv.mkDerivation {
|
|||||||
$out/gitweb.cgi
|
$out/gitweb.cgi
|
||||||
# Give access to CGI.pm and friends (was removed from perl core in 5.22)
|
# Give access to CGI.pm and friends (was removed from perl core in 5.22)
|
||||||
for p in ${stdenv.lib.concatStringsSep " " gitwebPerlLibs}; do
|
for p in ${stdenv.lib.concatStringsSep " " gitwebPerlLibs}; do
|
||||||
sed -i -e "/use CGI /i use lib \"$p/lib/perl5/site_perl\";" \
|
sed -i -e "/use CGI /i use lib \"$p/${perlPackages.perl.libPrefix}\";" \
|
||||||
"$out/gitweb.cgi"
|
"$out/gitweb.cgi"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/${name}
|
mkdir -p $out/share/${name}
|
||||||
cp -rv contrib/ $out/share/${name}/contrib
|
cp -rv contrib/ $out/share/${name}/contrib
|
||||||
mkdir -p $out/lib/perl5/site_perl/${perlVersion}
|
mkdir -p $out/${perl.libPrefix}/${perlVersion}
|
||||||
cp -v contrib/Monotone.pm $out/lib/perl5/site_perl/${perlVersion}
|
cp -v contrib/Monotone.pm $out/${perl.libPrefix}/${perlVersion}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#doCheck = true; # some tests fail (and they take VERY long)
|
#doCheck = true; # some tests fail (and they take VERY long)
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand
|
{ stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
|
||||||
, TestMost, TestDifferences, TestDeep, TestException, TestWarn
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.20170915"; # date of commit we're pulling
|
version = "1.20170915"; # date of commit we're pulling
|
||||||
@ -13,10 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ which git ronn ]
|
||||||
which git ronn perl ShellCommand TestMost TestDifferences TestDeep
|
++ (with perlPackages; [ perl ShellCommand TestMost TestDifferences TestDeep TestException TestWarn ]);
|
||||||
TestException TestWarn
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = "make install PREFIX=$out";
|
installPhase = "make install PREFIX=$out";
|
||||||
|
|
||||||
|
@ -192,12 +192,12 @@ rec {
|
|||||||
name = "perl-environment";
|
name = "perl-environment";
|
||||||
paths = libraries;
|
paths = libraries;
|
||||||
pathsToLink = [
|
pathsToLink = [
|
||||||
"/lib/perl5/site_perl"
|
"/${pkgs.perl.libPrefix}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
makeScriptWriter {
|
makeScriptWriter {
|
||||||
interpreter = "${pkgs.perl}/bin/perl -I ${perl-env}/lib/perl5/site_perl";
|
interpreter = "${pkgs.perl}/bin/perl -I ${perl-env}/${pkgs.perl.libPrefix}";
|
||||||
} name;
|
} name;
|
||||||
|
|
||||||
# writePerlBin takes the same arguments as writePerl but outputs a directory (like writeScriptBin)
|
# writePerlBin takes the same arguments as writePerl but outputs a directory (like writeScriptBin)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
|
||||||
, perl, libxml2, IOStringy }:
|
, perlPackages, libxml2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "hivex-${version}";
|
name = "hivex-${version}";
|
||||||
@ -14,9 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoreconfHook makeWrapper
|
autoreconfHook makeWrapper libxml2
|
||||||
perl libxml2 IOStringy
|
] ++ (with perlPackages; [ perl IOStringy ]);
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for bin in $out/bin/*; do
|
for bin in $out/bin/*; do
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
|
||||||
, ncurses, cpio, gperf, perl, cdrkit, flex, bison, qemu, pcre, augeas, libxml2
|
, ncurses, cpio, gperf, cdrkit, flex, bison, qemu, pcre, augeas, libxml2
|
||||||
, acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex
|
, acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex
|
||||||
, gmp, readline, file, libintl_perl, GetoptLong, SysVirt, numactl, xen, libapparmor
|
, gmp, readline, file, numactl, xen, libapparmor
|
||||||
, getopt, perlPackages, ocamlPackages
|
, getopt, perlPackages, ocamlPackages
|
||||||
, appliance ? null
|
, appliance ? null
|
||||||
, javaSupport ? false, jdk ? null }:
|
, javaSupport ? false, jdk ? null }:
|
||||||
@ -20,11 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
makeWrapper autoreconfHook ncurses cpio gperf perl
|
makeWrapper autoreconfHook ncurses cpio gperf
|
||||||
cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig
|
cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig
|
||||||
systemd fuse yajl libvirt gmp readline file hivex libintl_perl GetoptLong
|
systemd fuse yajl libvirt gmp readline file hivex
|
||||||
SysVirt numactl xen libapparmor getopt perlPackages.ModuleBuild
|
numactl xen libapparmor getopt perlPackages.ModuleBuild
|
||||||
] ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt ocaml_gettext ounit ])
|
] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ])
|
||||||
|
++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt ocaml_gettext ounit ])
|
||||||
++ stdenv.lib.optional javaSupport jdk;
|
++ stdenv.lib.optional javaSupport jdk;
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -52,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||||||
for bin in $out/bin/*; do
|
for bin in $out/bin/*; do
|
||||||
wrapProgram "$bin" \
|
wrapProgram "$bin" \
|
||||||
--prefix PATH : "$out/bin:${hivex}/bin:${qemu}/bin" \
|
--prefix PATH : "$out/bin:${hivex}/bin:${qemu}/bin" \
|
||||||
--prefix PERL5LIB : "$out/lib/perl5/site_perl"
|
--prefix PERL5LIB : "$out/${perlPackages.perl.libPrefix}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, buildPerlPackage, DBI, sqlite }:
|
{ stdenv, fetchurl, buildPerlPackage, perl, DBI, sqlite }:
|
||||||
|
|
||||||
buildPerlPackage rec {
|
buildPerlPackage rec {
|
||||||
name = "DBD-SQLite-1.58";
|
name = "DBD-SQLite-1.58";
|
||||||
@ -20,7 +20,7 @@ buildPerlPackage rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Get rid of a pointless copy of the SQLite sources.
|
# Get rid of a pointless copy of the SQLite sources.
|
||||||
rm -rf $out/lib/perl5/site_perl/*/*/auto/share
|
rm -rf $out/${perl.libPrefix}/*/*/auto/share
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, llvm, clang-unwrapped
|
, llvm, clang-unwrapped
|
||||||
, flex
|
, flex
|
||||||
, zlib
|
, zlib
|
||||||
, perl, ExporterLite, FileWhich, GetoptTabular, RegexpCommon, TermReadKey
|
, perlPackages
|
||||||
, utillinux
|
, utillinux
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -22,8 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Actual deps:
|
# Actual deps:
|
||||||
llvm clang-unwrapped
|
llvm clang-unwrapped
|
||||||
flex zlib
|
flex zlib
|
||||||
perl ExporterLite FileWhich GetoptTabular RegexpCommon TermReadKey
|
] ++ (with perlPackages; [ perl ExporterLite FileWhich GetoptTabular RegexpCommon TermReadKey ]);
|
||||||
];
|
|
||||||
|
|
||||||
# On Linux, c-reduce's preferred way to reason about
|
# On Linux, c-reduce's preferred way to reason about
|
||||||
# the cpu architecture/topology is to use 'lscpu',
|
# the cpu architecture/topology is to use 'lscpu',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, m4, makeWrapper, libbsd, perl, SysCPU }:
|
{ stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "csmith-${version}";
|
name = "csmith-${version}";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ m4 makeWrapper ];
|
nativeBuildInputs = [ m4 makeWrapper ];
|
||||||
buildInputs = [ perl SysCPU libbsd ];
|
buildInputs = [ libbsd ] ++ (with perlPackages; [ perl SysCPU ]);
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/bin/compiler_test.pl \
|
substituteInPlace $out/bin/compiler_test.pl \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, gettext, LocaleGettext }:
|
{ stdenv, fetchurl, perlPackages, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "help2man-1.47.8";
|
name = "help2man-1.47.8";
|
||||||
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1p5830h88cx0zn0snwaj0vpph81xicpsirfwlxmcgjrlmn0nm3sj";
|
sha256 = "1p5830h88cx0zn0snwaj0vpph81xicpsirfwlxmcgjrlmn0nm3sj";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext LocaleGettext ];
|
nativeBuildInputs = [ gettext perlPackages.LocaleGettext ];
|
||||||
buildInputs = [ perl LocaleGettext ];
|
buildInputs = [ perlPackages.perl perlPackages.LocaleGettext ];
|
||||||
|
|
||||||
doCheck = false; # target `check' is missing
|
doCheck = false; # target `check' is missing
|
||||||
|
|
||||||
@ -18,11 +18,10 @@ stdenv.mkDerivation rec {
|
|||||||
# We don't use makeWrapper here because it uses substitutions our
|
# We don't use makeWrapper here because it uses substitutions our
|
||||||
# bootstrap shell can't handle.
|
# bootstrap shell can't handle.
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
gettext_perl="$(echo ${LocaleGettext}/lib/perl*/site_perl)"
|
|
||||||
mv $out/bin/help2man $out/bin/.help2man-wrapped
|
mv $out/bin/help2man $out/bin/.help2man-wrapped
|
||||||
cat > $out/bin/help2man <<EOF
|
cat > $out/bin/help2man <<EOF
|
||||||
#! $SHELL -e
|
#! $SHELL -e
|
||||||
export PERL5LIB=\''${PERL5LIB:+:}$gettext_perl
|
export PERL5LIB=\''${PERL5LIB:+:}${perlPackages.LocaleGettext}/${perlPackages.perl.libPrefix}
|
||||||
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
|
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
|
||||||
''export PATH=\''${PATH:+:}${gettext}/bin''}
|
''export PATH=\''${PATH:+:}${gettext}/bin''}
|
||||||
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
|
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, perl, XMLSimple, librsvg}:
|
{stdenv, fetchurl, perlPackages, librsvg}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "icon-naming-utils-0.8.90";
|
name = "icon-naming-utils-0.8.90";
|
||||||
@ -8,13 +8,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4";
|
sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [perl XMLSimple librsvg];
|
buildInputs = [ librsvg ] ++ (with perlPackages; [ perl XMLSimple ]);
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
# Add XML::Simple to the runtime search path.
|
# Add XML::Simple to the runtime search path.
|
||||||
substituteInPlace $out/libexec/icon-name-mapping \
|
substituteInPlace $out/libexec/icon-name-mapping \
|
||||||
--replace '/bin/perl' '/bin/perl -I${XMLSimple}/lib/perl5/site_perl'
|
--replace '/bin/perl' '/bin/perl -I${perlPackages.XMLSimple}/${perlPackages.perl.libPrefix}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perlPackages, perl, makeWrapper, openssl }:
|
{ stdenv, fetchurl, perlPackages, makeWrapper, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sslmate-1.7.0";
|
name = "sslmate-1.7.0";
|
||||||
@ -10,11 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
buildInputs = [ perl makeWrapper ];
|
buildInputs = [ perlPackages.perl makeWrapper ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/sslmate --prefix PERL5LIB : \
|
wrapProgram $out/bin/sslmate --prefix PERL5LIB : \
|
||||||
"${with perlPackages; stdenv.lib.makePerlPath [
|
"${with perlPackages; makePerlPath [
|
||||||
URI
|
URI
|
||||||
JSONPP
|
JSONPP
|
||||||
TermReadKey
|
TermReadKey
|
||||||
|
@ -22,7 +22,7 @@ perlPackages.buildPerlPackage rec {
|
|||||||
sed -i '/p2_mp4h\/doc/d' Makefile.in
|
sed -i '/p2_mp4h\/doc/d' Makefile.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = with perlPackages;
|
buildInputs = with perlPackages;
|
||||||
[ perl TermReadKey GD BitVector ncurses lynx makeWrapper ImageSize ];
|
[ perl TermReadKey GD BitVector ncurses lynx makeWrapper ImageSize ];
|
||||||
|
|
||||||
patches = [ ./redhat-with-thr.patch ./dynaloader.patch ./no_bitvector.patch ];
|
patches = [ ./redhat-with-thr.patch ./dynaloader.patch ./no_bitvector.patch ];
|
||||||
@ -45,7 +45,7 @@ perlPackages.buildPerlPackage rec {
|
|||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/wml \
|
wrapProgram $out/bin/wml \
|
||||||
--set PERL5LIB ${with perlPackages; stdenv.lib.makePerlPath [
|
--set PERL5LIB ${with perlPackages; makePerlPath [
|
||||||
BitVector TermReadKey ImageSize
|
BitVector TermReadKey ImageSize
|
||||||
]}
|
]}
|
||||||
'';
|
'';
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
, swig
|
, swig
|
||||||
, ncurses
|
, ncurses
|
||||||
, pam
|
, pam
|
||||||
|
, libnotify
|
||||||
, buildPackages
|
, buildPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -79,6 +80,8 @@ let
|
|||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
||||||
prePatch = prePatchCommon + ''
|
prePatch = prePatchCommon + ''
|
||||||
|
substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.am --replace install_vendor install_site
|
||||||
|
substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.in --replace install_vendor install_site
|
||||||
substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${stdenv.cc.libc.dev}/include/netinet/in.h"
|
substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${stdenv.cc.libc.dev}/include/netinet/in.h"
|
||||||
substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${stdenv.cc.libc.dev}/include/netinet/in.h"
|
substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${stdenv.cc.libc.dev}/include/netinet/in.h"
|
||||||
'';
|
'';
|
||||||
@ -127,9 +130,10 @@ let
|
|||||||
wrapProgram $out/bin/$prog --prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
wrapProgram $out/bin/$prog --prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
||||||
done
|
done
|
||||||
|
|
||||||
for prog in aa-notify ; do
|
substituteInPlace $out/bin/aa-notify --replace /usr/bin/notify-send ${libnotify}/bin/notify-send
|
||||||
wrapProgram $out/bin/$prog --prefix PERL5LIB : "${libapparmor}/lib/perl5:$PERL5LIB"
|
# aa-notify checks its name and does not work named ".aa-notify-wrapped"
|
||||||
done
|
mv $out/bin/aa-notify $out/bin/aa-notify-wrapped
|
||||||
|
makeWrapper ${perl}/bin/perl $out/bin/aa-notify --set PERL5LIB ${libapparmor}/${perl.libPrefix} --add-flags $out/bin/aa-notify-wrapped
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, perl, fetchurl, Error, MailDKIM, MIMETools, NetServer }:
|
{ stdenv, perlPackages, fetchurl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pkg = "dkimproxy";
|
pkg = "dkimproxy";
|
||||||
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perlPackages.perl ];
|
||||||
propagatedBuildInputs = [ Error MailDKIM MIMETools NetServer ];
|
propagatedBuildInputs = with perlPackages; [ Error MailDKIM MIMETools NetServer ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "SMTP-proxy that signs and/or verifies emails";
|
description = "SMTP-proxy that signs and/or verifies emails";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchurl, makeWrapper
|
{ stdenv, lib, fetchurl, makeWrapper
|
||||||
, gawk, gnused, gnugrep, coreutils, which
|
, gawk, gnused, gnugrep, coreutils, which
|
||||||
, perl, libnet
|
, perlPackages
|
||||||
, withMySQL ? false, zlib, mysql57
|
, withMySQL ? false, zlib, mysql57
|
||||||
, withPgSQL ? false, postgresql
|
, withPgSQL ? false, postgresql
|
||||||
, withSQLite ? false, sqlite
|
, withSQLite ? false, sqlite
|
||||||
@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "1acklnxn1wvc7abn31l3qdj8q6k13s51k5gv86vka7q20jb5cxmf";
|
sha256 = "1acklnxn1wvc7abn31l3qdj8q6k13s51k5gv86vka7q20jb5cxmf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ]
|
buildInputs = [ perlPackages.perl ]
|
||||||
++ lib.optionals withMySQL [ zlib mysql57.connector-c ]
|
++ lib.optionals withMySQL [ zlib mysql57.connector-c ]
|
||||||
++ lib.optional withPgSQL postgresql
|
++ lib.optional withPgSQL postgresql
|
||||||
++ lib.optional withSQLite sqlite
|
++ lib.optional withSQLite sqlite
|
||||||
@ -62,7 +62,7 @@ in stdenv.mkDerivation rec {
|
|||||||
rm -rf $out/var
|
rm -rf $out/var
|
||||||
|
|
||||||
wrapProgram $out/bin/dspam_notify \
|
wrapProgram $out/bin/dspam_notify \
|
||||||
--set PERL5LIB "${lib.makePerlPath [ libnet ]}"
|
--set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.libnet ]}"
|
||||||
|
|
||||||
# Install SQL scripts
|
# Install SQL scripts
|
||||||
mkdir -p $out/share/dspam/sql
|
mkdir -p $out/share/dspam/sql
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, perl, perlPackages, lib, runCommand, postfix }:
|
{ stdenv, fetchurl, perlPackages, lib, runCommand, postfix }:
|
||||||
|
|
||||||
let
|
let
|
||||||
mk-perl-flags = inputs: lib.concatStringsSep " " (map (dep: "-I ${dep}/lib/perl5/site_perl") inputs);
|
mk-perl-flags = inputs: lib.concatStringsSep " " (map (dep: "-I ${dep}/${perlPackages.perl.libPrefix}") inputs);
|
||||||
postgrey-flags = mk-perl-flags (with perlPackages; [
|
postgrey-flags = mk-perl-flags (with perlPackages; [
|
||||||
NetServer BerkeleyDB DigestSHA1 NetAddrIP IOMultiplex
|
NetServer BerkeleyDB DigestSHA1 NetAddrIP IOMultiplex
|
||||||
]);
|
]);
|
||||||
@ -26,9 +26,9 @@ in runCommand name {
|
|||||||
cd $out
|
cd $out
|
||||||
tar -xzf $src --strip-components=1
|
tar -xzf $src --strip-components=1
|
||||||
mv postgrey policy-test bin
|
mv postgrey policy-test bin
|
||||||
sed -i -e "s,#!/usr/bin/perl -T,#!${perl}/bin/perl -T ${postgrey-flags}," \
|
sed -i -e "s,#!/usr/bin/perl -T,#!${perlPackages.perl}/bin/perl -T ${postgrey-flags}," \
|
||||||
-e "s#/etc/postfix#$out#" \
|
-e "s#/etc/postfix#$out#" \
|
||||||
bin/postgrey
|
bin/postgrey
|
||||||
sed -i -e "s,#!/usr/bin/perl,#!${perl}/bin/perl ${policy-test-flags}," \
|
sed -i -e "s,#!/usr/bin/perl,#!${perlPackages.perl}/bin/perl ${policy-test-flags}," \
|
||||||
bin/policy-test
|
bin/policy-test
|
||||||
''
|
''
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, perlPackages, HTMLParser, NetDNS, NetAddrIP, DBFile
|
{ stdenv, fetchurl, perlPackages, makeWrapper, gnupg1 }:
|
||||||
, HTTPDate, MailDKIM, LWP, IOSocketSSL, makeWrapper, gnupg1
|
|
||||||
}:
|
|
||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
name = "SpamAssassin-3.4.1";
|
name = "SpamAssassin-3.4.1";
|
||||||
@ -13,12 +11,12 @@ perlPackages.buildPerlPackage rec {
|
|||||||
# https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7434
|
# https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7434
|
||||||
patches = [ ./sa-update_add--siteconfigpath.patch ];
|
patches = [ ./sa-update_add--siteconfigpath.patch ];
|
||||||
|
|
||||||
buildInputs = with perlPackages; [ makeWrapper HTMLParser NetDNS NetAddrIP DBFile HTTPDate MailDKIM
|
buildInputs = [ makeWrapper ] ++ (with perlPackages; [ HTMLParser NetDNS NetAddrIP DBFile HTTPDate MailDKIM
|
||||||
LWP IOSocketSSL DBI EncodeDetect IPCountry NetIdent Razor2ClientAgent MailSPF NetDNSResolverProgrammable ];
|
LWP IOSocketSSL DBI EncodeDetect IPCountry NetIdent Razor2ClientAgent MailSPF NetDNSResolverProgrammable ]);
|
||||||
|
|
||||||
# Enabling 'taint' mode is desirable, but that flag disables support
|
# Enabling 'taint' mode is desirable, but that flag disables support
|
||||||
# for the PERL5LIB environment variable. Needs further investigation.
|
# for the PERL5LIB environment variable. Needs further investigation.
|
||||||
makeFlags = "PERL_BIN=${perl}/bin/perl PERL_TAINT=no";
|
makeFlags = "PERL_BIN=${perlPackages.perl}/bin/perl PERL_TAINT=no";
|
||||||
|
|
||||||
makeMakerFlags = "CONFDIR=/homeless/shelter LOCALSTATEDIR=/var/lib/spamassassin";
|
makeMakerFlags = "CONFDIR=/homeless/shelter LOCALSTATEDIR=/var/lib/spamassassin";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, which, coreutils, rrdtool, perl, perlPackages
|
{ stdenv, fetchFromGitHub, makeWrapper, which, coreutils, rrdtool, perlPackages
|
||||||
, python, ruby, jre, nettools, bc
|
, python, ruby, jre, nettools, bc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
coreutils
|
coreutils
|
||||||
rrdtool
|
rrdtool
|
||||||
nettools
|
nettools
|
||||||
perl
|
perlPackages.perl
|
||||||
perlPackages.ModuleBuild
|
perlPackages.ModuleBuild
|
||||||
perlPackages.HTMLTemplate
|
perlPackages.HTMLTemplate
|
||||||
perlPackages.NetCIDR
|
perlPackages.NetCIDR
|
||||||
@ -60,8 +60,8 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export PERL5LIB="$PERL5LIB:${rrdtool}/lib/perl5/site_perl"
|
export PERL5LIB="$PERL5LIB:${rrdtool}/${perlPackages.perl.libPrefix}"
|
||||||
LC_ALL=C make -j1 test
|
LC_ALL=C make -j1 test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -95,8 +95,8 @@ stdenv.mkDerivation rec {
|
|||||||
makeFlags = ''
|
makeFlags = ''
|
||||||
PREFIX=$(out)
|
PREFIX=$(out)
|
||||||
DESTDIR=$(out)
|
DESTDIR=$(out)
|
||||||
PERLLIB=$(out)/lib/perl5/site_perl
|
PERLLIB=$(out)/${perlPackages.perl.libPrefix}
|
||||||
PERL=${perl}/bin/perl
|
PERL=${perlPackages.perl}/bin/perl
|
||||||
PYTHON=${python}/bin/python
|
PYTHON=${python}/bin/python
|
||||||
RUBY=${ruby}/bin/ruby
|
RUBY=${ruby}/bin/ruby
|
||||||
JAVARUN=${jre}/bin/java
|
JAVARUN=${jre}/bin/java
|
||||||
@ -118,7 +118,7 @@ stdenv.mkDerivation rec {
|
|||||||
*.jar) continue;;
|
*.jar) continue;;
|
||||||
esac
|
esac
|
||||||
wrapProgram "$file" \
|
wrapProgram "$file" \
|
||||||
--set PERL5LIB "$out/lib/perl5/site_perl:${with perlPackages; stdenv.lib.makePerlPath [
|
--set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${with perlPackages; makePerlPath [
|
||||||
LogLog4perl IOSocketInet6 Socket6 URI DBFile DateManip
|
LogLog4perl IOSocketInet6 Socket6 URI DBFile DateManip
|
||||||
HTMLTemplate FileCopyRecursive FCGI NetCIDR NetSNMP NetServer
|
HTMLTemplate FileCopyRecursive FCGI NetCIDR NetSNMP NetServer
|
||||||
ListMoreUtils TimeHiRes DBDPg LWP rrdtool
|
ListMoreUtils TimeHiRes DBDPg LWP rrdtool
|
||||||
|
@ -24,9 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
perlversion=$(perl -e 'use Config; print $Config{version};')
|
|
||||||
perlarchname=$(perl -e 'use Config; print $Config{archname};')
|
perlarchname=$(perl -e 'use Config; print $Config{archname};')
|
||||||
installFlags="INSTALLSITEARCH=$out/lib/perl5/site_perl/$perlversion/$perlarchname INSTALLSITEMAN3DIR=$out/share/man/man3"
|
installFlags="INSTALLSITEARCH=$out/${perl.libPrefix}/${perl.version}/$perlarchname INSTALLSITEMAN3DIR=$out/share/man/man3"
|
||||||
|
|
||||||
# http://comments.gmane.org/gmane.network.net-snmp.user/32434
|
# http://comments.gmane.org/gmane.network.net-snmp.user/32434
|
||||||
substituteInPlace "man/Makefile.in" --replace 'grep -vE' '@EGREP@ -v'
|
substituteInPlace "man/Makefile.in" --replace 'grep -vE' '@EGREP@ -v'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchurl, autoreconfHook, makeWrapper
|
{ stdenv, fetchFromGitHub, fetchurl, autoreconfHook, makeWrapper
|
||||||
, perl, DBDsybase, NetSNMP, coreutils, gnused, gnugrep }:
|
, perlPackages, coreutils, gnused, gnugrep }:
|
||||||
|
|
||||||
let
|
let
|
||||||
glplugin = fetchFromGitHub {
|
glplugin = fetchFromGitHub {
|
||||||
@ -12,7 +12,7 @@ let
|
|||||||
generic = { pname, version, sha256, description, buildInputs, ... }:
|
generic = { pname, version, sha256, description, buildInputs, ... }:
|
||||||
let
|
let
|
||||||
name' = "${stdenv.lib.replaceStrings [ "-" ] [ "_" ] "${pname}"}-${version}";
|
name' = "${stdenv.lib.replaceStrings [ "-" ] [ "_" ] "${pname}"}-${version}";
|
||||||
in perl.stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -20,7 +20,7 @@ let
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ] ++ buildInputs;
|
buildInputs = [ perlPackages.perl ] ++ buildInputs;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook makeWrapper ];
|
nativeBuildInputs = [ autoreconfHook makeWrapper ];
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ in {
|
|||||||
version = "2.6.4.14";
|
version = "2.6.4.14";
|
||||||
sha256 = "0w6gybrs7imx169l8740s0ax3adya867fw0abrampx59mnsj5pm1";
|
sha256 = "0w6gybrs7imx169l8740s0ax3adya867fw0abrampx59mnsj5pm1";
|
||||||
description = "Check plugin for Microsoft SQL Server.";
|
description = "Check plugin for Microsoft SQL Server.";
|
||||||
buildInputs = [ DBDsybase ];
|
buildInputs = [ perlPackages.DBDsybase ];
|
||||||
};
|
};
|
||||||
|
|
||||||
check-nwc-health = generic {
|
check-nwc-health = generic {
|
||||||
@ -66,7 +66,7 @@ in {
|
|||||||
version = "7.0.1.3";
|
version = "7.0.1.3";
|
||||||
sha256 = "0rgd6zgd7kplx3z72n8zbzwkh8vnd83361sk9ibh6ng78sds1sl5";
|
sha256 = "0rgd6zgd7kplx3z72n8zbzwkh8vnd83361sk9ibh6ng78sds1sl5";
|
||||||
description = "Check plugin for network equipment.";
|
description = "Check plugin for network equipment.";
|
||||||
buildInputs = [ NetSNMP ];
|
buildInputs = [ perlPackages.NetSNMP ];
|
||||||
};
|
};
|
||||||
|
|
||||||
check-ups-health = generic {
|
check-ups-health = generic {
|
||||||
@ -74,6 +74,6 @@ in {
|
|||||||
version = "2.8.2.2";
|
version = "2.8.2.2";
|
||||||
sha256 = "1gc2wjsymay2vk5ywc1jj9cvrbhs0fs851x8l4nc75df2g75v521";
|
sha256 = "1gc2wjsymay2vk5ywc1jj9cvrbhs0fs851x8l4nc75df2g75v521";
|
||||||
description = "Check plugin for UPSs.";
|
description = "Check plugin for UPSs.";
|
||||||
buildInputs = [ NetSNMP ];
|
buildInputs = [ perlPackages.NetSNMP ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, makeWrapper
|
{ stdenv, fetchurl, fetchpatch, makeWrapper
|
||||||
, perl, perlPackages, flac, faad2, sox, lame, monkeysAudio, wavpack }:
|
, perlPackages, flac, faad2, sox, lame, monkeysAudio, wavpack }:
|
||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
name = "slimserver-${version}";
|
name = "slimserver-${version}";
|
||||||
@ -12,7 +12,7 @@ perlPackages.buildPerlPackage rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
perl
|
perlPackages.perl
|
||||||
perlPackages.AnyEvent
|
perlPackages.AnyEvent
|
||||||
perlPackages.AudioScan
|
perlPackages.AudioScan
|
||||||
perlPackages.CarpClan
|
perlPackages.CarpClan
|
||||||
@ -77,9 +77,9 @@ perlPackages.buildPerlPackage rec {
|
|||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mv lib tmp
|
mv lib tmp
|
||||||
mkdir -p lib/perl5/site_perl
|
mkdir -p ${perlPackages.perl.libPrefix}
|
||||||
mv CPAN_used/* lib/perl5/site_perl
|
mv CPAN_used/* ${perlPackages.perl.libPrefix}
|
||||||
cp -rf tmp/* lib/perl5/site_perl
|
cp -rf tmp/* ${perlPackages.perl.libPrefix}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
for p in $out/bin/*
|
for p in $out/bin/*
|
||||||
do wrapProgram "$p" \
|
do wrapProgram "$p" \
|
||||||
--prefix PERL5LIB ":" "${perlPackages.DBFile}/lib/perl5/site_perl" \
|
--prefix PERL5LIB ":" "${perlPackages.DBFile}/${perlPackages.perl.libPrefix}" \
|
||||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ which bzip2 ]}"
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ which bzip2 ]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ perlPackages.buildPerlPackage rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/rename \
|
wrapProgram $out/bin/rename \
|
||||||
--prefix PERL5LIB : $out/lib/perl5/site_perl
|
--prefix PERL5LIB : $out/${perlPackages.perl.libPrefix}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, unzip, makeWrapper, perl, ImageExifTool
|
{ stdenv, fetchurl, unzip, makeWrapper, perlPackages
|
||||||
, CpanelJSONXS, coreutils, zip, imagemagick, pngcrush, lcms2
|
, coreutils, zip, imagemagick, pngcrush, lcms2
|
||||||
, facedetect, fbida }:
|
, facedetect, fbida }:
|
||||||
|
|
||||||
# TODO: add optional dependencies (snippet from fgallery source):
|
# TODO: add optional dependencies (snippet from fgallery source):
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "18wlvqbxcng8pawimbc8f2422s8fnk840hfr6946lzsxr0ijakvf";
|
sha256 = "18wlvqbxcng8pawimbc8f2422s8fnk840hfr6946lzsxr0ijakvf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip makeWrapper perl ImageExifTool CpanelJSONXS ];
|
buildInputs = [ unzip makeWrapper ] ++ (with perlPackages; [ perl ImageExifTool CpanelJSONXS ]);
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for name in get-{oui,iab}; do
|
for name in get-{oui,iab}; do
|
||||||
wrapProgram "$out/bin/$name" --set PERL5LIB "${stdenv.lib.makePerlPath perlModules }"
|
wrapProgram "$out/bin/$name" --set PERL5LIB "${perlPackages.makePerlPath perlModules }"
|
||||||
done;
|
done;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, perl
|
{ stdenv, fetchFromGitHub, makeWrapper, perlPackages }:
|
||||||
, AlgorithmDiff, ParallelForkManager, RegexpCommon
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cloc-${version}";
|
name = "cloc-${version}";
|
||||||
@ -17,9 +15,9 @@ stdenv.mkDerivation rec {
|
|||||||
sourceRoot=$(echo */Unix)
|
sourceRoot=$(echo */Unix)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ makeWrapper ] ++ (with perlPackages; [
|
||||||
makeWrapper perl AlgorithmDiff ParallelForkManager RegexpCommon
|
perl AlgorithmDiff ParallelForkManager RegexpCommon
|
||||||
];
|
]);
|
||||||
|
|
||||||
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];
|
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, CryptSSLeay, LWP, unzip, xz, dpkg, TimeDate, DBFile
|
{stdenv, fetchurl, unzip, xz, dpkg
|
||||||
, FileDesktopEntry, libxslt, docbook_xsl, makeWrapper
|
, libxslt, docbook_xsl, makeWrapper
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, perlPackages, curl, gnupg, diffutils
|
, perlPackages, curl, gnupg, diffutils
|
||||||
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||||
@ -16,10 +16,8 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "0xy1nvqrnifx46g8ch69pk31by0va6hn10wpi1fkrsrgncanjjh1";
|
sha256 = "0xy1nvqrnifx46g8ch69pk31by0va6hn10wpi1fkrsrgncanjjh1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl CryptSSLeay LWP unzip xz dpkg TimeDate DBFile
|
buildInputs = [ unzip xz dpkg libxslt python setuptools makeWrapper curl gnupg diffutils ] ++
|
||||||
FileDesktopEntry libxslt python setuptools makeWrapper
|
(with perlPackages; [ perl CryptSSLeay LWP TimeDate DBFile FileDesktopEntry ParseDebControl LWPProtocolHttps ]);
|
||||||
perlPackages.ParseDebControl perlPackages.LWPProtocolHttps
|
|
||||||
curl gnupg diffutils ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${dpkg}";
|
export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${dpkg}";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perl, IPCRun, TimeDate, TimeDuration, makeWrapper, darwin }:
|
{ stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perlPackages, makeWrapper, darwin }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ]
|
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ]
|
||||||
++ optional stdenv.isDarwin darwin.cctools;
|
++ optional stdenv.isDarwin darwin.cctools;
|
||||||
|
|
||||||
propagatedBuildInputs = [ perl IPCRun TimeDate TimeDuration ];
|
propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ];
|
||||||
|
|
||||||
buildFlags = "CC=cc";
|
buildFlags = "CC=cc";
|
||||||
installFlags = "PREFIX=$(out)";
|
installFlags = "PREFIX=$(out)";
|
||||||
|
@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# for munin and rrdtool support
|
# for munin and rrdtool support
|
||||||
mkdir -p $out/lib/perl5/site_perl/
|
mkdir -p $out/${perl.libPrefix}
|
||||||
mv $out/lib/perl/5* $out/lib/perl5/site_perl/
|
mv $out/lib/perl/5* $out/${perl.libPrefix}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--with-perl-installdir=\${out}/lib/perl5/site_perl" "--sbindir=\${out}/bin" ];
|
configureFlags = [ "--with-perl-installdir=\${out}/${perl.libPrefix}" "--sbindir=\${out}/bin" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rmdir $out/var/run $out/var
|
rmdir $out/var/run $out/var
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
postFixup = ''
|
postFixup = ''
|
||||||
for pls in $out/bin/{ibfindnodesusing.pl,ibidsverify.pl}; do
|
for pls in $out/bin/{ibfindnodesusing.pl,ibidsverify.pl}; do
|
||||||
echo "wrapping $pls"
|
echo "wrapping $pls"
|
||||||
wrapProgram $pls --prefix PERL5LIB : "$out/lib/perl5/site_perl"
|
wrapProgram $pls --prefix PERL5LIB : "$out/${perl.libPrefix}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, zlib, protobuf, ncurses, pkgconfig, IOTty
|
{ lib, stdenv, fetchurl, zlib, protobuf, ncurses, pkgconfig
|
||||||
, makeWrapper, perl, openssl, autoreconfHook, openssh, bash-completion
|
, makeWrapper, perlPackages, openssl, autoreconfHook, openssh, bash-completion
|
||||||
, libutempter ? null, withUtempter ? stdenv.isLinux }:
|
, libutempter ? null, withUtempter ? stdenv.isLinux }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ protobuf ncurses zlib IOTty makeWrapper perl openssl bash-completion ] ++ lib.optional withUtempter libutempter;
|
buildInputs = [ protobuf ncurses zlib makeWrapper openssl bash-completion ]
|
||||||
|
++ (with perlPackages; [ perl IOTty ])
|
||||||
|
++ lib.optional withUtempter libutempter;
|
||||||
|
|
||||||
patches = [ ./ssh_path.patch ./utempter_path.patch ];
|
patches = [ ./ssh_path.patch ./utempter_path.patch ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, perl, WWWMechanize, LWP, makeWrapper}:
|
{stdenv, fetchurl, perlPackages, makeWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "slimrat-1.0";
|
name = "slimrat-1.0";
|
||||||
@ -7,10 +7,10 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "139b71d45k4b1y47iq62a9732cnaqqbh8s4knkrgq2hx0jxpsk5a";
|
sha256 = "139b71d45k4b1y47iq62a9732cnaqqbh8s4knkrgq2hx0jxpsk5a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl WWWMechanize LWP makeWrapper ];
|
buildInputs = [ makeWrapper ] ++ (with perlPackages; [ perl WWWMechanize LWP ]);
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -e 's,#!.*,#!${perl}/bin/perl,' -i src/{slimrat,slimrat-gui}
|
sed -e 's,#!.*,#!${perlPackages.perl}/bin/perl,' -i src/{slimrat,slimrat-gui}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fping, rrdtool, FCGI, CGI
|
{ stdenv, fetchurl, fping, rrdtool, perlPackages }:
|
||||||
, CGIFast, ConfigGrammar, DigestHMAC, NetTelnet
|
|
||||||
, NetOpenSSH, NetSNMP, LWP, IOTty, perl, NetDNS
|
|
||||||
, perlldap
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "smokeping-${version}";
|
name = "smokeping-${version}";
|
||||||
@ -11,9 +7,10 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://oss.oetiker.ch/smokeping/pub/smokeping-${version}.tar.gz";
|
url = "https://oss.oetiker.ch/smokeping/pub/smokeping-${version}.tar.gz";
|
||||||
sha256 = "1p9hpa2zs33p7hzrds80kwrm5255s0869v3s3qmsyx2sx63c7czj";
|
sha256 = "1p9hpa2zs33p7hzrds80kwrm5255s0869v3s3qmsyx2sx63c7czj";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [ rrdtool ] ++
|
||||||
rrdtool FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet NetOpenSSH
|
(with perlPackages; [ perl FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet
|
||||||
NetSNMP LWP IOTty fping perl NetDNS perlldap ];
|
NetOpenSSH NetSNMP LWP IOTty fping NetDNS perlldap ]);
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
|
mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
|
||||||
'';
|
'';
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
mv swaks $out/bin/
|
mv swaks $out/bin/
|
||||||
|
|
||||||
wrapProgram $out/bin/swaks --set PERL5LIB \
|
wrapProgram $out/bin/swaks --set PERL5LIB \
|
||||||
"${with perlPackages; stdenv.lib.makePerlPath [
|
"${with perlPackages; makePerlPath [
|
||||||
NetSSLeay AuthenSASL NetDNS IOSocketInet6
|
NetSSLeay AuthenSASL NetDNS IOSocketInet6
|
||||||
]}"
|
]}"
|
||||||
'';
|
'';
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ fetchurl, stdenv, makeWrapper, perl, LWP, URI, HTMLParser
|
{ fetchurl, stdenv, makeWrapper, perlPackages }:
|
||||||
, HTTPServerSimple, Parent }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "swec-0.4";
|
name = "swec-0.4";
|
||||||
@ -9,13 +8,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1m3971z4z1wr0paggprfz0n8ng8vsnkc9m6s3bdplgyz7qjk6jwx";
|
sha256 = "1m3971z4z1wr0paggprfz0n8ng8vsnkc9m6s3bdplgyz7qjk6jwx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper perl LWP URI HTMLParser ];
|
buildInputs = [ makeWrapper perlPackages.perl perlPackages.LWP perlPackages.URI perlPackages.HTMLParser ];
|
||||||
checkInputs = [ HTTPServerSimple Parent ];
|
checkInputs = [ perlPackages.HTTPServerSimple perlPackages.Parent ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
for i in swec tests/{runTests,testServer}
|
for i in swec tests/{runTests,testServer}
|
||||||
do
|
do
|
||||||
sed -i "$i" -e's|/usr/bin/perl|${perl}/bin/perl|g'
|
sed -i "$i" -e's|/usr/bin/perl|${perlPackages.perl}/bin/perl|g'
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -29,9 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i "$out/bin/swec" -e"s|realpath(\$0)|'$out/share/${name}/swec'|g"
|
sed -i "$out/bin/swec" -e"s|realpath(\$0)|'$out/share/${name}/swec'|g"
|
||||||
|
|
||||||
wrapProgram "$out/bin/swec" \
|
wrapProgram "$out/bin/swec" \
|
||||||
--prefix PERL5LIB : \
|
--prefix PERL5LIB : ${with perlPackages; makePerlPath [ LWP URI HTMLParser ]}
|
||||||
${stdenv.lib.concatStringsSep ":"
|
|
||||||
(map (x: "${x}/lib/perl5/site_perl") [ LWP URI HTMLParser ])}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, gettext, pkgconfig, perl
|
{ stdenv, fetchurl, gettext, pkgconfig, perlPackages
|
||||||
, libidn2, zlib, pcre, libuuid, libiconv, libintl
|
, libidn2, zlib, pcre, libuuid, libiconv, libintl
|
||||||
, IOSocketSSL, LWP, python3, lzip
|
, python3, lzip
|
||||||
, libpsl ? null
|
, libpsl ? null
|
||||||
, openssl ? null }:
|
, openssl ? null }:
|
||||||
|
|
||||||
@ -28,12 +28,12 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext pkgconfig perl lzip libiconv libintl ];
|
nativeBuildInputs = [ gettext pkgconfig perlPackages.perl lzip libiconv libintl ];
|
||||||
buildInputs = [ libidn2 zlib pcre libuuid ]
|
buildInputs = [ libidn2 zlib pcre libuuid ]
|
||||||
++ stdenv.lib.optionals doCheck [ IOSocketSSL LWP python3 ]
|
++ stdenv.lib.optionals doCheck [ perlPackages.IOSocketSSL perlPackages.LWP python3 ]
|
||||||
++ stdenv.lib.optional (openssl != null) openssl
|
++ stdenv.lib.optional (openssl != null) openssl
|
||||||
++ stdenv.lib.optional (libpsl != null) libpsl
|
++ stdenv.lib.optional (libpsl != null) libpsl
|
||||||
++ stdenv.lib.optional stdenv.isDarwin perl;
|
++ stdenv.lib.optional stdenv.isDarwin perlPackages.perl;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(stdenv.lib.withFeatureAs (openssl != null) "ssl" "openssl")
|
(stdenv.lib.withFeatureAs (openssl != null) "ssl" "openssl")
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
{ stdenv, lib, fetchzip, pkgconfig, cmake, perl, curl, gtest, lzma, bzip2 , lz4
|
{ stdenv, lib, fetchzip, pkgconfig, cmake, perlPackages, curl, gtest, lzma, bzip2, lz4
|
||||||
, db, dpkg, libxslt, docbook_xsl, docbook_xml_dtd_45
|
, db, dpkg, libxslt, docbook_xsl, docbook_xml_dtd_45
|
||||||
|
|
||||||
# used when WITH_DOC=ON
|
# used when WITH_DOC=ON
|
||||||
, w3m
|
, w3m
|
||||||
, Po4a
|
|
||||||
, doxygen
|
, doxygen
|
||||||
|
|
||||||
# used when WITH_NLS=ON
|
# used when WITH_NLS=ON
|
||||||
@ -27,16 +26,14 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake perl curl gtest lzma bzip2 lz4 db dpkg libxslt.bin
|
cmake perlPackages.perl curl gtest lzma bzip2 lz4 db dpkg libxslt.bin
|
||||||
] ++ lib.optionals withDocs [
|
] ++ lib.optionals withDocs [
|
||||||
doxygen Po4a w3m docbook_xml_dtd_45
|
doxygen perlPackages.Po4a w3m docbook_xml_dtd_45
|
||||||
] ++ lib.optionals withNLS [
|
] ++ lib.optionals withNLS [
|
||||||
gettext
|
gettext
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${Po4a}/lib/perl5";
|
|
||||||
|
|
||||||
cmakeFlagsArray+=(
|
cmakeFlagsArray+=(
|
||||||
-DBERKELEY_DB_INCLUDE_DIRS=${db.dev}/include
|
-DBERKELEY_DB_INCLUDE_DIRS=${db.dev}/include
|
||||||
-DDOCBOOK_XSL="${docbook_xsl}"/share/xml/docbook-xsl
|
-DDOCBOOK_XSL="${docbook_xsl}"/share/xml/docbook-xsl
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
chmod +x $out/share/kpcli.pl
|
chmod +x $out/share/kpcli.pl
|
||||||
|
|
||||||
makeWrapper $out/share/kpcli.pl $out/bin/kpcli --set PERL5LIB \
|
makeWrapper $out/share/kpcli.pl $out/bin/kpcli --set PERL5LIB \
|
||||||
"${with perlPackages; stdenv.lib.makePerlPath ([
|
"${with perlPackages; makePerlPath ([
|
||||||
CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser
|
CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"
|
] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"
|
||||||
'';
|
'';
|
||||||
|
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
|||||||
postFixup =
|
postFixup =
|
||||||
let wrapperArgs = runtimeDeps:
|
let wrapperArgs = runtimeDeps:
|
||||||
"--prefix PERL5LIB : "
|
"--prefix PERL5LIB : "
|
||||||
+ (with perlPackages; stdenv.lib.makePerlPath [
|
+ (with perlPackages; makePerlPath [
|
||||||
CryptOpenSSLRSA
|
CryptOpenSSLRSA
|
||||||
CryptOpenSSLBignum
|
CryptOpenSSLBignum
|
||||||
])
|
])
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, makeWrapper, pkgconfig, udev, dbus, pcsclite
|
{ stdenv, lib, fetchurl, makeWrapper, pkgconfig, udev, dbus, pcsclite
|
||||||
, wget, coreutils
|
, wget, coreutils, perlPackages
|
||||||
, perl, pcscperl, Glib, Gtk2, Pango, Cairo
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let deps = lib.makeBinPath [ wget coreutils ];
|
let deps = lib.makeBinPath [ wget coreutils ];
|
||||||
@ -13,17 +12,17 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "050x3yqd5ywl385zai3k1zhbm2lz1f5ksalfpm9hd86s50f03ans";
|
sha256 = "050x3yqd5ywl385zai3k1zhbm2lz1f5ksalfpm9hd86s50f03ans";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ udev dbus perl pcsclite ];
|
buildInputs = [ udev dbus perlPackages.perl pcsclite ];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/scriptor \
|
wrapProgram $out/bin/scriptor \
|
||||||
--set PERL5LIB "${lib.makePerlPath [ pcscperl ]}"
|
--set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl ]}"
|
||||||
wrapProgram $out/bin/gscriptor \
|
wrapProgram $out/bin/gscriptor \
|
||||||
--set PERL5LIB "${lib.makePerlPath [ pcscperl Glib Gtk2 Pango Cairo ]}"
|
--set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl Glib Gtk2 Pango Cairo ]}"
|
||||||
wrapProgram $out/bin/ATR_analysis \
|
wrapProgram $out/bin/ATR_analysis \
|
||||||
--set PERL5LIB "${lib.makePerlPath [ pcscperl ]}"
|
--set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl ]}"
|
||||||
wrapProgram $out/bin/pcsc_scan \
|
wrapProgram $out/bin/pcsc_scan \
|
||||||
--set PATH "$out/bin:${deps}"
|
--set PATH "$out/bin:${deps}"
|
||||||
'';
|
'';
|
||||||
|
@ -122,14 +122,14 @@ in stdenv.mkDerivation rec {
|
|||||||
# scripts)
|
# scripts)
|
||||||
|
|
||||||
wrapProgram $out/bin/caff --set PERL5LIB \
|
wrapProgram $out/bin/caff --set PERL5LIB \
|
||||||
${with perlPackages; stdenv.lib.makePerlPath ([
|
${with perlPackages; makePerlPath ([
|
||||||
TextTemplate MIMETools MailTools TimeDate NetIDNEncode ]
|
TextTemplate MIMETools MailTools TimeDate NetIDNEncode ]
|
||||||
++ GnuPGInterfaceRuntimeDependencies)} \
|
++ GnuPGInterfaceRuntimeDependencies)} \
|
||||||
--prefix PATH ":" \
|
--prefix PATH ":" \
|
||||||
"${stdenv.lib.makeBinPath [ nettools gnupg1 ]}"
|
"${stdenv.lib.makeBinPath [ nettools gnupg1 ]}"
|
||||||
|
|
||||||
wrapProgram $out/bin/gpg-key2latex --set PERL5LIB \
|
wrapProgram $out/bin/gpg-key2latex --set PERL5LIB \
|
||||||
${stdenv.lib.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
${perlPackages.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
||||||
--prefix PATH ":" \
|
--prefix PATH ":" \
|
||||||
"${stdenv.lib.makeBinPath [ gnupg1 libpaper ]}"
|
"${stdenv.lib.makeBinPath [ gnupg1 libpaper ]}"
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ in stdenv.mkDerivation rec {
|
|||||||
"${stdenv.lib.makeBinPath [ gnupg1 qprint ]}"
|
"${stdenv.lib.makeBinPath [ gnupg1 qprint ]}"
|
||||||
|
|
||||||
wrapProgram $out/bin/gpgdir --set PERL5LIB \
|
wrapProgram $out/bin/gpgdir --set PERL5LIB \
|
||||||
${with perlPackages; stdenv.lib.makePerlPath ([
|
${with perlPackages; makePerlPath ([
|
||||||
TermReadKey ]
|
TermReadKey ]
|
||||||
++ GnuPGInterfaceRuntimeDependencies)} \
|
++ GnuPGInterfaceRuntimeDependencies)} \
|
||||||
--prefix PATH ":" \
|
--prefix PATH ":" \
|
||||||
@ -155,7 +155,7 @@ in stdenv.mkDerivation rec {
|
|||||||
# wrapProgram $out/bin/gpgparticipants-prefill
|
# wrapProgram $out/bin/gpgparticipants-prefill
|
||||||
|
|
||||||
wrapProgram $out/bin/gpgsigs --set PERL5LIB \
|
wrapProgram $out/bin/gpgsigs --set PERL5LIB \
|
||||||
${stdenv.lib.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
${perlPackages.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
||||||
--prefix PATH ":" \
|
--prefix PATH ":" \
|
||||||
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
||||||
|
|
||||||
@ -171,12 +171,12 @@ in stdenv.mkDerivation rec {
|
|||||||
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
||||||
|
|
||||||
wrapProgram $out/bin/pgp-clean --set PERL5LIB \
|
wrapProgram $out/bin/pgp-clean --set PERL5LIB \
|
||||||
${stdenv.lib.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
${perlPackages.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
||||||
--prefix PATH ":" \
|
--prefix PATH ":" \
|
||||||
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
||||||
|
|
||||||
wrapProgram $out/bin/pgp-fixkey --set PERL5LIB \
|
wrapProgram $out/bin/pgp-fixkey --set PERL5LIB \
|
||||||
${stdenv.lib.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
${perlPackages.makePerlPath GnuPGInterfaceRuntimeDependencies} \
|
||||||
--prefix PATH ":" \
|
--prefix PATH ":" \
|
||||||
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
"${stdenv.lib.makeBinPath [ gnupg1 ]}"
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ in stdenv.mkDerivation rec {
|
|||||||
# wrapProgram $out/bin/sig2dot
|
# wrapProgram $out/bin/sig2dot
|
||||||
|
|
||||||
wrapProgram $out/bin/springgraph --set PERL5LIB \
|
wrapProgram $out/bin/springgraph --set PERL5LIB \
|
||||||
${with perlPackages; stdenv.lib.makePerlPath [ GD ]}
|
${with perlPackages; makePerlPath [ GD ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, lockfileProgs, perl, mimeConstruct }:
|
{ stdenv, fetchurl, lockfileProgs, perlPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "logcheck-${version}";
|
name = "logcheck-${version}";
|
||||||
@ -16,13 +16,13 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace src/logtail --replace "/usr/bin/perl" "${perl}/bin/perl"
|
substituteInPlace src/logtail --replace "/usr/bin/perl" "${perlPackages.perl}/bin/perl"
|
||||||
substituteInPlace src/logtail2 --replace "/usr/bin/perl" "${perl}/bin/perl"
|
substituteInPlace src/logtail2 --replace "/usr/bin/perl" "${perlPackages.perl}/bin/perl"
|
||||||
|
|
||||||
sed -i -e 's|! -f /usr/bin/lockfile|! -f ${lockfileProgs}/bin/lockfile|' \
|
sed -i -e 's|! -f /usr/bin/lockfile|! -f ${lockfileProgs}/bin/lockfile|' \
|
||||||
-e 's|^\([ \t]*\)lockfile-|\1${lockfileProgs}/bin/lockfile-|' \
|
-e 's|^\([ \t]*\)lockfile-|\1${lockfileProgs}/bin/lockfile-|' \
|
||||||
-e "s|/usr/sbin/logtail2|$out/sbin/logtail2|" \
|
-e "s|/usr/sbin/logtail2|$out/sbin/logtail2|" \
|
||||||
-e 's|mime-construct|${mimeConstruct}/bin/mime-construct|' \
|
-e 's|mime-construct|${perlPackages.mimeConstruct}/bin/mime-construct|' \
|
||||||
-e 's|\$(run-parts --list "\$dir")|"$dir"/*|' src/logcheck
|
-e 's|\$(run-parts --list "\$dir")|"$dir"/*|' src/logcheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
"SBINDIR=sbin"
|
"SBINDIR=sbin"
|
||||||
"BINDIR=bin"
|
"BINDIR=bin"
|
||||||
"SHAREDIR=share/logtail/detectrotate"
|
"SHAREDIR=share/logtail/detectrotate"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Mails anomalies in the system logfiles to the administrator";
|
description = "Mails anomalies in the system logfiles to the administrator";
|
||||||
@ -44,6 +44,5 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://logcheck.alioth.debian.org/;
|
homepage = http://logcheck.alioth.debian.org/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.bluescreen303 ];
|
maintainers = [ maintainers.bluescreen303 ];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, perl, makeWrapper, perlPackages }:
|
{ stdenv, lib, fetchurl, makeWrapper, perlPackages }:
|
||||||
|
|
||||||
let
|
let
|
||||||
perlDeps = with perlPackages; [ TimeDate ];
|
perlDeps = with perlPackages; [ TimeDate ];
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perlPackages.perl ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
sourceRoot=.
|
sourceRoot=.
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/mb2md \
|
wrapProgram $out/bin/mb2md \
|
||||||
--set PERL5LIB "${lib.makePerlPath perlDeps}"
|
--set PERL5LIB "${perlPackages.makePerlPath perlDeps}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -11,14 +11,13 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ perl ];
|
buildInputs = [ perl ];
|
||||||
|
|
||||||
# First install the `File::MMagic' Perl module.
|
# First install the `File::MMagic' Perl module.
|
||||||
# !!! this shouldn't refer to Perl 5.10.0!
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
( cd File-MMagic && \
|
( cd File-MMagic && \
|
||||||
perl Makefile.PL \
|
perl Makefile.PL \
|
||||||
LIB="$out/lib/perl5/site_perl/5.10.0" \
|
LIB="$out/${perl.libPrefix}/${perl.version}" \
|
||||||
INSTALLSITEMAN3DIR="$out/man" && \
|
INSTALLSITEMAN3DIR="$out/man" && \
|
||||||
make && make install )
|
make && make install )
|
||||||
export PERL5LIB="$out/lib/perl5/site_perl/5.10.0:$PERL5LIB"
|
export PERL5LIB="$out/${perl.libPrefix}/${perl.version}:$PERL5LIB"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# FIXME: The `tests/namazu-6' test fails on GNU/Linux, presumably because
|
# FIXME: The `tests/namazu-6' test fails on GNU/Linux, presumably because
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }: stdenv.mkDerivation rec {
|
{ stdenv, fetchurl, makeWrapper, perlPackages }: stdenv.mkDerivation rec {
|
||||||
name = "schema2ldif-${version}";
|
name = "schema2ldif-${version}";
|
||||||
version = "1.3";
|
version = "1.3";
|
||||||
|
|
||||||
@ -7,7 +7,7 @@
|
|||||||
sha256 = "00cd9xx9g0mnnfn5lvay3vg166z84jla0ya1x34ljdc8bflxsr9a";
|
sha256 = "00cd9xx9g0mnnfn5lvay3vg166z84jla0ya1x34ljdc8bflxsr9a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perlPackages.perl ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -18,7 +18,7 @@
|
|||||||
gzip -c man/ldap-schema-manager.1 > $out/share/man/man1/ldap-schema-manager.1.gz
|
gzip -c man/ldap-schema-manager.1 > $out/share/man/man1/ldap-schema-manager.1.gz
|
||||||
|
|
||||||
wrapProgram $out/bin/schema2ldif \
|
wrapProgram $out/bin/schema2ldif \
|
||||||
--prefix PERL5PATH : "${stdenv.lib.makePerlPath [ perlPackages.GetoptLong perlPackages.PodUsage ]}"
|
--prefix PERL5PATH : "${perlPackages.makePerlPath [ perlPackages.GetoptLong perlPackages.PodUsage ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, makeWrapper, zip, libxslt, PerlMagick }:
|
{ stdenv, fetchurl, perlPackages, makeWrapper, zip, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "docbook2odf-0.244";
|
name = "docbook2odf-0.244";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "10k44g0qqa37k30pfj8vz95j6zdzz0nmnqjq1lyahfs2h4glzgwb";
|
sha256 = "10k44g0qqa37k30pfj8vz95j6zdzz0nmnqjq1lyahfs2h4glzgwb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl makeWrapper ];
|
buildInputs = [ perlPackages.perl makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin/"
|
mkdir -p "$out/bin/"
|
||||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
wrapProgram "$out/bin/docbook2odf" \
|
wrapProgram "$out/bin/docbook2odf" \
|
||||||
--prefix PATH : "${stdenv.lib.makeBinPath [ zip libxslt ]}" \
|
--prefix PATH : "${stdenv.lib.makeBinPath [ zip libxslt ]}" \
|
||||||
--prefix PERL5PATH : "${stdenv.lib.makePerlPath [PerlMagick]}"
|
--prefix PERL5PATH : "${perlPackages.makePerlPath [ perlPackages.PerlMagick ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ fetchurl, stdenv, texinfo, perl
|
{ fetchurl, stdenv, texinfo, perlPackages
|
||||||
, XMLSAX, XMLSAXBase, XMLParser, XMLNamespaceSupport
|
|
||||||
, groff, libxml2, libxslt, gnused, libiconv, opensp
|
, groff, libxml2, libxslt, gnused, libiconv, opensp
|
||||||
, docbook_xml_dtd_43
|
, docbook_xml_dtd_43
|
||||||
, makeWrapper }:
|
, makeWrapper }:
|
||||||
@ -16,9 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
# writes its output to stdout instead of creating a file.
|
# writes its output to stdout instead of creating a file.
|
||||||
patches = [ ./db2x_texixml-to-stdout.patch ];
|
patches = [ ./db2x_texixml-to-stdout.patch ];
|
||||||
|
|
||||||
buildInputs = [ perl texinfo groff libxml2 libxslt makeWrapper
|
buildInputs = [ texinfo groff libxml2 libxslt makeWrapper opensp libiconv ]
|
||||||
XMLSAX XMLParser XMLNamespaceSupport opensp libiconv
|
++ (with perlPackages; [ perl XMLSAX XMLParser XMLNamespaceSupport ]);
|
||||||
];
|
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
# Broken substitution is used for `perl/config.pl', which leaves literal
|
# Broken substitution is used for `perl/config.pl', which leaves literal
|
||||||
@ -36,10 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
do
|
do
|
||||||
# XXX: We work around the fact that `wrapProgram' doesn't support
|
# XXX: We work around the fact that `wrapProgram' doesn't support
|
||||||
# spaces below by inserting escaped backslashes.
|
# spaces below by inserting escaped backslashes.
|
||||||
wrapProgram $out/bin/$i --prefix PERL5LIB : \
|
wrapProgram $out/bin/$i \
|
||||||
"${XMLSAX}/lib/perl5/site_perl:${XMLSAXBase}/lib/perl5/site_perl:${XMLParser}/lib/perl5/site_perl" \
|
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [XMLSAX XMLParser XMLNamespaceSupport]} \
|
||||||
--prefix PERL5LIB : \
|
|
||||||
"${XMLNamespaceSupport}/lib/perl5/site_perl" \
|
|
||||||
--prefix XML_CATALOG_FILES "\ " \
|
--prefix XML_CATALOG_FILES "\ " \
|
||||||
"$out/share/docbook2X/dtd/catalog.xml\ $out/share/docbook2X/xslt/catalog.xml\ ${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml"
|
"$out/share/docbook2X/dtd/catalog.xml\ $out/share/docbook2X/xslt/catalog.xml\ ${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml"
|
||||||
done
|
done
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ substituteAll, perl, perlPackages, shadow, utillinux }:
|
{ substituteAll, perlPackages, shadow, utillinux }:
|
||||||
|
|
||||||
substituteAll {
|
substituteAll {
|
||||||
name = "nixos-container";
|
name = "nixos-container";
|
||||||
dir = "bin";
|
dir = "bin";
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
src = ./nixos-container.pl;
|
src = ./nixos-container.pl;
|
||||||
perl = "${perl}/bin/perl -I${perlPackages.FileSlurp}/lib/perl5/site_perl";
|
perl = "${perlPackages.perl}/bin/perl -I${perlPackages.FileSlurp}/${perlPackages.perl.libPrefix}";
|
||||||
su = "${shadow.su}/bin/su";
|
su = "${shadow.su}/bin/su";
|
||||||
inherit utillinux;
|
inherit utillinux;
|
||||||
|
|
||||||
|
@ -669,7 +669,6 @@ in
|
|||||||
apg = callPackage ../tools/security/apg { };
|
apg = callPackage ../tools/security/apg { };
|
||||||
|
|
||||||
apt = callPackage ../tools/package-management/apt {
|
apt = callPackage ../tools/package-management/apt {
|
||||||
inherit (perlPackages) Po4a;
|
|
||||||
# include/c++/6.4.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
|
# include/c++/6.4.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
|
||||||
stdenv = overrideCC stdenv gcc5;
|
stdenv = overrideCC stdenv gcc5;
|
||||||
};
|
};
|
||||||
@ -2068,9 +2067,7 @@ in
|
|||||||
|
|
||||||
client-ip-echo = callPackage ../servers/misc/client-ip-echo { };
|
client-ip-echo = callPackage ../servers/misc/client-ip-echo { };
|
||||||
|
|
||||||
cloc = callPackage ../tools/misc/cloc {
|
cloc = callPackage ../tools/misc/cloc { };
|
||||||
inherit (perlPackages) perl AlgorithmDiff ParallelForkManager RegexpCommon;
|
|
||||||
};
|
|
||||||
|
|
||||||
cloog = callPackage ../development/libraries/cloog {
|
cloog = callPackage ../development/libraries/cloog {
|
||||||
isl = isl_0_14;
|
isl = isl_0_14;
|
||||||
@ -2199,9 +2196,7 @@ in
|
|||||||
|
|
||||||
debianutils = callPackage ../tools/misc/debianutils { };
|
debianutils = callPackage ../tools/misc/debianutils { };
|
||||||
|
|
||||||
debian-devscripts = callPackage ../tools/misc/debian-devscripts {
|
debian-devscripts = callPackage ../tools/misc/debian-devscripts { };
|
||||||
inherit (perlPackages) CryptSSLeay LWP TimeDate DBFile FileDesktopEntry;
|
|
||||||
};
|
|
||||||
|
|
||||||
debootstrap = callPackage ../tools/misc/debootstrap { };
|
debootstrap = callPackage ../tools/misc/debootstrap { };
|
||||||
|
|
||||||
@ -2303,15 +2298,11 @@ in
|
|||||||
|
|
||||||
dmg2img = callPackage ../tools/misc/dmg2img { };
|
dmg2img = callPackage ../tools/misc/dmg2img { };
|
||||||
|
|
||||||
docbook2odf = callPackage ../tools/typesetting/docbook2odf {
|
docbook2odf = callPackage ../tools/typesetting/docbook2odf { };
|
||||||
inherit (perlPackages) PerlMagick;
|
|
||||||
};
|
|
||||||
|
|
||||||
doas = callPackage ../tools/security/doas { };
|
doas = callPackage ../tools/security/doas { };
|
||||||
|
|
||||||
docbook2x = callPackage ../tools/typesetting/docbook2x {
|
docbook2x = callPackage ../tools/typesetting/docbook2x { };
|
||||||
inherit (perlPackages) XMLSAX XMLSAXBase XMLParser XMLNamespaceSupport;
|
|
||||||
};
|
|
||||||
|
|
||||||
docbook2mdoc = callPackage ../tools/misc/docbook2mdoc { };
|
docbook2mdoc = callPackage ../tools/misc/docbook2mdoc { };
|
||||||
|
|
||||||
@ -2545,9 +2536,7 @@ in
|
|||||||
|
|
||||||
ext4magic = callPackage ../tools/filesystems/ext4magic { };
|
ext4magic = callPackage ../tools/filesystems/ext4magic { };
|
||||||
|
|
||||||
extract_url = callPackage ../applications/misc/extract_url {
|
extract_url = callPackage ../applications/misc/extract_url { };
|
||||||
inherit (perlPackages) MIMEtools HTMLParser CursesUI URIFind;
|
|
||||||
};
|
|
||||||
|
|
||||||
extundelete = callPackage ../tools/filesystems/extundelete { };
|
extundelete = callPackage ../tools/filesystems/extundelete { };
|
||||||
|
|
||||||
@ -2629,9 +2618,7 @@ in
|
|||||||
|
|
||||||
ferm = callPackage ../tools/networking/ferm { };
|
ferm = callPackage ../tools/networking/ferm { };
|
||||||
|
|
||||||
fgallery = callPackage ../tools/graphics/fgallery {
|
fgallery = callPackage ../tools/graphics/fgallery { };
|
||||||
inherit (perlPackages) ImageExifTool CpanelJSONXS;
|
|
||||||
};
|
|
||||||
|
|
||||||
flannel = callPackage ../tools/networking/flannel { };
|
flannel = callPackage ../tools/networking/flannel { };
|
||||||
|
|
||||||
@ -4013,9 +4000,7 @@ in
|
|||||||
|
|
||||||
localtime = callPackage ../tools/system/localtime { };
|
localtime = callPackage ../tools/system/localtime { };
|
||||||
|
|
||||||
logcheck = callPackage ../tools/system/logcheck {
|
logcheck = callPackage ../tools/system/logcheck { };
|
||||||
inherit (perlPackages) mimeConstruct;
|
|
||||||
};
|
|
||||||
|
|
||||||
logmein-hamachi = callPackage ../tools/networking/logmein-hamachi { };
|
logmein-hamachi = callPackage ../tools/networking/logmein-hamachi { };
|
||||||
|
|
||||||
@ -4252,13 +4237,10 @@ in
|
|||||||
monit = callPackage ../tools/system/monit { };
|
monit = callPackage ../tools/system/monit { };
|
||||||
|
|
||||||
moreutils = callPackage ../tools/misc/moreutils {
|
moreutils = callPackage ../tools/misc/moreutils {
|
||||||
inherit (perlPackages) IPCRun TimeDate TimeDuration;
|
|
||||||
docbook-xsl = docbook_xsl;
|
docbook-xsl = docbook_xsl;
|
||||||
};
|
};
|
||||||
|
|
||||||
mosh = callPackage ../tools/networking/mosh {
|
mosh = callPackage ../tools/networking/mosh { };
|
||||||
inherit (perlPackages) IOTty;
|
|
||||||
};
|
|
||||||
|
|
||||||
motuclient = callPackage ../applications/science/misc/motu-client { };
|
motuclient = callPackage ../applications/science/misc/motu-client { };
|
||||||
|
|
||||||
@ -4764,9 +4746,7 @@ in
|
|||||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
};
|
};
|
||||||
|
|
||||||
pcsctools = callPackage ../tools/security/pcsctools {
|
pcsctools = callPackage ../tools/security/pcsctools { };
|
||||||
inherit (perlPackages) pcscperl Glib Gtk2 Pango Cairo;
|
|
||||||
};
|
|
||||||
|
|
||||||
pcsc-cyberjack = callPackage ../tools/security/pcsc-cyberjack { };
|
pcsc-cyberjack = callPackage ../tools/security/pcsc-cyberjack { };
|
||||||
|
|
||||||
@ -5443,9 +5423,7 @@ in
|
|||||||
|
|
||||||
sleepyhead = callPackage ../applications/misc/sleepyhead {};
|
sleepyhead = callPackage ../applications/misc/sleepyhead {};
|
||||||
|
|
||||||
slimrat = callPackage ../tools/networking/slimrat {
|
slimrat = callPackage ../tools/networking/slimrat { };
|
||||||
inherit (perlPackages) WWWMechanize LWP;
|
|
||||||
};
|
|
||||||
|
|
||||||
slsnif = callPackage ../tools/misc/slsnif { };
|
slsnif = callPackage ../tools/misc/slsnif { };
|
||||||
|
|
||||||
@ -5622,9 +5600,7 @@ in
|
|||||||
|
|
||||||
swagger-codegen = callPackage ../tools/networking/swagger-codegen { };
|
swagger-codegen = callPackage ../tools/networking/swagger-codegen { };
|
||||||
|
|
||||||
swec = callPackage ../tools/networking/swec {
|
swec = callPackage ../tools/networking/swec { };
|
||||||
inherit (perlPackages) LWP URI HTMLParser HTTPServerSimple Parent;
|
|
||||||
};
|
|
||||||
|
|
||||||
swfdec = callPackage ../tools/graphics/swfdec {};
|
swfdec = callPackage ../tools/graphics/swfdec {};
|
||||||
|
|
||||||
@ -5965,10 +5941,7 @@ in
|
|||||||
|
|
||||||
vcftools = callPackage ../applications/science/biology/vcftools { };
|
vcftools = callPackage ../applications/science/biology/vcftools { };
|
||||||
|
|
||||||
vcsh = callPackage ../applications/version-management/vcsh {
|
vcsh = callPackage ../applications/version-management/vcsh { };
|
||||||
inherit (perlPackages) ShellCommand TestMost TestDifferences TestDeep
|
|
||||||
TestException TestWarn;
|
|
||||||
};
|
|
||||||
|
|
||||||
vcstool = callPackage ../development/tools/vcstool { };
|
vcstool = callPackage ../development/tools/vcstool { };
|
||||||
|
|
||||||
@ -6274,7 +6247,6 @@ in
|
|||||||
weighttp = callPackage ../tools/networking/weighttp { };
|
weighttp = callPackage ../tools/networking/weighttp { };
|
||||||
|
|
||||||
wget = callPackage ../tools/networking/wget {
|
wget = callPackage ../tools/networking/wget {
|
||||||
inherit (perlPackages) IOSocketSSL LWP;
|
|
||||||
libpsl = null;
|
libpsl = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -8411,16 +8383,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
creduce = callPackage ../development/tools/misc/creduce {
|
creduce = callPackage ../development/tools/misc/creduce {
|
||||||
inherit (perlPackages) perl
|
|
||||||
ExporterLite FileWhich GetoptTabular RegexpCommon TermReadKey;
|
|
||||||
inherit (llvmPackages_6) llvm clang-unwrapped;
|
inherit (llvmPackages_6) llvm clang-unwrapped;
|
||||||
};
|
};
|
||||||
|
|
||||||
cscope = callPackage ../development/tools/misc/cscope { };
|
cscope = callPackage ../development/tools/misc/cscope { };
|
||||||
|
|
||||||
csmith = callPackage ../development/tools/misc/csmith {
|
csmith = callPackage ../development/tools/misc/csmith { };
|
||||||
inherit (perlPackages) perl SysCPU;
|
|
||||||
};
|
|
||||||
|
|
||||||
csslint = callPackage ../development/web/csslint { };
|
csslint = callPackage ../development/web/csslint { };
|
||||||
|
|
||||||
@ -8630,9 +8598,7 @@ in
|
|||||||
|
|
||||||
hcloud = callPackage ../development/tools/hcloud { };
|
hcloud = callPackage ../development/tools/hcloud { };
|
||||||
|
|
||||||
help2man = callPackage ../development/tools/misc/help2man {
|
help2man = callPackage ../development/tools/misc/help2man { };
|
||||||
inherit (perlPackages) LocaleGettext;
|
|
||||||
};
|
|
||||||
|
|
||||||
heroku = callPackage ../development/tools/heroku {
|
heroku = callPackage ../development/tools/heroku {
|
||||||
nodejs = nodejs-10_x;
|
nodejs = nodejs-10_x;
|
||||||
@ -8650,9 +8616,7 @@ in
|
|||||||
|
|
||||||
icmake = callPackage ../development/tools/build-managers/icmake { };
|
icmake = callPackage ../development/tools/build-managers/icmake { };
|
||||||
|
|
||||||
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {
|
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils { };
|
||||||
inherit (perlPackages) XMLSimple;
|
|
||||||
};
|
|
||||||
|
|
||||||
include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use {
|
include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use {
|
||||||
llvmPackages = llvmPackages_6;
|
llvmPackages = llvmPackages_6;
|
||||||
@ -10185,9 +10149,7 @@ in
|
|||||||
|
|
||||||
hiredis = callPackage ../development/libraries/hiredis { };
|
hiredis = callPackage ../development/libraries/hiredis { };
|
||||||
|
|
||||||
hivex = callPackage ../development/libraries/hivex {
|
hivex = callPackage ../development/libraries/hivex { };
|
||||||
inherit (perlPackages) IOStringy;
|
|
||||||
};
|
|
||||||
|
|
||||||
hound = callPackage ../development/tools/misc/hound { };
|
hound = callPackage ../development/tools/misc/hound { };
|
||||||
|
|
||||||
@ -10812,7 +10774,6 @@ in
|
|||||||
|
|
||||||
libguestfs-appliance = callPackage ../development/libraries/libguestfs/appliance.nix {};
|
libguestfs-appliance = callPackage ../development/libraries/libguestfs/appliance.nix {};
|
||||||
libguestfs = callPackage ../development/libraries/libguestfs {
|
libguestfs = callPackage ../development/libraries/libguestfs {
|
||||||
inherit (perlPackages) libintl_perl GetoptLong SysVirt;
|
|
||||||
appliance = libguestfs-appliance;
|
appliance = libguestfs-appliance;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -13343,16 +13304,12 @@ in
|
|||||||
|
|
||||||
diod = callPackage ../servers/diod { lua = lua5_1; };
|
diod = callPackage ../servers/diod { lua = lua5_1; };
|
||||||
|
|
||||||
dkimproxy = callPackage ../servers/mail/dkimproxy {
|
dkimproxy = callPackage ../servers/mail/dkimproxy { };
|
||||||
inherit (perlPackages) Error MailDKIM MIMETools NetServer;
|
|
||||||
};
|
|
||||||
|
|
||||||
dovecot = callPackage ../servers/mail/dovecot { };
|
dovecot = callPackage ../servers/mail/dovecot { };
|
||||||
dovecot_pigeonhole = callPackage ../servers/mail/dovecot/plugins/pigeonhole { };
|
dovecot_pigeonhole = callPackage ../servers/mail/dovecot/plugins/pigeonhole { };
|
||||||
|
|
||||||
dspam = callPackage ../servers/mail/dspam {
|
dspam = callPackage ../servers/mail/dspam { };
|
||||||
inherit (perlPackages) libnet;
|
|
||||||
};
|
|
||||||
|
|
||||||
etcd = callPackage ../servers/etcd { };
|
etcd = callPackage ../servers/etcd { };
|
||||||
|
|
||||||
@ -13681,7 +13638,7 @@ in
|
|||||||
|
|
||||||
monitoring-plugins = callPackage ../servers/monitoring/plugins { };
|
monitoring-plugins = callPackage ../servers/monitoring/plugins { };
|
||||||
|
|
||||||
inherit (callPackage ../servers/monitoring/plugins/labs_consol_de.nix { inherit (perlPackages) DBDsybase NetSNMP; })
|
inherit (callPackage ../servers/monitoring/plugins/labs_consol_de.nix { })
|
||||||
check-mssql-health
|
check-mssql-health
|
||||||
check-nwc-health
|
check-nwc-health
|
||||||
check-ups-health;
|
check-ups-health;
|
||||||
@ -13842,10 +13799,7 @@ in
|
|||||||
|
|
||||||
supervise = callPackage ../tools/system/supervise { };
|
supervise = callPackage ../tools/system/supervise { };
|
||||||
|
|
||||||
spamassassin = callPackage ../servers/mail/spamassassin {
|
spamassassin = callPackage ../servers/mail/spamassassin { };
|
||||||
inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile
|
|
||||||
HTTPDate MailDKIM LWP IOSocketSSL;
|
|
||||||
};
|
|
||||||
|
|
||||||
deadpixi-sam-unstable = callPackage ../applications/editors/deadpixi-sam { };
|
deadpixi-sam-unstable = callPackage ../applications/editors/deadpixi-sam { };
|
||||||
deadpixi-sam = deadpixi-sam-unstable;
|
deadpixi-sam = deadpixi-sam-unstable;
|
||||||
@ -15750,7 +15704,6 @@ in
|
|||||||
aacgain = callPackage ../applications/audio/aacgain { };
|
aacgain = callPackage ../applications/audio/aacgain { };
|
||||||
|
|
||||||
abcde = callPackage ../applications/audio/abcde {
|
abcde = callPackage ../applications/audio/abcde {
|
||||||
inherit (perlPackages) MusicBrainz MusicBrainzDiscID;
|
|
||||||
inherit (pythonPackages) eyeD3;
|
inherit (pythonPackages) eyeD3;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -17455,10 +17408,6 @@ in
|
|||||||
ike = callPackage ../applications/networking/ike { };
|
ike = callPackage ../applications/networking/ike { };
|
||||||
|
|
||||||
ikiwiki = callPackage ../applications/misc/ikiwiki {
|
ikiwiki = callPackage ../applications/misc/ikiwiki {
|
||||||
inherit (perlPackages) TextMarkdown URI HTMLParser HTMLScrubber
|
|
||||||
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder LocaleGettext
|
|
||||||
RpcXML XMLSimple YAML YAMLLibYAML HTMLTree Filechdir
|
|
||||||
AuthenPassphrase NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay;
|
|
||||||
inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) PerlMagick;
|
inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) PerlMagick;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -21224,9 +21173,7 @@ in
|
|||||||
|
|
||||||
bcftools = callPackage ../applications/science/biology/bcftools { };
|
bcftools = callPackage ../applications/science/biology/bcftools { };
|
||||||
|
|
||||||
conglomerate = callPackage ../applications/science/biology/conglomerate {
|
conglomerate = callPackage ../applications/science/biology/conglomerate { };
|
||||||
inherit (perlPackages) GetoptTabular MNI-Perllib;
|
|
||||||
};
|
|
||||||
|
|
||||||
dcm2niix = callPackage ../applications/science/biology/dcm2niix { };
|
dcm2niix = callPackage ../applications/science/biology/dcm2niix { };
|
||||||
|
|
||||||
@ -21244,9 +21191,7 @@ in
|
|||||||
|
|
||||||
igv = callPackage ../applications/science/biology/igv { };
|
igv = callPackage ../applications/science/biology/igv { };
|
||||||
|
|
||||||
inormalize = callPackage ../applications/science/biology/inormalize {
|
inormalize = callPackage ../applications/science/biology/inormalize { };
|
||||||
inherit (perlPackages) GetoptTabular MNI-Perllib;
|
|
||||||
};
|
|
||||||
|
|
||||||
iv = callPackage ../applications/science/biology/iv {
|
iv = callPackage ../applications/science/biology/iv {
|
||||||
neuron-version = neuron.version;
|
neuron-version = neuron.version;
|
||||||
@ -21258,9 +21203,7 @@ in
|
|||||||
|
|
||||||
muscle = callPackage ../applications/science/biology/muscle { };
|
muscle = callPackage ../applications/science/biology/muscle { };
|
||||||
|
|
||||||
n3 = callPackage ../applications/science/biology/N3 {
|
n3 = callPackage ../applications/science/biology/N3 { };
|
||||||
inherit (perlPackages) perl GetoptTabular MNI-Perllib;
|
|
||||||
};
|
|
||||||
|
|
||||||
neuron = callPackage ../applications/science/biology/neuron {
|
neuron = callPackage ../applications/science/biology/neuron {
|
||||||
python = null;
|
python = null;
|
||||||
@ -21274,17 +21217,11 @@ in
|
|||||||
|
|
||||||
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
||||||
|
|
||||||
minc_tools = callPackage ../applications/science/biology/minc-tools {
|
minc_tools = callPackage ../applications/science/biology/minc-tools { };
|
||||||
inherit (perlPackages) TextFormat;
|
|
||||||
};
|
|
||||||
|
|
||||||
minc_widgets = callPackage ../applications/science/biology/minc-widgets {
|
minc_widgets = callPackage ../applications/science/biology/minc-widgets { };
|
||||||
inherit (perlPackages) GetoptTabular MNI-Perllib;
|
|
||||||
};
|
|
||||||
|
|
||||||
mni_autoreg = callPackage ../applications/science/biology/mni_autoreg {
|
mni_autoreg = callPackage ../applications/science/biology/mni_autoreg { };
|
||||||
inherit (perlPackages) GetoptTabular MNI-Perllib;
|
|
||||||
};
|
|
||||||
|
|
||||||
minimap2 = callPackage ../applications/science/biology/minimap2 { };
|
minimap2 = callPackage ../applications/science/biology/minimap2 { };
|
||||||
|
|
||||||
@ -22638,12 +22575,7 @@ in
|
|||||||
conf = config.slock.conf or null;
|
conf = config.slock.conf or null;
|
||||||
};
|
};
|
||||||
|
|
||||||
smokeping = callPackage ../tools/networking/smokeping {
|
smokeping = callPackage ../tools/networking/smokeping { };
|
||||||
inherit fping rrdtool;
|
|
||||||
inherit (perlPackages)
|
|
||||||
FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet
|
|
||||||
NetOpenSSH NetSNMP LWP IOTty perl NetDNS perlldap;
|
|
||||||
};
|
|
||||||
|
|
||||||
snapraid = callPackage ../tools/filesystems/snapraid { };
|
snapraid = callPackage ../tools/filesystems/snapraid { };
|
||||||
|
|
||||||
|
@ -30,6 +30,24 @@ let
|
|||||||
checkPhase = "./Build test";
|
checkPhase = "./Build test";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/* Construct a perl search path (such as $PERL5LIB)
|
||||||
|
|
||||||
|
Example:
|
||||||
|
pkgs = import <nixpkgs> { }
|
||||||
|
makePerlPath [ pkgs.perlPackages.libnet ]
|
||||||
|
=> "/nix/store/n0m1fk9c960d8wlrs62sncnadygqqc6y-perl-Net-SMTP-1.25/lib/perl5/site_perl"
|
||||||
|
*/
|
||||||
|
makePerlPath = stdenv.lib.makeSearchPathOutput "lib" perl.libPrefix;
|
||||||
|
|
||||||
|
/* Construct a perl search path recursively including all dependencies (such as $PERL5LIB)
|
||||||
|
|
||||||
|
Example:
|
||||||
|
pkgs = import <nixpkgs> { }
|
||||||
|
makeFullPerlPath [ pkgs.perlPackages.CGI ]
|
||||||
|
=> "/nix/store/fddivfrdc1xql02h9q500fpnqy12c74n-perl-CGI-4.38/lib/perl5/site_perl:/nix/store/8hsvdalmsxqkjg0c5ifigpf31vc4vsy2-perl-HTML-Parser-3.72/lib/perl5/site_perl:/nix/store/zhc7wh0xl8hz3y3f71nhlw1559iyvzld-perl-HTML-Tagset-3.20/lib/perl5/site_perl"
|
||||||
|
*/
|
||||||
|
makeFullPerlPath = deps: makePerlPath (stdenv.lib.misc.closePropagation deps);
|
||||||
|
|
||||||
|
|
||||||
ack = buildPerlPackage rec {
|
ack = buildPerlPackage rec {
|
||||||
name = "ack-2.24";
|
name = "ack-2.24";
|
||||||
@ -4026,8 +4044,8 @@ let
|
|||||||
sha256 = "5509e532cdd0e3d91eda550578deaac29e2f008a12b64576e8c261bb92e8c2c1";
|
sha256 = "5509e532cdd0e3d91eda550578deaac29e2f008a12b64576e8c261bb92e8c2c1";
|
||||||
};
|
};
|
||||||
postInstall = stdenv.lib.optionalString (perl ? crossVersion) ''
|
postInstall = stdenv.lib.optionalString (perl ? crossVersion) ''
|
||||||
mkdir -p $out/lib/perl5/site_perl/cross_perl/${perl.version}/DBI
|
mkdir -p $out/${perl.libPrefix}/cross_perl/${perl.version}/DBI
|
||||||
cat > $out/lib/perl5/site_perl/cross_perl/${perl.version}/DBI.pm <<EOF
|
cat > $out/${perl.libPrefix}/cross_perl/${perl.version}/DBI.pm <<EOF
|
||||||
package DBI;
|
package DBI;
|
||||||
BEGIN {
|
BEGIN {
|
||||||
our \$VERSION = "$version";
|
our \$VERSION = "$version";
|
||||||
@ -4035,8 +4053,8 @@ let
|
|||||||
1;
|
1;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
autodir=$(echo $out/lib/perl5/site_perl/${perl.version}/*/auto/DBI)
|
autodir=$(echo $out/${perl.libPrefix}/${perl.version}/*/auto/DBI)
|
||||||
cat > $out/lib/perl5/site_perl/cross_perl/${perl.version}/DBI/DBD.pm <<EOF
|
cat > $out/${perl.libPrefix}/cross_perl/${perl.version}/DBI/DBD.pm <<EOF
|
||||||
package DBI::DBD;
|
package DBI::DBD;
|
||||||
use Exporter ();
|
use Exporter ();
|
||||||
use vars qw (@ISA @EXPORT);
|
use vars qw (@ISA @EXPORT);
|
||||||
@ -9162,7 +9180,7 @@ let
|
|||||||
buildInputs = [ ModuleBuild NetDNSResolverProgrammable ];
|
buildInputs = [ ModuleBuild NetDNSResolverProgrammable ];
|
||||||
propagatedBuildInputs = [ Error NetAddrIP NetDNS URI ];
|
propagatedBuildInputs = [ Error NetAddrIP NetDNS URI ];
|
||||||
|
|
||||||
buildPhase = "perl Build.PL --install_base=$out --install_path=\"sbin=$out/bin\" --install_path=\"lib=$out/lib/perl5/site_perl\"; ./Build build ";
|
buildPhase = "perl Build.PL --install_base=$out --install_path=\"sbin=$out/bin\" --install_path=\"lib=$out/${perl.libPrefix}\"; ./Build build ";
|
||||||
|
|
||||||
doCheck = false; # The main test performs network access
|
doCheck = false; # The main test performs network access
|
||||||
meta = {
|
meta = {
|
||||||
@ -16142,7 +16160,7 @@ let
|
|||||||
install_name_tool -change "$oldPath" "$newPath" "$out/bin/biblex"
|
install_name_tool -change "$oldPath" "$newPath" "$out/bin/biblex"
|
||||||
install_name_tool -change "$oldPath" "$newPath" "$out/bin/bibparse"
|
install_name_tool -change "$oldPath" "$newPath" "$out/bin/bibparse"
|
||||||
install_name_tool -change "$oldPath" "$newPath" "$out/bin/dumpnames"
|
install_name_tool -change "$oldPath" "$newPath" "$out/bin/dumpnames"
|
||||||
install_name_tool -change "$oldPath" "$newPath" "$out/lib/perl5/site_perl/${perl.version}/darwin-2level/auto/Text/BibTeX/BibTeX.bundle"
|
install_name_tool -change "$oldPath" "$newPath" "$out/${perl.libPrefix}/${perl.version}/darwin-2level/auto/Text/BibTeX/BibTeX.bundle"
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Interface to read and parse BibTeX files";
|
description = "Interface to read and parse BibTeX files";
|
||||||
|
Loading…
Reference in New Issue
Block a user