mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge branch 'staging' (older one)
This commit is contained in:
commit
cdde22aef5
@ -11,27 +11,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1nqhk3n1s1p77g2bjnj55acicsrlyb2yasqxqwpx0w0djfx64ygm";
|
||||
};
|
||||
|
||||
unpackCmd = "tar --lzip -xf";
|
||||
|
||||
nativeBuildInputs = [ lzip ];
|
||||
|
||||
/* FIXME: Tests currently fail on Darwin:
|
||||
|
||||
building test scripts for ed-1.5...
|
||||
testing ed-1.5...
|
||||
*** Output e1.o of script e1.ed is incorrect ***
|
||||
*** Output r3.o of script r3.ed is incorrect ***
|
||||
make: *** [check] Error 127
|
||||
|
||||
*/
|
||||
doCheck = !(hostPlatform.isDarwin || hostPlatform != buildPlatform);
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
configureFlags = [
|
||||
"--exec-prefix=${stdenv.cc.targetPrefix}"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
doCheck = hostPlatform == buildPlatform;
|
||||
|
||||
meta = {
|
||||
description = "An implementation of the standard Unix editor";
|
||||
|
@ -13,7 +13,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.15.0";
|
||||
version = "2.15.1";
|
||||
svn = subversionClient.override { perlBindings = true; };
|
||||
in
|
||||
|
||||
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
|
||||
sha256 = "0siyxg1ppg6szjp8xp37zfq1fj97kbdxpigi3asmidqhkx41cw8h";
|
||||
sha256 = "0p04linqdywdf7m1hqa904fzqvgzplsxlzdqrn96j1j5gpyr174r";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "13i04dkd709f0p5f2413sf2y9321pfi4y85ynf8wih6ryphnbk9x";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
let
|
||||
let
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip;
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
let
|
||||
let
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip;
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
@ -1,6 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/xml/dtd/docbook-ebnf
|
||||
cd $out/xml/dtd/docbook-ebnf
|
||||
cp -p $dtd dbebnf.dtd
|
||||
cp -p $catalog $(stripHash $catalog)
|
@ -1,16 +1,24 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
assert unzip != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "docbook-xml-ebnf-1.2b1";
|
||||
builder = ./builder.sh;
|
||||
|
||||
dtd = fetchurl {
|
||||
url = http://www.docbook.org/xml/ebnf/1.2b1/dbebnf.dtd;
|
||||
sha256 = "0min5dsc53my13b94g2yd65q1nkjcf4x1dak00bsc4ckf86mrx95";
|
||||
};
|
||||
catalog = ./docbook-ebnf.cat;
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir -p $out/xml/dtd/docbook-ebnf
|
||||
cd $out/xml/dtd/docbook-ebnf
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cp -p $dtd dbebnf.dtd
|
||||
cp -p $catalog $(stripHash $catalog)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
@ -1,7 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/xml/dtd/docbook
|
||||
cd $out/xml/dtd/docbook
|
||||
unpackFile $src
|
||||
find . -type f -exec chmod -x {} \;
|
||||
eval "$postInstall"
|
@ -1,12 +1,21 @@
|
||||
{ stdenv, fetchurl, unzip, src, name, postInstall ? "true", meta ? {}, findXMLCatalogs }:
|
||||
|
||||
assert unzip != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit src name postInstall;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [unzip];
|
||||
propagatedBuildInputs = [ findXMLCatalogs ];
|
||||
|
||||
nativeBuildInputs = [unzip];
|
||||
propagatedNativeBuildInputs = [ findXMLCatalogs ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir -p $out/xml/dtd/docbook
|
||||
cd $out/xml/dtd/docbook
|
||||
unpackFile $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
find . -type f -exec chmod -x {} \;
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = meta // {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0rr0d89i0z75qvjbm8il93bippx09hbmjwy0y2sj44n9np69x3hl";
|
||||
};
|
||||
|
||||
buildInputs = [ libxml2 ];
|
||||
nativeBuildInputs = [ libxml2 ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nasm-${version}";
|
||||
version = "2.13.01";
|
||||
version = "2.13.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
|
||||
sha256 = "1ylqs4sqh0paia970v6hpdgq5icxns9zlg21qql232bz1apppy88";
|
||||
sha256 = "1gmvjckxvkmx1kbglgrakc98qhy55xlqlk5flrdihz5yhv92hc4d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
|
||||
# HACK, see #10874 (and 14664)
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isLinux && !hostPlatform.isCygwin) libiconv;
|
||||
|
||||
setupHook = ./gettext-setup-hook.sh;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
|
7
pkgs/development/libraries/gettext/gettext-setup-hook.sh
Normal file
7
pkgs/development/libraries/gettext/gettext-setup-hook.sh
Normal file
@ -0,0 +1,7 @@
|
||||
gettextDataDirsHook() {
|
||||
if [ -d "$1/share/gettext" ]; then
|
||||
addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
|
||||
fi
|
||||
}
|
||||
|
||||
envHooks+=(gettextDataDirsHook)
|
@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputBin = "dev";
|
||||
|
||||
buildInputs = [ perl texinfo ];
|
||||
nativeBuildInputs = [ texinfo ];
|
||||
buildInputs = [ perl ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff --git a/lib/stdint.in.h b/lib/stdint.in.h
|
||||
index 997e406..e0827f5 100644
|
||||
--- a/lib/stdint.in.h
|
||||
+++ b/lib/stdint.in.h
|
||||
@@ -53,7 +53,8 @@
|
||||
in <inttypes.h> would reinclude us, skipping our contents because
|
||||
_GL_STDINT_H is defined.
|
||||
The include_next requires a split double-inclusion guard. */
|
||||
-# @INCLUDE_NEXT@ @NEXT_STDINT_H@
|
||||
+# include <inttypes.h>
|
||||
+// # @INCLUDE_NEXT@ @NEXT_STDINT_H@
|
||||
#endif
|
||||
|
||||
#if ! defined _GL_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H
|
@ -1,28 +1,25 @@
|
||||
{ fetchurl, stdenv, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libunistring-0.9.7";
|
||||
name = "libunistring-${version}";
|
||||
version = "0.9.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libunistring/${name}.tar.gz";
|
||||
sha256 = "1ra1baz2187kbw9im47g6kqb5mx9plq703mkjxaval8rxv5q3q4w";
|
||||
sha256 = "1x9wnpzg7vxyjpnzab6vw0afbcijfbd57qrrkqrppynh0nyz54mp";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./clang.patch stdenv.secure-format-patch ];
|
||||
|
||||
outputs = [ "out" "dev" "info" "doc" ];
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
configureFlags = [
|
||||
"--with-libiconv-prefix=${libiconv}"
|
||||
];
|
||||
|
||||
# XXX: There are test failures on non-GNU systems, see
|
||||
# http://lists.gnu.org/archive/html/bug-libunistring/2010-02/msg00004.html .
|
||||
doCheck = (stdenv ? glibc) && (stdenv.hostPlatform == stdenv.buildPlatform);
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/libunistring/;
|
||||
|
@ -11,7 +11,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = if abiVersion == "5" then "5.9" else "6.0-20170902";
|
||||
version = if abiVersion == "5" then "5.9" else "6.0-20171125";
|
||||
name = "ncurses-${version}";
|
||||
|
||||
src = fetchurl (if abiVersion == "5" then {
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
|
||||
} else {
|
||||
url = "ftp://ftp.invisible-island.net/ncurses/current/${name}.tgz";
|
||||
sha256 = "1cks4gsz4148jw6wpqia4w5jx7cfxr29g2kmpvp0ssmvwczh8dr4";
|
||||
sha256 = "11adzj0k82nlgpfrflabvqn2m7fmhp2y6pd7ivmapynxqb9vvb92";
|
||||
});
|
||||
|
||||
patches = [ ./clang.patch ] ++ lib.optional (abiVersion == "5" && stdenv.cc.isGNU) ./gcc-5.patch;
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, hostPlatform, fetchurl, perl, gettext, LocaleGettext, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "help2man-1.47.4";
|
||||
name = "help2man-1.47.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/help2man/${name}.tar.xz";
|
||||
sha256 = "0lvp4306f5nq08f3snffs5pp1zwv8l35z6f5g0dds51zs6bzdv6l";
|
||||
sha256 = "1cb14kp380jzk1yi4i7x9d8qplc8c5mgcbgycgs9ggpx34jhp9kw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper gettext LocaleGettext ];
|
||||
|
@ -2,13 +2,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libtool-1.5.26";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libtool/${name}.tar.gz";
|
||||
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
|
||||
};
|
||||
|
||||
buildInputs = [m4 perl];
|
||||
|
||||
nativeBuildInputs = [m4];
|
||||
buildInputs = [perl];
|
||||
|
||||
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||
# "fixed" path in generated files!
|
||||
|
@ -451,7 +451,6 @@ _host_statistics
|
||||
_host_statistics64
|
||||
_host_swap_exception_ports
|
||||
_host_virtual_physical_table_info
|
||||
_host_zone_info
|
||||
_i386_get_ldt
|
||||
_i386_set_ldt
|
||||
_important_boost_assertion_token
|
||||
|
@ -2,14 +2,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kexec-tools-${version}";
|
||||
version = "2.0.15";
|
||||
version = "2.0.16";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
|
||||
"http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
|
||||
];
|
||||
sha256 = "1rwl04y1mpb28yq5ynnk8j124dmhj5p8c4hcdn453sri2j37p6w9";
|
||||
sha256 = "043hasx5b9zk7r7dzx24z5wybg74dpmh0nyns6nrnb3mmm8k642v";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" "pic" "relro" ];
|
||||
|
@ -20,7 +20,11 @@ stdenv.mkDerivation {
|
||||
"--enable-pkgconfig"
|
||||
"--enable-applib"
|
||||
"--enable-cmdlib"
|
||||
] ++ stdenv.lib.optional enable_dmeventd " --enable-dmeventd";
|
||||
] ++ stdenv.lib.optional enable_dmeventd " --enable-dmeventd"
|
||||
++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libudev libuuid thin-provisioning-tools ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "linux-pam-${version}";
|
||||
version = "1.2.1";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.linux-pam.org/library/Linux-PAM-${version}.tar.bz2";
|
||||
sha256 = "1n9lnf9gjs72kbj1g354v1xhi2j27aqaah15vykh7cnkq08i4arl";
|
||||
sha256 = "1fyi04d5nsh8ivd0rn2y0z83ylgc0licz7kifbb6xxi2ylgfs6i4";
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" "man" /* "modules" */ ];
|
||||
|
@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
||||
|
||||
setupHook = ./lzip-setup-hook.sh;
|
||||
|
||||
doCheck = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nongnu.org/lzip/lzip.html;
|
||||
|
5
pkgs/tools/compression/lzip/lzip-setup-hook.sh
Normal file
5
pkgs/tools/compression/lzip/lzip-setup-hook.sh
Normal file
@ -0,0 +1,5 @@
|
||||
lzipUnpackCmdHook() {
|
||||
[[ "$1" = *.tar.lz ]] && tar --lzip -xf "$1"
|
||||
}
|
||||
|
||||
unpackCmdHooks+=(lzipUnpackCmdHook)
|
Loading…
Reference in New Issue
Block a user