Merge staging-next into master

+496 -453
+2 -2
nixos/modules/services/hardware/pcscd.nix
··· 61 61 description = "PCSC-Lite daemon"; 62 62 environment.PCSCLITE_HP_DROPDIR = pluginEnv; 63 63 serviceConfig = { 64 - ExecStart = "${pkgs.pcsclite}/sbin/pcscd -f -x -c ${cfgFile}"; 65 - ExecReload = "${pkgs.pcsclite}/sbin/pcscd -H"; 64 + ExecStart = "${getBin pkgs.pcsclite}/sbin/pcscd -f -x -c ${cfgFile}"; 65 + ExecReload = "${getBin pkgs.pcsclite}/sbin/pcscd -H"; 66 66 }; 67 67 }; 68 68 };
-1
pkgs/applications/audio/gpodder/default.nix
··· 6 6 python3Packages.buildPythonApplication rec { 7 7 pname = "gpodder"; 8 8 version = "3.10.3"; 9 - 10 9 format = "other"; 11 10 12 11 src = fetchFromGitHub {
+1 -1
pkgs/applications/misc/yubioath-desktop/default.nix
··· 18 18 19 19 # Need LD_PRELOAD for libykpers as the Nix cpython disables ctypes.cdll.LoadLibrary 20 20 # support that the yubicommon library uses to load libykpers 21 - makeWrapperArgs = ''--prefix LD_LIBRARY_PATH : "${pcsclite}/lib:${yubikey-personalization}/lib" --prefix LD_PRELOAD : "${yubikey-personalization}/lib/libykpers-1.so"''; 21 + makeWrapperArgs = ''--prefix LD_LIBRARY_PATH : "${stdenv.lib.getLib pcsclite}/lib:${yubikey-personalization}/lib" --prefix LD_PRELOAD : "${yubikey-personalization}/lib/libykpers-1.so"''; 22 22 23 23 postInstall = '' 24 24 mkdir -p $out/share/applications
+1 -1
pkgs/applications/networking/remote/freerdp/default.nix
··· 31 31 --replace "Requires:" "Requires: @WINPR_PKG_CONFIG_FILENAME@" 32 32 '' + lib.optionalString (pcsclite != null) '' 33 33 substituteInPlace "winpr/libwinpr/smartcard/smartcard_pcsc.c" \ 34 - --replace "libpcsclite.so" "${pcsclite}/lib/libpcsclite.so" 34 + --replace "libpcsclite.so" "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so" 35 35 ''; 36 36 37 37 buildInputs = with lib; [
+3 -3
pkgs/applications/office/moneyplex/default.nix
··· 62 62 if [ ! -d "\$MDIR/pcsc" ]; then 63 63 ${coreutils}/bin/mkdir -p \$MDIR/pcsc 64 64 fi 65 - if [ ! -e "\$MDIR/pcsc/libpcsclite.so.1" ] || [ ! \`${coreutils}/bin/readlink -f "\$MDIR/pcsc/libpcsclite.so.1"\` -ef "${pcsclite}/lib/libpcsclite.so.1" ]; then 66 - ${coreutils}/bin/ln -sf "${pcsclite}/lib/libpcsclite.so.1" "\$MDIR/pcsc/libpcsclite.so.1" 65 + if [ ! -e "\$MDIR/pcsc/libpcsclite.so.1" ] || [ ! \`${coreutils}/bin/readlink -f "\$MDIR/pcsc/libpcsclite.so.1"\` -ef "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1" ]; then 66 + ${coreutils}/bin/ln -sf "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1" "\$MDIR/pcsc/libpcsclite.so.1" 67 67 fi 68 68 69 69 70 70 if [ -e "\$MDIR/rup/rupremote.lst" ]; then 71 71 for i in \`${coreutils}/bin/cat "\$MDIR/rup/rupremote.lst"\`; do 72 - ${coreutils}/bin/mv "\$MDIR/rup/"\`${coreutils}/bin/basename \$i\` "\$MDIR/\$i" 72 + ${coreutils}/bin/mv "\$MDIR/rup/"\`${coreutils}/bin/basename \$i\` "\$MDIR/\$i" 73 73 done 74 74 rm -r "\$MDIR/rup/rupremote.lst" 75 75 fi
+13 -3
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 18 18 assert svnSupport -> perlSupport; 19 19 20 20 let 21 - version = "2.17.1"; 21 + version = "2.18.0"; 22 22 svn = subversionClient.override { perlBindings = perlSupport; }; 23 23 in 24 24 ··· 27 27 28 28 src = fetchurl { 29 29 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; 30 - sha256 = "0pm6bdnrrm165k3krnazxcxadifk2gqi30awlbcf9fism1x6w4vr"; 30 + sha256 = "14hfwfkrci829a9316hnvkglnqqw1p03cw9k56p4fcb078wbwh4b"; 31 31 }; 32 32 33 33 outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb"; ··· 40 40 41 41 patches = [ 42 42 ./docbook2texi.patch 43 - ./symlinks-in-bin.patch 44 43 ./git-sh-i18n.patch 45 44 ./ssh-path.patch 46 45 ./git-send-email-honor-PATH.patch ··· 277 276 278 277 # XXX: I failed to understand why this one fails. 279 278 # Could someone try to re-enable it on the next release ? 279 + # Tested to fail: 2.18.0 280 280 disable_test t1700-split-index "null sha1" 281 + 282 + # Tested to fail: 2.18.0 283 + disable_test t7005-editor "editor with a space" 284 + disable_test t7005-editor "core.editor with a space" 285 + 286 + # Tested to fail: 2.18.0 287 + disable_test t9902-completion "sourcing the completion script clears cached --options" 281 288 '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 282 289 # Test fails (as of 2.17.0, musl 1.1.19) 283 290 disable_test t3900-i18n-commit 291 + # Fails largely due to assumptions about BOM 292 + # Tested to fail: 2.18.0 293 + disable_test t0028-working-tree-encoding 284 294 ''; 285 295 286 296
+1 -1
pkgs/build-support/fetchgit/nix-prefetch-git
··· 185 185 186 186 # checkout each submodule 187 187 hash=$(echo "$l" | awk '{print $1}' | tr -d '-') 188 - dir=$(echo "$l" | sed -n 's/^ \{0,1\}[^ ]* \(.*\) ([^ ]*)$/\1/p') 188 + dir=$(echo "$l" | sed -n 's/^.[0-9a-f]\+ \(.*[^)]*\)\( (.*)\)\?$/\1/p') 189 189 name=$( 190 190 git config -f .gitmodules --get-regexp submodule\..*\.path | 191 191 sed -n "s,^\(.*\)\.path $dir\$,\\1,p")
+5
pkgs/desktops/gnome-3/misc/california/default.nix
··· 23 23 url = https://src.fedoraproject.org/rpms/california/raw/c00bf9924d8fa8cb0a9ec06564d1a1b00c9055af/f/0002-Build-with-evolution-data-server-3.13.90.patch; 24 24 sha256 = "0g9923n329p32gzr1q52ad30f8vyz8vrri4rih0w8klmf02ga4pm"; 25 25 }) 26 + # Apply Fedora patch to build with libical > 3.0 27 + (fetchurl { 28 + url = https://src.fedoraproject.org/rpms/california/raw/2af9a6a1b67b53f3fca1472c5350dc11a1acf28f/f/california-0.4.0-libical-3.0.patch; 29 + sha256 = "0cxycfaql0bsiz9hzanns33pwdqpb5n44znfcfa66i1bin34r4n6"; 30 + }) 26 31 ]; 27 32 28 33 passthru = {
+11 -2
pkgs/desktops/xfce/applications/orage.nix
··· 1 - { stdenv, fetchurl, pkgconfig, bison, flex, intltool, gtk, libical, dbus-glib 1 + { stdenv, fetchurl, fetchpatch, pkgconfig, bison, flex, intltool, gtk, libical, dbus-glib 2 2 , libnotify, popt, xfce 3 3 }: 4 4 ··· 13 13 sha256 = "0qlhvnl2m33vfxqlbkic2nmfpwyd4mq230jzhs48cg78392amy9w"; 14 14 }; 15 15 16 + patches = [ 17 + # Fix build with libical 3.0 18 + (fetchpatch { 19 + name = "fix-libical3.patch"; 20 + url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/libical3.patch?h=packages/orage&id=7b1b06c42dda034d538977b9f3550b28e370057f; 21 + sha256 = "1l8s106mcidmbx2p8c2pi8v9ngbv2x3fsgv36j8qk8wyd4qd1jbf"; 22 + }) 23 + ]; 24 + 16 25 nativeBuildInputs = [ pkgconfig intltool bison flex ]; 17 - 26 + 18 27 buildInputs = [ gtk libical dbus-glib libnotify popt xfce.libxfce4util 19 28 xfce.xfce4-panel ]; 20 29
+10 -1
pkgs/desktops/xfce4-13/orage/default.nix
··· 1 - { lib, mkXfceDerivation, dbus_glib ? null, gtk2, libical, libnotify ? null 1 + { lib, fetchpatch, mkXfceDerivation, dbus_glib ? null, gtk2, libical, libnotify ? null 2 2 , popt ? null, libxfce4ui ? null, xfce4-panel ? null, withPanelPlugin ? true }: 3 3 4 4 assert withPanelPlugin -> libxfce4ui != null && xfce4-panel != null; ··· 15 15 sha256 = "04z6y1vfaz1im1zq1zr7cf8pjibjhj9zkyanbp7vn30q520yxa0m"; 16 16 buildInputs = [ dbus_glib gtk2 libical libnotify popt ] 17 17 ++ optionals withPanelPlugin [ libxfce4ui xfce4-panel ]; 18 + 19 + patches = [ 20 + # Fix build with libical 3.0 21 + (fetchpatch { 22 + name = "fix-libical3.patch"; 23 + url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/libical3.patch?h=packages/orage&id=7b1b06c42dda034d538977b9f3550b28e370057f; 24 + sha256 = "1l8s106mcidmbx2p8c2pi8v9ngbv2x3fsgv36j8qk8wyd4qd1jbf"; 25 + }) 26 + ]; 18 27 }
+8 -1
pkgs/development/compilers/ispc/default.nix
··· 1 - {stdenv, fetchFromGitHub, bash, which, m4, python, bison, flex, llvmPackages, 1 + {stdenv, fetchFromGitHub, fetchpatch, bash, which, m4, python, bison, flex, llvmPackages, 2 2 testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents 3 3 }: 4 4 ··· 30 30 flex 31 31 llvm 32 32 llvmPackages.clang-unwrapped # we need to link against libclang, so we need the unwrapped 33 + ]; 34 + 35 + patches = [ 36 + (fetchpatch { 37 + url = https://github.com/ispc/ispc/commit/d504641f5af9d5992e7c8f0ed42c1063a39ede5b.patch; 38 + sha256 = "192q3gyvam79469bmlwf0jpfi2y4f8hl2vgcvjngsqhvscwira0s"; 39 + }) 33 40 ]; 34 41 35 42 postPatch = "sed -i -e 's/\\/bin\\///g' -e 's/-lcurses/-lncurses/g' Makefile";
-29
pkgs/development/compilers/lessc/default.nix
··· 1 - { stdenv, fetchgit, nodejs }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "lessc-${version}"; 5 - version = "1.7.5"; # Upgrade to > 2.x breaks twitter-bootstrap 6 - 7 - src = fetchgit { 8 - url = https://github.com/less/less.js.git; 9 - rev = "refs/tags/v${version}"; 10 - sha256 = "1af1xbh1pjpfsx0jp69syji6w9750nigk652yk46jrja3z1scb4s"; 11 - }; 12 - 13 - phases = [ "installPhase" ]; 14 - 15 - installPhase = '' 16 - mkdir -p $out/bin $out/lib 17 - cp -r $src/bin/* $out/bin/ 18 - cp -r $src/lib/* $out/lib/ 19 - substituteInPlace $out/bin/lessc --replace "/usr/bin/env node" ${nodejs}/bin/node 20 - ''; 21 - 22 - meta = with stdenv.lib; { 23 - description = "LESS to CSS compiler"; 24 - homepage = http://lesscss.org/; 25 - license = licenses.asl20; 26 - platforms = platforms.linux ++ platforms.darwin; 27 - maintainers = with maintainers; [ pSub ]; 28 - }; 29 - }
+4 -5
pkgs/development/compilers/llvm/5/llvm.nix
··· 80 80 "-DLLVM_BUILD_TESTS=ON" 81 81 "-DLLVM_ENABLE_FFI=ON" 82 82 "-DLLVM_ENABLE_RTTI=ON" 83 + 84 + "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}" 85 + "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}" 86 + "-DTARGET_TRIPLE=${stdenv.targetPlatform.config}" 83 87 ] 84 88 ++ stdenv.lib.optional enableSharedLibraries 85 89 "-DLLVM_LINK_LLVM_DYLIB=ON" ··· 95 99 ++ stdenv.lib.optionals (isDarwin) [ 96 100 "-DLLVM_ENABLE_LIBCXX=ON" 97 101 "-DCAN_TARGET_i386=false" 98 - ] 99 - ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [ 100 - "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}" 101 - "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}" 102 - "-DTARGET_TRIPLE=${stdenv.targetPlatform.config}" 103 102 ]; 104 103 105 104 postBuild = ''
+1 -1
pkgs/development/compilers/llvm/6/clang/default.nix
··· 9 9 name = "clang-${version}"; 10 10 11 11 unpackPhase = '' 12 - unpackFile ${fetch "cfe" "0cnznvfyl3hgbg8gj58pmwf0pvd2sv5k3ccbivy6q6ggv7c6szg0"} 12 + unpackFile ${fetch "cfe" "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w"} 13 13 mv cfe-${version}* clang 14 14 sourceRoot=$PWD/clang 15 15 unpackFile ${clang-tools-extra_src}
+1 -1
pkgs/development/compilers/llvm/6/compiler-rt.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 name = "compiler-rt-${version}"; 5 5 inherit version; 6 - src = fetch "compiler-rt" "16m7rvh3w6vq10iwkjrr1nn293djld3xm62l5zasisaprx117k6h"; 6 + src = fetch "compiler-rt" "1fcr3jn24yr8lh36nc0c4ikli4744i2q9m1ik67p1jymwwaixkgl"; 7 7 8 8 nativeBuildInputs = [ cmake python llvm ]; 9 9 buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
+2 -2
pkgs/development/compilers/llvm/6/default.nix
··· 6 6 }: 7 7 8 8 let 9 - release_version = "6.0.0"; 9 + release_version = "6.0.1"; 10 10 version = release_version; # differentiating these is important for rc's 11 11 12 12 fetch = name: sha256: fetchurl { ··· 14 14 inherit sha256; 15 15 }; 16 16 17 - clang-tools-extra_src = fetch "clang-tools-extra" "1ll9v6r29xfdiywbn9iss49ad39ah3fk91wiv0sr6k6k9i544fq5"; 17 + clang-tools-extra_src = fetch "clang-tools-extra" "1w8ml7fyn4vyxmy59n2qm4r1k1kgwgwkaldp6m45fdv4g0kkfbhd"; 18 18 19 19 # Add man output without introducing extra dependencies. 20 20 overrideManOutput = drv:
+1 -1
pkgs/development/compilers/llvm/6/libc++/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 name = "libc++-${version}"; 5 5 6 - src = fetch "libcxx" "1n8d0iadkk9fdpplvxkdgrgh2szc6msrx1mpdjpmilz9pn3im4vh"; 6 + src = fetch "libcxx" "0rzw4qvxp6qx4l4h9amrq02gp7hbg8lw4m0sy3k60f50234gnm3n"; 7 7 8 8 postUnpack = '' 9 9 unpackFile ${libcxxabi.src}
+1 -1
pkgs/development/compilers/llvm/6/libc++abi.nix
··· 3 3 stdenv.mkDerivation { 4 4 name = "libc++abi-${version}"; 5 5 6 - src = fetch "libcxxabi" "06v4dnqh6q0r3p5h2jznlgb69lg79126lzb2s0lcw1k38b2xkili"; 6 + src = fetch "libcxxabi" "0prqvdj317qrc8nddaq1hh2ag9algkd9wbkj3y4mr5588k12x7r0"; 7 7 8 8 nativeBuildInputs = [ cmake ]; 9 9 buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
+1 -1
pkgs/development/compilers/llvm/6/lld.nix
··· 10 10 stdenv.mkDerivation { 11 11 name = "lld-${version}"; 12 12 13 - src = fetch "lld" "02qfkjkjq0snmf8dw9c255xkh8dg06ndny1x470300pk7j1lm33b"; 13 + src = fetch "lld" "04afcfq2h7ysyqxxhyhb7ig4p0vdw7mi63kh8mffl74j0rc781p7"; 14 14 15 15 nativeBuildInputs = [ cmake ]; 16 16 buildInputs = [ llvm libxml2 ];
+1 -1
pkgs/development/compilers/llvm/6/lldb.nix
··· 17 17 stdenv.mkDerivation { 18 18 name = "lldb-${version}"; 19 19 20 - src = fetch "lldb" "0m6l2ks4banfmdh7xy7l77ri85kmzavgfy81gkc4gl6wg8flrxa6"; 20 + src = fetch "lldb" "05178zkyh84x32n91md6wm22lkzzrrfwa5cpmgzn0yrg3y2771bb"; 21 21 22 22 postPatch = '' 23 23 # Fix up various paths that assume llvm and clang are installed in the same place
+8 -6
pkgs/development/compilers/llvm/6/llvm.nix
··· 19 19 }: 20 20 21 21 let 22 - src = fetch "llvm" "0224xvfg6h40y5lrbnb9qaq3grmdc5rg00xq03s1wxjfbf8krx8z"; 22 + src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn"; 23 23 24 24 # Used when creating a version-suffixed symlink of libLLVM.dylib 25 25 shortVersion = with stdenv.lib; ··· 76 76 "-DLLVM_BUILD_TESTS=ON" 77 77 "-DLLVM_ENABLE_FFI=ON" 78 78 "-DLLVM_ENABLE_RTTI=ON" 79 + 80 + "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}" 81 + "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}" 82 + "-DTARGET_TRIPLE=${stdenv.targetPlatform.config}" 83 + 84 + "-DLLVM_ENABLE_DUMP=ON" 79 85 ] 80 86 ++ stdenv.lib.optional enableSharedLibraries 81 87 "-DLLVM_LINK_LLVM_DYLIB=ON" ··· 92 98 "-DLLVM_ENABLE_LIBCXX=ON" 93 99 "-DCAN_TARGET_i386=false" 94 100 ] 95 - ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [ 96 - "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}" 97 - "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}" 98 - "-DTARGET_TRIPLE=${stdenv.targetPlatform.config}" 99 - ] ++ stdenv.lib.optional enableWasm 101 + ++ stdenv.lib.optional enableWasm 100 102 "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly" 101 103 ; 102 104
+1 -1
pkgs/development/compilers/llvm/6/openmp.nix
··· 10 10 stdenv.mkDerivation { 11 11 name = "openmp-${version}"; 12 12 13 - src = fetch "openmp" "1z1qghx6drdvnlp406q1cp3mgikxxmwymcwzaxbv18vxbw6ha3kw"; 13 + src = fetch "openmp" "0nhwfba9c351r16zgyjyfwdayr98nairky3c2f0b2lc360mwmbv6"; 14 14 15 15 nativeBuildInputs = [ cmake perl ]; 16 16 buildInputs = [ llvm ];
+78 -42
pkgs/development/compilers/llvm/6/sanitizers-nongnu.patch
··· 1 - From 8c74f8274369f527f2ada3772f4a0b406cb481ec Mon Sep 17 00:00:00 2001 2 - From: "Jory A. Pratt" <anarchy@gentoo.org> 3 - Date: Sat, 9 Sep 2017 08:31:15 -0500 1 + From 7b4b3333a2718628b1d510ec1d8438ad67308299 Mon Sep 17 00:00:00 2001 2 + From: Will Dietz <w@wdtz.org> 3 + Date: Fri, 29 Jun 2018 09:48:59 -0500 4 4 Subject: [PATCH] Ported to 6.0, taken from gentoo-musl project. 5 5 6 6 ------ ··· 11 11 12 12 Taken from gentoo-musl project, with a few additional minor fixes. 13 13 --- 14 - lib/asan/asan_linux.cc | 4 +-- 15 - lib/interception/interception_linux.cc | 2 +- 16 - lib/interception/interception_linux.h | 3 +- 17 - lib/msan/msan_linux.cc | 2 +- 18 - .../sanitizer_common_interceptors_ioctl.inc | 4 +-- 19 - lib/sanitizer_common/sanitizer_common_syscalls.inc | 2 +- 20 - lib/sanitizer_common/sanitizer_linux_libcdep.cc | 10 +++--- 21 - lib/sanitizer_common/sanitizer_platform.h | 6 ++++ 22 - .../sanitizer_platform_interceptors.h | 4 +-- 23 - .../sanitizer_platform_limits_posix.cc | 40 +++++++++++++--------- 24 - lib/tsan/rtl/tsan_platform_linux.cc | 2 +- 25 - 11 files changed, 46 insertions(+), 33 deletions(-) 14 + lib/asan/asan_linux.cc | 4 +- 15 + lib/interception/interception_linux.cc | 2 +- 16 + lib/interception/interception_linux.h | 3 +- 17 + lib/msan/msan_linux.cc | 2 +- 18 + lib/sanitizer_common/sanitizer_allocator.cc | 2 +- 19 + .../sanitizer_common_interceptors_ioctl.inc | 4 +- 20 + .../sanitizer_common_syscalls.inc | 2 +- 21 + lib/sanitizer_common/sanitizer_linux.cc | 8 +++- 22 + .../sanitizer_linux_libcdep.cc | 10 ++--- 23 + lib/sanitizer_common/sanitizer_platform.h | 6 +++ 24 + .../sanitizer_platform_interceptors.h | 4 +- 25 + .../sanitizer_platform_limits_posix.cc | 37 +++++++++++-------- 26 + lib/tsan/rtl/tsan_platform_linux.cc | 2 +- 27 + 13 files changed, 51 insertions(+), 35 deletions(-) 26 28 27 29 diff --git a/lib/asan/asan_linux.cc b/lib/asan/asan_linux.cc 28 30 index 625f32d40..73cf77aca 100644 ··· 86 88 87 89 #include "msan.h" 88 90 #include "msan_thread.h" 91 + diff --git a/lib/sanitizer_common/sanitizer_allocator.cc b/lib/sanitizer_common/sanitizer_allocator.cc 92 + index fc4f7a75a..76cf4f769 100644 93 + --- a/lib/sanitizer_common/sanitizer_allocator.cc 94 + +++ b/lib/sanitizer_common/sanitizer_allocator.cc 95 + @@ -23,7 +23,7 @@ namespace __sanitizer { 96 + 97 + // ThreadSanitizer for Go uses libc malloc/free. 98 + #if SANITIZER_GO || defined(SANITIZER_USE_MALLOC) 99 + -# if SANITIZER_LINUX && !SANITIZER_ANDROID 100 + +# if SANITIZER_LINUX && !SANITIZER_ANDROID && !SANITIZER_NONGNU 101 + extern "C" void *__libc_malloc(uptr size); 102 + # if !SANITIZER_GO 103 + extern "C" void *__libc_memalign(uptr alignment, uptr size); 89 104 diff --git a/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc 90 105 index 24e7548a5..20259b1d6 100644 91 106 --- a/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc ··· 121 136 PRE_SYSCALL(prlimit64)(long pid, long resource, const void *new_rlim, 122 137 void *old_rlim) { 123 138 if (new_rlim) PRE_READ(new_rlim, struct_rlimit64_sz); 139 + diff --git a/lib/sanitizer_common/sanitizer_linux.cc b/lib/sanitizer_common/sanitizer_linux.cc 140 + index 6c83e8db4..542c4fe64 100644 141 + --- a/lib/sanitizer_common/sanitizer_linux.cc 142 + +++ b/lib/sanitizer_common/sanitizer_linux.cc 143 + @@ -522,13 +522,13 @@ const char *GetEnv(const char *name) { 144 + #endif 145 + } 146 + 147 + -#if !SANITIZER_FREEBSD && !SANITIZER_NETBSD 148 + +#if !SANITIZER_FREEBSD && !SANITIZER_NETBSD && !SANITIZER_NONGNU 149 + extern "C" { 150 + SANITIZER_WEAK_ATTRIBUTE extern void *__libc_stack_end; 151 + } 152 + #endif 153 + 154 + -#if !SANITIZER_GO && !SANITIZER_FREEBSD && !SANITIZER_NETBSD 155 + +#if (!SANITIZER_GO || SANITIZER_NONGNU) && !SANITIZER_FREEBSD && !SANITIZER_NETBSD 156 + static void ReadNullSepFileToArray(const char *path, char ***arr, 157 + int arr_size) { 158 + char *buff; 159 + @@ -569,6 +569,10 @@ static void GetArgsAndEnv(char ***argv, char ***envp) { 160 + #elif SANITIZER_NETBSD 161 + *argv = __ps_strings->ps_argvstr; 162 + *argv = __ps_strings->ps_envstr; 163 + +#elif SANITIZER_NONGNU 164 + + static const int kMaxArgv = 2000, kMaxEnvp = 2000; 165 + + ReadNullSepFileToArray("/proc/self/cmdline", argv, kMaxArgv); 166 + + ReadNullSepFileToArray("/proc/self/environ", envp, kMaxEnvp); 167 + #else 168 + #if !SANITIZER_GO 169 + if (&__libc_stack_end) { 124 170 diff --git a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc 125 171 index 56fdfc870..a932d5db1 100644 126 172 --- a/lib/sanitizer_common/sanitizer_linux_libcdep.cc ··· 210 256 #define SANITIZER_INTERCEPT_RANDOM_R SI_LINUX_NOT_ANDROID 211 257 #define SANITIZER_INTERCEPT_PTHREAD_ATTR_GET SI_POSIX 212 258 diff --git a/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/lib/sanitizer_common/sanitizer_platform_limits_posix.cc 213 - index f12e8206a..8880197b0 100644 259 + index feb7bad6f..4e89ab2a6 100644 214 260 --- a/lib/sanitizer_common/sanitizer_platform_limits_posix.cc 215 261 +++ b/lib/sanitizer_common/sanitizer_platform_limits_posix.cc 216 262 @@ -14,6 +14,9 @@ ··· 243 289 #if HAVE_RPC_XDR_H 244 290 # include <rpc/xdr.h> 245 291 #elif HAVE_TIRPC_RPC_XDR_H 246 - @@ -159,7 +164,8 @@ typedef struct user_fpregs elf_fpregset_t; 247 - # include <sys/procfs.h> 248 - #endif 249 - #include <sys/user.h> 250 - -#include <sys/ustat.h> 251 - +// #include <sys/ustat.h> 252 - +#include <sys/statfs.h> 253 - #include <linux/cyclades.h> 254 - #include <linux/if_eql.h> 255 - #include <linux/if_plip.h> 256 - @@ -252,7 +258,7 @@ namespace __sanitizer { 292 + @@ -251,7 +256,7 @@ namespace __sanitizer { 257 293 unsigned struct_itimerspec_sz = sizeof(struct itimerspec); 258 294 #endif // SANITIZER_LINUX || SANITIZER_FREEBSD 259 295 260 296 -#if SANITIZER_LINUX && !SANITIZER_ANDROID 261 297 +#if SANITIZER_LINUX && !SANITIZER_ANDROID && !SANITIZER_NONGNU 262 - unsigned struct_ustat_sz = sizeof(struct ustat); 263 - unsigned struct_rlimit64_sz = sizeof(struct rlimit64); 264 - unsigned struct_statvfs64_sz = sizeof(struct statvfs64); 265 - @@ -311,7 +317,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(ElfW(Phdr)); 298 + // Use pre-computed size of struct ustat to avoid <sys/ustat.h> which 299 + // has been removed from glibc 2.28. 300 + #if defined(__aarch64__) || defined(__s390x__) || defined (__mips64) \ 301 + @@ -322,7 +327,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(ElfW(Phdr)); 266 302 unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 267 303 #endif 268 304 ··· 271 307 int glob_nomatch = GLOB_NOMATCH; 272 308 int glob_altdirfunc = GLOB_ALTDIRFUNC; 273 309 #endif 274 - @@ -405,7 +411,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 310 + @@ -416,7 +421,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 275 311 unsigned struct_termios_sz = sizeof(struct termios); 276 312 unsigned struct_winsize_sz = sizeof(struct winsize); 277 313 ··· 280 316 unsigned struct_arpreq_sz = sizeof(struct arpreq); 281 317 unsigned struct_cdrom_msf_sz = sizeof(struct cdrom_msf); 282 318 unsigned struct_cdrom_multisession_sz = sizeof(struct cdrom_multisession); 283 - @@ -455,7 +461,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 319 + @@ -466,7 +471,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 284 320 unsigned struct_vt_mode_sz = sizeof(struct vt_mode); 285 321 #endif // SANITIZER_LINUX || SANITIZER_FREEBSD 286 322 ··· 289 325 unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct); 290 326 unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor); 291 327 #if EV_VERSION > (0x010000) 292 - @@ -823,7 +829,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 328 + @@ -834,7 +839,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); 293 329 unsigned IOCTL_VT_WAITACTIVE = VT_WAITACTIVE; 294 330 #endif // SANITIZER_LINUX || SANITIZER_FREEBSD 295 331 ··· 298 334 unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH; 299 335 unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT; 300 336 unsigned IOCTL_CYGETMON = CYGETMON; 301 - @@ -978,7 +984,7 @@ CHECK_SIZE_AND_OFFSET(dl_phdr_info, dlpi_phdr); 337 + @@ -989,7 +994,7 @@ CHECK_SIZE_AND_OFFSET(dl_phdr_info, dlpi_phdr); 302 338 CHECK_SIZE_AND_OFFSET(dl_phdr_info, dlpi_phnum); 303 339 #endif // SANITIZER_LINUX || SANITIZER_FREEBSD 304 340 ··· 307 343 CHECK_TYPE_SIZE(glob_t); 308 344 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc); 309 345 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv); 310 - @@ -1012,6 +1018,7 @@ CHECK_TYPE_SIZE(iovec); 346 + @@ -1023,6 +1028,7 @@ CHECK_TYPE_SIZE(iovec); 311 347 CHECK_SIZE_AND_OFFSET(iovec, iov_base); 312 348 CHECK_SIZE_AND_OFFSET(iovec, iov_len); 313 349 ··· 315 351 CHECK_TYPE_SIZE(msghdr); 316 352 CHECK_SIZE_AND_OFFSET(msghdr, msg_name); 317 353 CHECK_SIZE_AND_OFFSET(msghdr, msg_namelen); 318 - @@ -1025,6 +1032,7 @@ CHECK_TYPE_SIZE(cmsghdr); 354 + @@ -1036,6 +1042,7 @@ CHECK_TYPE_SIZE(cmsghdr); 319 355 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_len); 320 356 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_level); 321 357 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_type); ··· 323 359 324 360 COMPILER_CHECK(sizeof(__sanitizer_dirent) <= sizeof(dirent)); 325 361 CHECK_SIZE_AND_OFFSET(dirent, d_ino); 326 - @@ -1127,7 +1135,7 @@ CHECK_SIZE_AND_OFFSET(mntent, mnt_passno); 362 + @@ -1138,7 +1145,7 @@ CHECK_SIZE_AND_OFFSET(mntent, mnt_passno); 327 363 328 364 CHECK_TYPE_SIZE(ether_addr); 329 365 ··· 332 368 CHECK_TYPE_SIZE(ipc_perm); 333 369 # if SANITIZER_FREEBSD 334 370 CHECK_SIZE_AND_OFFSET(ipc_perm, key); 335 - @@ -1188,7 +1196,7 @@ CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_dstaddr); 371 + @@ -1199,7 +1206,7 @@ CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_dstaddr); 336 372 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_data); 337 373 #endif 338 374 ··· 341 377 COMPILER_CHECK(sizeof(__sanitizer_mallinfo) == sizeof(struct mallinfo)); 342 378 #endif 343 379 344 - @@ -1238,7 +1246,7 @@ COMPILER_CHECK(__sanitizer_XDR_DECODE == XDR_DECODE); 380 + @@ -1249,7 +1256,7 @@ COMPILER_CHECK(__sanitizer_XDR_DECODE == XDR_DECODE); 345 381 COMPILER_CHECK(__sanitizer_XDR_FREE == XDR_FREE); 346 382 #endif 347 383 ··· 350 386 COMPILER_CHECK(sizeof(__sanitizer_FILE) <= sizeof(FILE)); 351 387 CHECK_SIZE_AND_OFFSET(FILE, _flags); 352 388 CHECK_SIZE_AND_OFFSET(FILE, _IO_read_ptr); 353 - @@ -1257,7 +1265,7 @@ CHECK_SIZE_AND_OFFSET(FILE, _chain); 389 + @@ -1268,7 +1275,7 @@ CHECK_SIZE_AND_OFFSET(FILE, _chain); 354 390 CHECK_SIZE_AND_OFFSET(FILE, _fileno); 355 391 #endif 356 392 ··· 373 409 struct __res_state *statp = (struct __res_state*)state; 374 410 for (int i = 0; i < MAXNS && cnt < nfd; i++) { 375 411 -- 376 - 2.16.2 412 + 2.18.0 377 413
+6 -6
pkgs/development/interpreters/perl/default.nix
··· 23 23 libcLib = lib.getLib libc; 24 24 crossCompiling = stdenv.buildPlatform != stdenv.hostPlatform; 25 25 common = { version, sha256 }: stdenv.mkDerivation (rec { 26 + inherit version; 27 + 26 28 name = "perl-${version}"; 27 29 28 30 src = fetchurlBoot { ··· 179 181 180 182 configurePlatforms = [ "build" "host" "target" ]; 181 183 182 - inherit version; 183 - 184 184 # TODO merge setup hooks 185 185 setupHook = ./setup-hook-cross.sh; 186 186 }); ··· 191 191 }; 192 192 193 193 perl524 = common { 194 - version = "5.24.3"; 195 - sha256 = "1m2px85kq2fyp2d4rx3bw9kg3car67qfqwrs5vlv96dx0x8rl06b"; 194 + version = "5.24.4"; 195 + sha256 = "0w0r6v5k5hw5q1k3p4c7krcxidkj2qzsj5dlrlrxhm01n7fksbxz"; 196 196 }; 197 197 198 198 perl526 = common { 199 - version = "5.26.1"; 200 - sha256 = "1p81wwvr5jb81m41d07kfywk5gvbk0axdrnvhc2aghcdbr4alqz7"; 199 + version = "5.26.2"; 200 + sha256 = "03gpnxx1g6hvlh0v4aqx00580h787sfywp1vlvw64q2xcbm9qbsp"; 201 201 }; 202 202 203 203 perl528 = common {
+4 -5
pkgs/development/interpreters/python/cpython/3.6/default.nix
··· 27 27 28 28 let 29 29 majorVersion = "3.6"; 30 - minorVersion = "5"; 30 + minorVersion = "6"; 31 31 minorVersionSuffix = ""; 32 32 pythonVersion = majorVersion; 33 33 version = "${majorVersion}.${minorVersion}${minorVersionSuffix}"; ··· 53 53 54 54 src = fetchurl { 55 55 url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz"; 56 - sha256 = "19l7inxm056jjw33zz97z0m02hsi7jnnx5kyb76abj5ml4xhad7l"; 56 + sha256 = "0vz1wqg50zq6g15givdx1s2rq5752y5g2f1978bs6wvf8mfw36yp"; 57 57 }; 58 58 59 59 NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s"; ··· 85 85 # only works for GCC and Apple Clang. This makes distutils to call C++ 86 86 # compiler when needed. 87 87 (fetchpatch { 88 - url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch"; 89 - sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8"; 90 - extraPrefix = ""; 88 + url = "https://bugs.python.org/file47669/python-3.8-distutils-C++.patch"; 89 + sha256 = "0s801d7ww9yrk6ys053jvdhl0wicbznx08idy36f1nrrxsghb3ii"; 91 90 }) 92 91 ]; 93 92
+12 -2
pkgs/development/interpreters/python/cpython/3.7/default.nix
··· 39 39 ++ optionals x11Support [ tcl tk libX11 xproto ] 40 40 ++ optionals stdenv.isDarwin [ CF configd ]; 41 41 42 + hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false); 43 + 42 44 in stdenv.mkDerivation { 43 45 name = "python3-${version}"; 44 46 pythonVersion = majorVersion; ··· 63 65 64 66 patches = [ 65 67 ./no-ldconfig.patch 66 - 67 68 # Fix darwin build https://bugs.python.org/issue34027 68 69 (fetchpatch { 69 70 url = https://bugs.python.org/file47666/darwin-libutil.patch; 70 71 sha256 = "0242gihnw3wfskl4fydp2xanpl8k5q7fj4dp7dbbqf46a4iwdzpa"; 72 + }) 73 + ] ++ optionals hasDistutilsCxxPatch [ 74 + # Fix for http://bugs.python.org/issue1222585 75 + # Upstream distutils is calling C compiler to compile C++ code, which 76 + # only works for GCC and Apple Clang. This makes distutils to call C++ 77 + # compiler when needed. 78 + (fetchpatch { 79 + url = "https://bugs.python.org/file47669/python-3.8-distutils-C++.patch"; 80 + sha256 = "0s801d7ww9yrk6ys053jvdhl0wicbznx08idy36f1nrrxsghb3ii"; 71 81 }) 72 82 ]; 73 83 ··· 153 163 passthru = let 154 164 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;}; 155 165 in rec { 156 - inherit libPrefix sitePackages x11Support; 166 + inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch; 157 167 executable = "${libPrefix}m"; 158 168 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; }; 159 169 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
+2 -2
pkgs/development/libraries/gdbm/default.nix
··· 1 1 { stdenv, lib, buildPlatform, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "gdbm-1.14.1"; 4 + name = "gdbm-1.15"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://gnu/gdbm/${name}.tar.gz"; 8 - sha256 = "0pxwz3jlwvglq2mrbxvrjgr8pa0aj73p3v9sxmdlj570zw0gzknd"; 8 + sha256 = "03nwsbixdp3nx3fzn3gjy0n7rcppmkkxb2nxbmd8mvb7gwhf7zgr"; 9 9 }; 10 10 11 11 doCheck = true; # not cross;
+30 -6
pkgs/development/libraries/libical/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl, cmake }: 1 + { stdenv, fetchFromGitHub, perl, pkgconfig, cmake, ninja, vala, gobjectIntrospection 2 + , python3, tzdata, gtk-doc, docbook_xsl, docbook_xml_dtd_43, glib, libxml2, icu }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 name = "libical-${version}"; 5 - version = "2.0.0"; 6 + version = "3.0.3"; 7 + 8 + outputs = [ "out" "dev" "devdoc" ]; 6 9 7 10 src = fetchFromGitHub { 8 11 owner = "libical"; 9 12 repo = "libical"; 10 13 rev = "v${version}"; 11 - sha256 = "0xsvqy1hzmwxn783wrb2k8p751544pzv39v9ynr9pj4yzkwjzsvb"; 14 + sha256 = "0dhlfn6n136di4fbqd74gdaibyh5zz1vac5x8ii3bjc2d5h7hw8h"; 12 15 }; 13 16 14 - nativeBuildInputs = [ perl cmake ]; 17 + nativeBuildInputs = [ 18 + perl pkgconfig cmake ninja vala gobjectIntrospection 19 + (python3.withPackages (pkgs: with pkgs; [ pygobject3 ])) # running libical-glib tests 20 + gtk-doc docbook_xsl docbook_xml_dtd_43 # docs 21 + ]; 22 + buildInputs = [ glib libxml2 icu ]; 23 + 24 + cmakeFlags = [ 25 + "-DGOBJECT_INTROSPECTION=True" 26 + "-DICAL_GLIB_VAPI=True" 27 + ]; 15 28 16 29 patches = [ 17 30 # TODO: upstream this patch 31 + # https://github.com/libical/libical/issues/350 18 32 ./respect-env-tzdir.patch 19 33 ]; 20 34 21 - doCheck = false; # fails all the tests (ctest) 35 + # Using install check so we do not have to manually set 36 + # LD_LIBRARY_PATH and GI_TYPELIB_PATH variables 37 + doInstallCheck = true; 38 + installCheckPhase = '' 39 + runHook preInstallCheck 40 + 41 + export TZDIR=${tzdata}/share/zoneinfo 42 + ctest --output-on-failure 43 + 44 + runHook postInstallCheck 45 + ''; 22 46 23 47 meta = with stdenv.lib; { 24 48 homepage = https://github.com/libical/libical; 25 49 description = "An Open Source implementation of the iCalendar protocols"; 26 - license = licenses.mpl10; 50 + license = licenses.mpl20; 27 51 platforms = platforms.unix; 28 52 maintainers = with maintainers; [ wkennington ]; 29 53 };
+5 -5
pkgs/development/libraries/libical/respect-env-tzdir.patch
··· 1 1 --- a/src/libical/icaltz-util.c 2 2 +++ b/src/libical/icaltz-util.c 3 - @@ -96,9 +96,9 @@ typedef struct 4 - static char *zdir = NULL; 3 + @@ -94,9 +94,9 @@ 4 + static const char *zdir = NULL; 5 5 6 - static char *search_paths[] = { 6 + static const char *search_paths[] = { 7 7 + "/etc/zoneinfo", 8 8 "/usr/share/zoneinfo", 9 9 "/usr/lib/zoneinfo", ··· 11 11 "/usr/share/lib/zoneinfo" 12 12 }; 13 13 14 - @@ -179,6 +179,15 @@ static void set_zonedir(void) 14 + @@ -178,6 +178,15 @@ 15 15 const char *fname = ZONES_TAB_SYSTEM_FILENAME; 16 16 size_t i, num_search_paths; 17 17 18 18 + const char *env_tzdir = getenv ("TZDIR"); 19 19 + if (env_tzdir) { 20 - + snprintf(file_path, MAXPATHLEN, "%s/%s", env_tzdir, fname); 20 + + sprintf (file_path, "%s/%s", env_tzdir, fname); 21 21 + if (!access (file_path, F_OK|R_OK)) { 22 22 + zdir = env_tzdir; 23 23 + return;
+4 -3
pkgs/development/libraries/libiconv/default.nix
··· 29 29 sed -i -e '/preload/d' Makefile.in 30 30 ''; 31 31 32 - configureFlags = lib.optional stdenv.isFreeBSD "--with-pic" 33 - ++ lib.optional enableStatic "--enable-static" 34 - ++ lib.optional (!enableShared) "--disable-shared"; 32 + configureFlags = [ 33 + (lib.enableFeature enableStatic "static") 34 + (lib.enableFeature enableShared "shared") 35 + ] ++ lib.optional stdenv.isFreeBSD "--with-pic"; 35 36 36 37 meta = { 37 38 description = "An iconv(3) implementation";
+27 -11
pkgs/development/libraries/libuv/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkgconfig 2 - , ApplicationServices, CoreServices }: 1 + { stdenv, lib, fetchpatch, fetchFromGitHub, autoconf, automake, libtool, pkgconfig }: 3 2 4 3 stdenv.mkDerivation rec { 5 - version = "1.20.3"; 4 + version = "1.21.0"; 6 5 name = "libuv-${version}"; 7 6 8 7 src = fetchFromGitHub { 9 8 owner = "libuv"; 10 9 repo = "libuv"; 11 10 rev = "v${version}"; 12 - sha256 = "1a8a679wni560z7x6w5i431vh2g0f34cznflcn52klx1vwcggrg7"; 11 + sha256 = "1jjg34ppnlrnb634q9mla7whl7rm9xmjgnzckrznqcycwzir074b"; 13 12 }; 14 13 14 + patches = [ 15 + (fetchpatch { 16 + url = "https://github.com/libuv/libuv/pull/1909.patch"; 17 + sha256 = "1s2692h4dvqnzwwicrkpj0zph1i2bhv39w31z5vh7ssgvykaradj"; 18 + }) 19 + ]; 20 + 15 21 postPatch = let 16 22 toDisable = [ 17 23 "getnameinfo_basic" "udp_send_hang_loop" # probably network-dependent ··· 19 25 "getaddrinfo_fail" "getaddrinfo_fail_sync" 20 26 "threadpool_multiple_event_loops" # times out on slow machines 21 27 ] 22 - # sometimes: timeout (no output), failed uv_listen 23 - ++ stdenv.lib.optionals stdenv.isDarwin [ "process_title" "emfile" ]; 28 + # Sometimes: timeout (no output), failed uv_listen. Someone 29 + # should report these failures to libuv team. There tests should 30 + # be much more robust. 31 + ++ stdenv.lib.optionals stdenv.isDarwin [ 32 + "process_title" "emfile" "poll_duplex" "poll_unidirectional" 33 + "ipc_listen_before_write" "ipc_listen_after_write" "ipc_tcp_connection" 34 + "tcp_alloc_cb_fail" "tcp_ping_pong" "tcp_ref3" "tcp_ref4" 35 + "tcp_bind6_error_inval" "tcp_bind6_error_addrinuse" "tcp_read_stop" 36 + "tcp_unexpected_read" "tcp_write_to_half_open_connection" 37 + "tcp_oob" "tcp_close_accept" "tcp_create_early_accept" 38 + "tcp_create_early" "tcp_close" "tcp_bind_error_inval" 39 + "tcp_bind_error_addrinuse" "tcp_shutdown_after_write" 40 + "tcp_open" "tcp_write_queue_order" "tcp_try_write" "tcp_writealot" 41 + "multiple_listen" "delayed_accept" 42 + "shutdown_close_tcp" "shutdown_eof" "shutdown_twice" "callback_stack" 43 + ]; 24 44 tdRegexp = lib.concatStringsSep "\\|" toDisable; 25 45 in lib.optionalString doCheck '' 26 46 sed '/${tdRegexp}/d' -i test/test-list.h 27 47 ''; 28 48 29 49 nativeBuildInputs = [ automake autoconf libtool pkgconfig ]; 30 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ]; 31 50 32 51 preConfigure = '' 33 52 LIBTOOLIZE=libtoolize ./autogen.sh ··· 35 54 36 55 enableParallelBuilding = true; 37 56 38 - # These should be turned back on, but see https://github.com/NixOS/nixpkgs/issues/23651 39 - # For now the tests are just breaking large swaths of the nixpkgs binary cache for Darwin, 40 - # and I'd rather have everything else work at all than have stronger assurance here. 41 - doCheck = !stdenv.isDarwin; 57 + doCheck = true; 42 58 43 59 meta = with lib; { 44 60 description = "A multi-platform support library with a focus on asynchronous I/O";
+8 -3
pkgs/development/libraries/mesa/default.nix
··· 67 67 in 68 68 69 69 let 70 - version = "18.0.3"; 70 + version = "18.1.4"; 71 71 branch = head (splitString "." version); 72 72 in 73 73 ··· 81 81 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz" 82 82 "https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz" 83 83 ]; 84 - sha256 = "0c4yskqwmh5k0wavjrkfcldafvnpcx8gjcx584bscxks69krd789"; 84 + sha256 = "12zm9hc3v4wnzhqyrvf2kfnz55idzdn82hs3ry940l45bn5lhq9h"; 85 85 }; 86 86 87 87 prePatch = "patchShebangs ."; ··· 154 154 libX11 libXext libxcb libXt libXfixes libxshmfence 155 155 libffi wayland wayland-protocols libvdpau libelf libXvMC 156 156 libomxil-bellagio libva-minimal libpthreadstubs openssl/*or another sha1 provider*/ 157 - valgrind-light python2 157 + valgrind-light python2 python2.pkgs.Mako 158 158 ]; 159 159 160 160 enableParallelBuilding = true; ··· 204 204 # Update search path used by glvnd 205 205 for js in $drivers/share/glvnd/egl_vendor.d/*.json; do 206 206 substituteInPlace "$js" --replace '"libEGL_' '"'"$drivers/lib/libEGL_" 207 + done 208 + 209 + # Update search path used by pkg-config 210 + for pc in $dev/lib/pkgconfig/{d3d,dri,xatracker}.pc; do 211 + substituteInPlace "$pc" --replace $out $drivers 207 212 done 208 213 '' + optionalString (vulkanDrivers != []) '' 209 214 # Update search path used by Vulkan (it's pointing to $out but
+2 -28
pkgs/development/libraries/pcre2/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "pcre2-${version}"; 5 - version = "10.23"; 5 + version = "10.31"; 6 6 src = fetchurl { 7 7 url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${name}.tar.bz2"; 8 - sha256 = "0vn5g0mkkp99mmzpissa06hpyj6pk9s4mlwbjqrjvw3ihy8rpiyz"; 8 + sha256 = "1b389pzw91k1hzydsh4smdsxyppwz4pv74m3nrvy8rda0j3m6zg0"; 9 9 }; 10 10 11 11 configureFlags = [ ··· 14 14 "--enable-jit" 15 15 ]; 16 16 17 - patches = [ 18 - (fetchpatch { 19 - name = "CVE-2017-7186-part1.patch"; 20 - url = "https://vcs.pcre.org/pcre2/code/trunk/src/pcre2_ucd.c?view=patch&r1=316&r2=670&sortby=date"; 21 - sha256 = "10yzglvbn7h06hg7zffr5zh378i5jihvx7d5gggkynws79vgwvfr"; 22 - stripLen = 2; 23 - extraPrefix = ""; 24 - }) 25 - (fetchpatch { 26 - name = "CVE-2017-7186-part2.patch"; 27 - url = "https://vcs.pcre.org/pcre2/code/trunk/src/pcre2_internal.h?view=patch&r1=600&r2=670&sortby=date"; 28 - sha256 = "1bggk7vd5hg0bjg96lj4h1lacmr6grq68dm6iz1n7vg3zf7virjn"; 29 - stripLen = 2; 30 - extraPrefix = ""; 31 - }) 32 - (fetchpatch { 33 - name = "CVE-2017-8786.patch"; 34 - url = "https://vcs.pcre.org/pcre2/code/trunk/src/pcre2test.c?r1=692&r2=697&view=patch"; 35 - sha256 = "1c629nzrk4il2rfclwyc1a373q58m4q9ys9wr91zhl4skfk7x19b"; 36 - stripLen = 2; 37 - extraPrefix = ""; 38 - }) 39 - ]; 40 - 41 17 outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ]; 42 - 43 - doCheck = false; # fails 1 of 3 tests 44 18 45 19 postFixup = '' 46 20 moveToOutput bin/pcre2-config "$dev"
+6 -1
pkgs/development/libraries/volume-key/default.nix
··· 13 13 sha256 = "16qdi5s6ycsh0iyc362gly7ggrwamky8i0zgbd4ajp3ymk9vqdva"; 14 14 }; 15 15 16 - outputs = [ "out" "man" "dev" ]; 16 + outputs = [ "out" "man" "dev" "py" ]; 17 17 18 18 nativeBuildInputs = [ autoreconfHook pkgconfig gettext python2 swig ]; 19 19 ··· 26 26 url = https://pagure.io/fork/cathay4t/volume_key/c/8eda66d3b734ea335e37cf9d7d173b9e8ebe2fd9.patch; 27 27 sha256 = "01lr1zijk0imkk681zynm4w5ad3y6c9vdrmrzaib7w7ima75iczr"; 28 28 }) 29 + ]; 30 + 31 + makeFlags = [ 32 + "pyexecdir=$(py)/${python2.sitePackages}" 33 + "pythondir=$(py)/${python2.sitePackages}" 29 34 ]; 30 35 31 36 meta = with stdenv.lib; {
+4 -4
pkgs/development/python-modules/aiodns/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi 2 - , isPy33, isPy26, isPy27, isPyPy, python, pycares, asyncio, trollius }: 2 + , isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }: 3 3 4 4 buildPythonPackage rec { 5 5 pname = "aiodns"; ··· 10 10 sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea"; 11 11 }; 12 12 13 - propagatedBuildInputs = with stdenv.lib; [ pycares ] 14 - ++ optional isPy33 asyncio 15 - ++ optional (isPy26 || isPy27 || isPyPy) trollius; 13 + propagatedBuildInputs = with stdenv.lib; [ pycares ] 14 + ++ optional isPy33 asyncio 15 + ++ optional (isPy27 || isPyPy) trollius; 16 16 17 17 checkPhase = '' 18 18 ${python.interpreter} tests.py
-4
pkgs/development/python-modules/future/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPy26 5 - , importlib 6 - , argparse 7 4 }: 8 5 9 6 buildPythonPackage rec { ··· 15 12 sha256 = "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773"; 16 13 }; 17 14 18 - propagatedBuildInputs = lib.optionals isPy26 [ importlib argparse ]; 19 15 doCheck = false; 20 16 21 17 meta = {
+3 -3
pkgs/development/python-modules/grpcio/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchPypi, lib 2 - , six, protobuf, enum34, futures, isPy26, isPy27, isPy34 }: 2 + , six, protobuf, enum34, futures, isPy27, isPy34 }: 3 3 4 4 buildPythonPackage rec { 5 5 pname = "grpcio"; ··· 11 11 }; 12 12 13 13 propagatedBuildInputs = [ six protobuf ] 14 - ++ lib.optionals (isPy26 || isPy27 || isPy34) [ enum34 ] 15 - ++ lib.optionals (isPy26 || isPy27) [ futures ]; 14 + ++ lib.optionals (isPy27 || isPy34) [ enum34 ] 15 + ++ lib.optionals (isPy27) [ futures ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "HTTP/2-based RPC framework";
+1 -2
pkgs/development/python-modules/pelican/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchFromGitHub, isPy26 1 + { stdenv, buildPythonPackage, fetchFromGitHub 2 2 , glibcLocales, pandoc, git 3 3 , mock, nose, markdown, lxml, typogrify 4 4 , jinja2, pygments, docutils, pytz, unidecode, six, dateutil, feedgenerator ··· 7 7 buildPythonPackage rec { 8 8 pname = "pelican"; 9 9 version = "3.7.1"; 10 - disabled = isPy26; 11 10 12 11 src = fetchFromGitHub { 13 12 owner = "getpelican";
+2 -2
pkgs/development/python-modules/pyscard/default.nix
··· 10 10 }; 11 11 12 12 postPatch = '' 13 - sed -e 's!"libpcsclite\.so\.1"!"${pcsclite}/lib/libpcsclite.so.1"!' \ 13 + sed -e 's!"libpcsclite\.so\.1"!"${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1"!' \ 14 14 -i smartcard/scard/winscarddll.c 15 15 ''; 16 16 17 - NIX_CFLAGS_COMPILE = "-isystem ${pcsclite}/include/PCSC/"; 17 + NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/"; 18 18 19 19 propagatedBuildInputs = [ pcsclite ]; 20 20 buildInputs = [ swig ] ++ stdenv.lib.optional stdenv.isDarwin PCSC;
+2 -3
pkgs/development/python-modules/pytest/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, attrs, hypothesis, py 1 + { stdenv, buildPythonPackage, fetchPypi, attrs, hypothesis, py 2 2 , setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools 3 3 , atomicwrites, mock 4 4 }: ··· 19 19 checkInputs = [ hypothesis mock ]; 20 20 buildInputs = [ setuptools_scm ]; 21 21 propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites] 22 - ++ (stdenv.lib.optional (!isPy3k) funcsigs) 23 - ++ (stdenv.lib.optional isPy26 argparse); 22 + ++ (stdenv.lib.optional (!isPy3k) funcsigs); 24 23 25 24 checkPhase = '' 26 25 runHook preCheck
+2 -5
pkgs/development/python-modules/trollius/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchPypi, isPy27, isPy26, isPyPy, mock, futures }: 1 + { lib, stdenv, buildPythonPackage, fetchPypi, isPy27, isPyPy, mock, futures }: 2 2 buildPythonPackage rec { 3 3 pname = "trollius"; 4 4 version = "1.0.4"; 5 - name = "${pname}-${version}"; 6 - 7 - disabled = isPy26; 8 5 9 6 src = fetchPypi { 10 7 inherit pname version; 11 8 sha256 = "0xny8y12x3wrflmyn6xi8a7n3m3ac80fgmgzphx5jbbaxkjcm148"; 12 9 }; 13 10 14 - buildInputs = [ mock ]; 11 + checkInputs = [ mock ]; 15 12 16 13 propagatedBuildInputs = lib.optionals (isPy27 || isPyPy) [ futures ]; 17 14
+6 -1
pkgs/development/tools/build-managers/cmake/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { stdenv, fetchurl, fetchpatch, pkgconfig 2 2 , bzip2, curl, expat, libarchive, xz, zlib, libuv, rhash 3 3 , majorVersion ? "3.11" 4 4 # darwin attributes ··· 57 57 58 58 # Don't search in non-Nix locations such as /usr, but do search in our libc. 59 59 patches = [ ./search-path-3.9.patch ] 60 + ++ optional (versionOlder version "3.12") (fetchpatch { 61 + name = "cmake-3.11-libuv-1.21.patch"; 62 + url = https://gitlab.kitware.com/cmake/cmake/commit/889033b5c6847cf1f7bd789384405d59dc333bf6.patch; 63 + sha256 = "0683zbyb3bicaxqzrj4wgdan6x08k30m20kkmpjvw30nr6a8r6xq"; 64 + }) 60 65 # Don't depend on frameworks. 61 66 ++ optional (useSharedLibraries && majorVersion == "3.11") ./application-services.patch # TODO: remove conditional 62 67 ++ optional stdenv.isCygwin ./3.2.2-cygwin.patch;
+1 -1
pkgs/development/tools/hexio/default.nix
··· 17 17 18 18 patchPhase = '' 19 19 substituteInPlace Makefile \ 20 - --replace '-I/usr/local/include/PCSC/' '-I${pcsclite}/include/PCSC/' \ 20 + --replace '-I/usr/local/include/PCSC/' '-I${stdenv.lib.getDev pcsclite}/include/PCSC/' \ 21 21 --replace '-L/usr/local/lib/pth' '-I${pth}/lib/' 22 22 ''; 23 23
+1 -1
pkgs/development/tools/misc/automake/automake-1.11.x.nix
··· 15 15 sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5"; 16 16 }; 17 17 18 - patches = [ ./fix-test-autoconf-2.69.patch ]; 18 + patches = [ ./fix-test-autoconf-2.69.patch ./fix-perl-5.26.patch ]; 19 19 20 20 buildInputs = [perl autoconf makeWrapper]; 21 21
+10
pkgs/development/tools/misc/automake/fix-perl-5.26.patch
··· 1 + --- automake-1.11.2/automake.in 2 + +++ automake-1.11.2/automake.in 3 + @@ -4156,7 +4156,7 @@ sub substitute_ac_subst_variables_worker($) 4 + sub substitute_ac_subst_variables ($) 5 + { 6 + my ($text) = @_; 7 + - $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 8 + + $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge; 9 + return $text; 10 + }
+5 -3
pkgs/development/tools/parsing/bison/2.x.nix
··· 1 - { stdenv, fetchurl, m4, perl }: 1 + { stdenv, lib, fetchurl, m4, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "bison-2.7"; 4 + name = "bison-2.7.1"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://gnu/bison/${name}.tar.gz"; 8 - sha256 = "0cd8s2g7zjshya7kwjc9rh3drsssl4hiq4sccnkgf0nn9wvygfqr"; 8 + sha256 = "0c9li3iaslzzr3zig6m3zlmb4r8i0wfvkcrvdyiqxasb09mjkqh8"; 9 9 }; 10 10 11 11 nativeBuildInputs = [ m4 ] ++ stdenv.lib.optional doCheck perl; 12 12 propagatedBuildInputs = [ m4 ]; 13 + 14 + patches = lib.optional stdenv.isDarwin ./darwin-vasnprintf.patch; 13 15 14 16 doCheck = true; 15 17 # M4 = "${m4}/bin/m4";
+12
pkgs/development/tools/parsing/bison/darwin-vasnprintf.patch
··· 1 + diff -ur bison-2.7-pristine/lib/vasnprintf.c bison-2.7/lib/vasnprintf.c 2 + --- bison-2.7-pristine/lib/vasnprintf.c 2012-11-30 20:48:23.000000000 +0900 3 + +++ bison-2.7/lib/vasnprintf.c 2018-06-28 16:55:31.000000000 +0900 4 + @@ -4870,7 +4870,7 @@ 5 + #endif 6 + *fbp = dp->conversion; 7 + #if USE_SNPRINTF 8 + -# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) 9 + +# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || (defined __APPLE__ && defined __MACH__)) 10 + fbp[1] = '%'; 11 + fbp[2] = 'n'; 12 + fbp[3] = '\0';
+2 -2
pkgs/development/web/nodejs/v10.nix
··· 5 5 in 6 6 buildNodejs { 7 7 inherit enableNpm; 8 - version = "10.5.0"; 9 - sha256 = "1g1kdcrhahdsrkazfl9wj25abgjvkncgwwcm2ppgj3avfi1wam3v"; 8 + version = "10.6.0"; 9 + sha256 = "13vyzh53j2c4mv3q3yb0hkdpl1mag5705k7kmb8nmcvdhcm78q0r"; 10 10 patches = lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ./no-xcodebuild.patch ]; 11 11 }
+4 -2
pkgs/os-specific/darwin/apple-sdk/default.nix
··· 71 71 # because we copy files from the system 72 72 preferLocalBuild = true; 73 73 74 + disallowedRequisites = [ sdk ]; 75 + 74 76 installPhase = '' 75 77 linkFramework() { 76 78 local path="$1" ··· 160 162 installPhase = '' 161 163 mkdir -p $out/include 162 164 pushd $out/include >/dev/null 163 - ln -s "${lib.getDev sdk}/include/xpc" 164 - ln -s "${lib.getDev sdk}/include/launch.h" 165 + cp -r "${lib.getDev sdk}/include/xpc" $out/include/xpc 166 + cp "${lib.getDev sdk}/include/launch.h" $out/include/launch.h 165 167 popd >/dev/null 166 168 ''; 167 169 };
-1
pkgs/os-specific/darwin/apple-sdk/frameworks.nix
··· 86 86 QTKit = [ CoreMediaIO CoreMedia MediaToolbox QuickTime VideoToolbox ]; 87 87 QuickLook = [ ApplicationServices CF ]; 88 88 QuickTime = [ ApplicationServices AudioUnit Carbon CoreAudio CoreServices OpenGL QuartzCore ]; 89 - Ruby = []; 90 89 SceneKit = []; 91 90 ScreenSaver = []; 92 91 Scripting = [];
+4 -2
pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix
··· 10 10 sed -i 's/darwin\*/ios\*/g' configure libcharset/configure 11 11 ''; 12 12 13 - configureFlags = lib.optional enableStatic "--enable-static" 14 - ++ lib.optional (!enableShared) "--disable-shared"; 13 + configureFlags = [ 14 + (lib.enableFeature enableStatic "static") 15 + (lib.enableFeature enableShared "shared") 16 + ]; 15 17 16 18 postInstall = lib.optionalString (!enableStatic) '' 17 19 mv $out/lib/libiconv.dylib $out/lib/libiconv-nocharset.dylib
+3 -1
pkgs/os-specific/darwin/apple-source-releases/libsecurity_generic/default.nix
··· 26 26 ''; 27 27 preBuild = '' 28 28 ln -s lib ${n} 29 - makeFlagsArray=(-j''$NIX_BUILD_CORES) 29 + makeFlagsArray=(-j$NIX_BUILD_CORES) 30 30 ''; 31 + outputs = [ "out" "dev" ]; 31 32 buildInputs = [ 32 33 pkgs.gnustep.make 33 34 pkgs.darwin.apple_sdk.frameworks.AppKit ··· 51 52 "-iframework ${pkgs.darwin.Security}/Library/Frameworks" 52 53 "-I." 53 54 "-Wno-deprecated-declarations" 55 + "-DNDEBUG" 54 56 ]; 55 57 NIX_LDFLAGS = with pkgs.darwin; with apple_sdk.frameworks; [ 56 58 "-L${libobjc}/lib"
+3 -3
pkgs/os-specific/darwin/apple-source-releases/libsecurityd/default.nix
··· 9 9 unpackFile ${libsecurity_cdsa_client.src} 10 10 mv libsecurity_cdsa_client*/lib security_cdsa_client 11 11 ln -s lib securityd_client 12 - 12 + 13 13 patch -p1 < ${./xdr-arity.patch} 14 14 ''; 15 15 preBuild = '' ··· 17 17 cp derived_src/* lib 18 18 rm lib/ucspClientC.c 19 19 ''; 20 - postInstall = '' 21 - ln -s ''$out/include/securityd ''$out/include/securityd_client 20 + postFixup = '' 21 + ln -s $dev/include/securityd $dev/include/securityd_client 22 22 ''; 23 23 }
+3 -2
pkgs/os-specific/darwin/security-tool/default.nix
··· 15 15 sha256 = "0apcz4vy2z5645jhrs60wj3w27mncjjqv42h5lln36g6qs2n9113"; 16 16 }; 17 17 18 + disallowedRequisites = [ apple_sdk.sdk ]; 19 + 18 20 patchPhase = '' 19 21 # copied from libsecurity_generic 20 22 cp -R ${osx_private_sdk}/include/SecurityPrivateHeaders Security ··· 34 36 ''; 35 37 36 38 preBuild = '' 37 - makeFlagsArray=(-j''$NIX_BUILD_CORES) 39 + makeFlagsArray=(-j$NIX_BUILD_CORES) 38 40 ''; 39 41 40 42 NIX_LDFLAGS = "-no_dtrace_dof"; ··· 97 99 license = licenses.apsl20; 98 100 }; 99 101 } 100 -
+2 -2
pkgs/os-specific/linux/audit/default.nix
··· 6 6 assert enablePython -> python != null; 7 7 8 8 stdenv.mkDerivation rec { 9 - name = "audit-2.8.3"; 9 + name = "audit-2.8.4"; 10 10 11 11 src = fetchurl { 12 12 url = "https://people.redhat.com/sgrubb/audit/${name}.tar.gz"; 13 - sha256 = "06lacv9zjn0sf076dydwmvjhdmik3xzhdjvyrkq75917xv54ajbl"; 13 + sha256 = "0f4ci6ffznnmgblwgv7ich9mjfk3p6y5l6m6h3chhmzw156nj454"; 14 14 }; 15 15 16 16 outputs = [ "bin" "dev" "out" "man" ];
+2 -2
pkgs/os-specific/linux/busybox/default.nix
··· 33 33 in 34 34 35 35 stdenv.mkDerivation rec { 36 - name = "busybox-1.28.4"; 36 + name = "busybox-1.29.0"; 37 37 38 38 # Note to whoever is updating busybox: please verify that: 39 39 # nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test 40 40 # still builds after the update. 41 41 src = fetchurl { 42 42 url = "https://busybox.net/downloads/${name}.tar.bz2"; 43 - sha256 = "0smfn8hlds6nx8war62kyaykg3n7mxbjjfcpsgz84znwk4v4mhg3"; 43 + sha256 = "10hccqprhr1mwkqc9i3kny44mb6sdmv9hl63wx20cr5yy095c4f8"; 44 44 }; 45 45 46 46 hardeningDisable = [ "format" ] ++ lib.optionals enableStatic [ "fortify" ];
+4 -4
pkgs/os-specific/linux/checkpolicy/default.nix
··· 13 13 nativeBuildInputs = [ bison flex ]; 14 14 buildInputs = [ libsepol ]; 15 15 16 - preBuild = '' 17 - makeFlagsArray+=("LIBDIR=${libsepol}/lib") 18 - makeFlagsArray+=("PREFIX=$out") 19 - ''; 16 + makeFlags = [ 17 + "PREFIX=$(out)" 18 + "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" 19 + ]; 20 20 21 21 meta = libsepol.meta // { 22 22 description = "SELinux policy compiler";
+14 -12
pkgs/os-specific/linux/libselinux/default.nix
··· 12 12 version = "2.7"; 13 13 inherit (libsepol) se_release se_url; 14 14 15 + outputs = [ "bin" "out" "dev" "man" "py" ]; 16 + 15 17 src = fetchurl { 16 18 url = "${se_url}/${se_release}/libselinux-${version}.tar.gz"; 17 19 sha256 = "0mwcq78v6ngbq06xmb9dvilpg0jnl2vs9fgrpakhmmiskdvc1znh"; ··· 27 29 28 30 NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; 29 31 30 - postPatch = optionalString enablePython '' 31 - sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile 32 - ''; 32 + makeFlags = [ 33 + "PREFIX=$(out)" 34 + "INCDIR=$(dev)/include/selinux" 35 + "INCLUDEDIR=$(dev)/include" 36 + "MAN3DIR=$(man)/share/man/man3" 37 + "MAN5DIR=$(man)/share/man/man5" 38 + "MAN8DIR=$(man)/share/man/man8" 39 + "PYSITEDIR=$(py)/${python.sitePackages}" 40 + "SBINDIR=$(bin)/sbin" 41 + "SHLIBDIR=$(out)/lib" 33 42 34 - # fix install locations 35 - preBuild = '' 36 - makeFlagsArray+=("PREFIX=$out") 37 - makeFlagsArray+=("DESTDIR=$out") 38 - makeFlagsArray+=("MAN3DIR=$out/share/man/man3") 39 - makeFlagsArray+=("MAN5DIR=$out/share/man/man5") 40 - makeFlagsArray+=("MAN8DIR=$out/share/man/man8") 41 - makeFlagsArray+=("PYSITEDIR=$out/lib/${python.libPrefix}/site-packages") 42 - ''; 43 + "LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" 44 + ]; 43 45 44 46 installTargets = [ "install" ] ++ optional enablePython "install-pywrap"; 45 47
+12 -6
pkgs/os-specific/linux/libsepol/default.nix
··· 6 6 se_release = "20170804"; 7 7 se_url = "https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases"; 8 8 9 + outputs = [ "bin" "out" "dev" "man" ]; 10 + 9 11 src = fetchurl { 10 12 url = "${se_url}/${se_release}/libsepol-${version}.tar.gz"; 11 13 sha256 = "1rzr90d3f1g5wy1b8sh6fgnqb9migys2zgpjmpakn6lhxkc3p7fn"; ··· 13 15 14 16 nativeBuildInputs = [ flex ]; 15 17 16 - preBuild = '' 17 - makeFlagsArray+=("PREFIX=$out") 18 - makeFlagsArray+=("DESTDIR=$out") 19 - makeFlagsArray+=("MAN8DIR=$out/share/man/man8") 20 - makeFlagsArray+=("MAN3DIR=$out/share/man/man3") 21 - ''; 18 + makeFlags = [ 19 + "PREFIX=$(out)" 20 + "BINDIR=$(bin)/bin" 21 + "INCDIR=$(dev)/include/sepol" 22 + "INCLUDEDIR=$(dev)/include" 23 + "MAN3DIR=$(man)/share/man/man3" 24 + "MAN8DIR=$(man)/share/man/man8" 25 + "SHLIBDIR=$(out)/lib" 26 + ]; 22 27 23 28 NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; 24 29 25 30 passthru = { inherit se_release se_url; }; 26 31 27 32 meta = with stdenv.lib; { 33 + description = "SELinux binary policy manipulation library"; 28 34 homepage = http://userspace.selinuxproject.org; 29 35 platforms = platforms.linux; 30 36 maintainers = [ maintainers.phreedom ];
+1 -1
pkgs/os-specific/linux/selinux-python/default.nix
··· 29 29 makeFlagsArray+=("PREFIX=$out") 30 30 makeFlagsArray+=("DESTDIR=$out") 31 31 makeFlagsArray+=("LOCALEDIR=$out/share/locale") 32 - makeFlagsArray+=("LIBSEPOLA=${libsepol}/lib/libsepol.a") 32 + makeFlagsArray+=("LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a") 33 33 makeFlagsArray+=("BASHCOMPLETIONDIR=$out/share/bash-completion/completions") 34 34 makeFlagsArray+=("PYTHON=${python3}/bin/python") 35 35 makeFlagsArray+=("PYTHONLIBDIR=lib/${python3.libPrefix}/site-packages")
+1 -1
pkgs/os-specific/linux/setools/default.nix
··· 30 30 setupPyBuildFlags = [ "-i" ]; 31 31 32 32 preBuild = '' 33 - export SEPOL="${libsepol}/lib/libsepol.a" 33 + export SEPOL="${stdenv.lib.getLib libsepol}/lib/libsepol.a" 34 34 ''; 35 35 36 36 meta = {
+2 -2
pkgs/os-specific/linux/wpa_supplicant/default.nix
··· 70 70 cat -n .config 71 71 substituteInPlace Makefile --replace /usr/local $out 72 72 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE \ 73 - -I$(echo "${libnl.dev}"/include/libnl*/) \ 74 - -I${pcsclite}/include/PCSC/" 73 + -I$(echo "${stdenv.lib.getDev libnl}"/include/libnl*/) \ 74 + -I${stdenv.lib.getDev pcsclite}/include/PCSC/" 75 75 ''; 76 76 77 77 buildInputs = [ openssl libnl dbus_libs readline pcsclite ];
+2 -2
pkgs/tools/compression/brotli/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "brotli-${version}"; 7 - version = "1.0.4"; 7 + version = "1.0.5"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "google"; 11 11 repo = "brotli"; 12 12 rev = "v" + version; 13 - sha256 = "0n5snycxgwqj2v8sgxiqxq4zqh5ydx70dr7qa4ygizs02ms69n1i"; 13 + sha256 = "0ssj7mnhpdpk7qnwr49qfd4gxhkmvbli5mhs274pz55cx1xp7xja"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ cmake ];
+1
pkgs/tools/graphics/luxcorerender/default.nix
··· 10 10 let boost_static = boost165.override { 11 11 python = python35; 12 12 enableStatic = true; 13 + enablePython = true; 13 14 }; 14 15 15 16 in stdenv.mkDerivation rec {
+5
pkgs/tools/misc/parted/default.nix
··· 16 16 (fetchpatch { 17 17 url = "https://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch?id=9c5cd3c329a40ba4559cc1d8c7d17a9bf95c237b"; 18 18 sha256 = "117ypyiwvzym6pi8xmy16wa5z3sbpx7gh6haabs6kfb1x2894z7q"; 19 + }) 20 + ++ stdenv.lib.optional (devicemapper == null) 21 + (fetchpatch { 22 + url = https://git.savannah.gnu.org/cgit/parted.git/patch/?id=7e87ca3c531228d35e13e802d2622006138b104c; 23 + sha256 = "0i29lfg8cwj342q5s7qwqhncz2bkifj5rjc7cx6jd4zqb6ykkndj"; 19 24 }); 20 25 21 26 postPatch = stdenv.lib.optionalString doCheck ''
-16
pkgs/tools/misc/xxd/default.nix
··· 1 - { stdenv, vim }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xxd-${version}"; 5 - inherit (vim) version; 6 - phases = [ "installPhase" ]; 7 - installPhase = '' 8 - mkdir -p $out/{bin,share/man/man1} 9 - install -m755 ${stdenv.lib.getBin vim}/bin/xxd $out/bin/xxd 10 - install -m644 ${stdenv.lib.getBin vim}/share/man/man1/xxd.1.gz $out/share/man/man1/xxd.1.gz 11 - ''; 12 - meta = with stdenv.lib; { 13 - description = "Make a hexdump or do the reverse."; 14 - inherit (vim.meta) homepage license maintainers platforms; 15 - }; 16 - }
+4
pkgs/tools/networking/curl/default.nix
··· 63 63 ''; 64 64 65 65 configureFlags = [ 66 + # Disable default CA bundle, use NIX_SSL_CERT_FILE or fallback 67 + # to nss-cacert from the default profile. 68 + "--without-ca-bundle" 69 + "--without-ca-path" 66 70 "--with-ca-fallback" 67 71 "--disable-manual" 68 72 ( if sslSupport then "--with-ssl=${openssl.dev}" else "--without-ssl" )
+1 -1
pkgs/tools/security/gnupg/20.nix
··· 28 28 prePatch = '' 29 29 find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i 30 30 '' + stdenv.lib.optionalString stdenv.isLinux '' 31 - sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c 31 + sed -i 's,"libpcsclite\.so[^"]*","${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c 32 32 '' + stdenv.lib.optionalString stdenv.isDarwin '' 33 33 find . -name pcsc-wrapper.c | xargs sed -i 's/typedef unsinged int pcsc_dword_t/typedef unsigned int pcsc_dword_t/' 34 34 '' + ''
+1 -1
pkgs/tools/security/gnupg/22.nix
··· 32 32 ./fix-libusb-include-path.patch 33 33 ]; 34 34 postPatch = stdenv.lib.optionalString stdenv.isLinux '' 35 - sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c 35 + sed -i 's,"libpcsclite\.so[^"]*","${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c 36 36 ''; #" fix Emacs syntax highlighting :-( 37 37 38 38 pinentryBinaryPath = pinentry.binaryPath or "bin/pinentry";
+1 -1
pkgs/tools/security/open-ecard/default.nix
··· 50 50 makeWrapper ${jre}/bin/java $out/bin/${appName} \ 51 51 --add-flags "-cp $out/share/java/cifs-${version}.jar" \ 52 52 --add-flags "-jar $out/share/java/richclient-${version}.jar" \ 53 - --suffix LD_LIBRARY_PATH ':' ${pcsclite}/lib 53 + --suffix LD_LIBRARY_PATH ':' ${stdenv.lib.getLib pcsclite}/lib 54 54 ''; 55 55 56 56 meta = with stdenv.lib; {
+1 -1
pkgs/tools/security/opensc/default.nix
··· 32 32 "--localstatedir=/var" 33 33 "--sysconfdir=/etc" 34 34 "--with-xsl-stylesheetsdir=${docbook_xsl}/xml/xsl/docbook" 35 - "--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so" 35 + "--with-pcsc-provider=${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so" 36 36 ]; 37 37 38 38 installFlags = [
+7
pkgs/tools/security/pcsclite/default.nix
··· 5 5 name = "pcsclite-${version}"; 6 6 version = "1.8.23"; 7 7 8 + outputs = [ "bin" "out" "dev" "doc" "man" ]; 9 + 8 10 src = fetchurl { 9 11 url = "https://pcsclite.apdu.fr/files/pcsc-lite-${version}.tar.bz2"; 10 12 sha256 = "1jc9ws5ra6v3plwraqixin0w0wfxj64drahrbkyrrwzghqjjc9ss"; ··· 26 28 sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ { 27 29 s/(DROPDIR *)(.*)/\1(getenv("PCSCLITE_HP_DROPDIR") ? : \2)/ 28 30 }' config.h 31 + ''; 32 + 33 + postInstall = '' 34 + # pcsc-spy is a debugging utility and it drags python into the closure 35 + moveToOutput bin/pcsc-spy "$dev" 29 36 ''; 30 37 31 38 nativeBuildInputs = [ pkgconfig perl python2 ];
+5 -9
pkgs/top-level/all-packages.nix
··· 6797 6797 fpc = fpc; 6798 6798 }; 6799 6799 6800 - lessc = callPackage ../development/compilers/lessc { }; 6800 + lessc = nodePackages.less; 6801 6801 6802 6802 liquibase = callPackage ../development/tools/database/liquibase { }; 6803 6803 ··· 9758 9758 isocodes = callPackage ../development/libraries/iso-codes { }; 9759 9759 9760 9760 ispc = callPackage ../development/compilers/ispc { 9761 - llvmPackages = llvmPackages_4; 9762 - stdenv = llvmPackages_4.stdenv; 9761 + llvmPackages = llvmPackages_6; 9762 + stdenv = llvmPackages_6.stdenv; 9763 9763 }; 9764 9764 9765 9765 isso = callPackage ../servers/isso { }; ··· 10736 10736 then darwin.libunwind 10737 10737 else callPackage ../development/libraries/libunwind { }; 10738 10738 10739 - libuv = callPackage ../development/libraries/libuv { 10740 - inherit (darwin.apple_sdk.frameworks) ApplicationServices CoreServices; 10741 - }; 10739 + libuv = callPackage ../development/libraries/libuv { }; 10742 10740 10743 10741 libv4l = lowPrio (v4l_utils.override { 10744 10742 withUtils = false; ··· 18686 18684 flags = [ "python" "X11" ]; # only flag "X11" by now 18687 18685 }); 18688 18686 18689 - xxd = callPackage ../tools/misc/xxd { }; 18690 - 18691 18687 vimNox = lowPrio (vim_configurable.override { 18692 18688 source = "vim-nox"; 18693 18689 lua = pkgs.lua5_1; # vimNox source is from 2012, requires older lua ··· 21945 21941 unixtools = recurseIntoAttrs (callPackages ./unix-tools.nix { }); 21946 21942 inherit (unixtools) hexdump ps logger eject umount 21947 21943 mount wall hostname more sysctl getconf 21948 - getent locale killall; 21944 + getent locale killall xxd; 21949 21945 21950 21946 fts = if hostPlatform.isMusl then netbsd.fts else null; 21951 21947
+73 -116
pkgs/top-level/perl-packages.nix
··· 5 5 for each package in a separate file: the call to the function would 6 6 be almost as much code as the function itself. */ 7 7 8 - {pkgs, overrides}: 8 + {config, pkgs, fetchurl, fetchFromGitHub, stdenv, fetchsvn, gnused, perl, overrides}: 9 9 10 10 let self = _self // overrides; _self = with self; { 11 11 12 - inherit (pkgs) buildPerlPackage fetchurl fetchFromGitHub stdenv perl fetchsvn gnused; 12 + inherit perl; 13 + 14 + inherit (pkgs) buildPerlPackage; 13 15 14 16 inherit (stdenv.lib) maintainers; 15 17 ··· 637 639 buildInputs = [ IPCSystemSimple TestFatal ]; 638 640 }; 639 641 640 - Autobox = self.autobox; 641 - 642 642 Autodia = buildPerlPackage rec { 643 643 name = "Autodia-2.14"; 644 644 src = fetchurl { ··· 669 669 }; 670 670 buildInputs = [ DBI ]; 671 671 }; 672 - 673 - autodie = null; # part of Perl 674 - 675 - AutoLoader = null; # part of Perl 5.22 676 672 677 673 autovivification = buildPerlPackage rec { 678 674 name = "autovivification-0.18"; ··· 696 692 }; 697 693 698 694 BC = buildPerlPackage rec { 699 - name = "B-C-1.54"; 695 + name = "B-C-1.55"; 700 696 src = fetchurl { 701 697 url = "mirror://cpan/authors/id/R/RU/RURBAN/${name}.tar.gz"; 702 - sha256 = "d07e5af5fb798fcd3f4eda5e40744a14c1b3ef9e585a7dca55b5db31cb1d28d3"; 698 + sha256 = "001bc3mxv1zkg1ynqpv3fbn1v3h3bqihg0pp19z4gfvrsrkns8q9"; 703 699 }; 704 700 propagatedBuildInputs = [ BFlags IPCRun Opcodes ]; 705 701 meta = { ··· 1458 1454 }; 1459 1455 }; 1460 1456 1461 - CatalystPluginUnicodeEncoding = CatalystRuntime; 1462 - 1463 1457 CatalystPluginHTMLWidget = buildPerlPackage rec { 1464 1458 name = "Catalyst-Plugin-HTML-Widget-1.1"; 1465 1459 src = fetchurl { ··· 1867 1861 url = "mirror://cpan/authors/id/J/JS/JSWARTZ/${name}.tar.gz"; 1868 1862 sha256 = "c7f1a2b3570a8fede484e933f89ba1729e0abd05935791d146c522dd120ee851"; 1869 1863 }; 1864 + preConfigure = stdenv.lib.optionalString (stdenv.lib.versionAtLeast perl.version "5.26") '' 1865 + # fix error 'Unescaped left brace in regex is illegal here in regex' 1866 + substituteInPlace lib/CHI/t/Driver/Subcache/l1_cache.pm --replace 'qr/CHI stats: {' 'qr/CHI stats: \{' 1867 + ''; 1870 1868 buildInputs = [ TestClass TestDeep TestException TestWarn TimeDate ]; 1871 1869 propagatedBuildInputs = [ CarpAssert ClassLoad DataUUID DigestJHash HashMoreUtils JSONMaybeXS ListMoreUtils LogAny Moo MooXTypesMooseLikeNumeric StringRewritePrefix TaskWeaken TimeDuration TimeDurationParse ]; 1872 1870 meta = { ··· 1908 1906 }; 1909 1907 propagatedBuildInputs = [ ClassAccessor ]; 1910 1908 }; 1911 - 1912 - ClassAccessorFast = ClassAccessor; 1913 1909 1914 1910 ClassAccessorGrouped = buildPerlPackage { 1915 1911 name = "Class-Accessor-Grouped-0.10012"; ··· 2105 2101 url = "mirror://cpan/authors/id/E/EV/EVO/${name}.tar.gz"; 2106 2102 sha256 = "0ricb0mn0i06ngfhq5y035yx8i7ahlx83yyqwixqmv6hg4p79b5c"; 2107 2103 }; 2104 + preConfigure = stdenv.lib.optionalString (stdenv.lib.versionAtLeast perl.version "5.26") '' 2105 + # fix error 'Unescaped left brace in regex is illegal here in regex' 2106 + substituteInPlace tests/xemulator/class_methodmaker/Test.pm --replace 's/(TEST\s{)/$1/g' 's/(TEST\s\{)/$1/g' 2107 + ''; 2108 2108 }; 2109 2109 2110 2110 ClassMethodMaker = buildPerlPackage rec { ··· 2147 2147 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 2148 2148 }; 2149 2149 }; 2150 - 2151 - ClassMOP = Moose; 2152 2150 2153 2151 ClassReturnValue = buildPerlPackage rec { 2154 2152 name = "Class-ReturnValue-0.55"; ··· 2363 2361 }; 2364 2362 }; 2365 2363 2366 - # For backwards compatibility. 2367 - CommonSense = self.commonsense; 2368 - 2369 2364 commonsense = buildPerlPackage rec { 2370 2365 name = "common-sense-3.74"; 2371 2366 src = fetchurl { ··· 2414 2409 inherit fetchurl buildPerlPackage stdenv; 2415 2410 inherit (pkgs) zlib; 2416 2411 }; 2417 - 2418 - CompressZlib = IOCompress; 2419 2412 2420 2413 CompressUnLZMA = buildPerlPackage rec { 2421 2414 name = "Compress-unLZMA-0.05"; ··· 2665 2658 }; 2666 2659 }; 2667 2660 2668 - constant = null; # part of Perl 5.22 2669 - 2670 2661 constantboolean = buildPerlModule { 2671 2662 name = "constant-boolean-0.02"; 2672 2663 src = fetchurl { ··· 2691 2682 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 2692 2683 }; 2693 2684 }; 2694 - 2695 - constantdefer = pkgs.perlPackages.constant-defer; 2696 2685 2697 2686 constant-defer = buildPerlPackage rec { 2698 2687 name = "constant-defer-6"; ··· 4028 4017 }; 4029 4018 }; 4030 4019 4031 - DevelSelfStubber = null; # part of Perl 5.22 4032 - 4033 4020 DevelSizeMe = buildPerlPackage { 4034 4021 name = "Devel-SizeMe-0.19"; 4035 4022 src = fetchurl { ··· 4473 4460 }; 4474 4461 }; 4475 4462 4476 - Digest = null; # part of Perl 5.22 4477 - 4478 4463 DigestCRC = buildPerlPackage rec { 4479 4464 name = "Digest-CRC-0.22.2"; 4480 4465 src = fetchurl { ··· 4500 4485 }; 4501 4486 4502 4487 DigestHMAC_SHA1 = DigestHMAC; 4503 - 4504 4488 DigestJHash = buildPerlPackage rec { 4505 4489 name = "Digest-JHash-0.10"; 4506 4490 src = fetchurl { ··· 4560 4544 }; 4561 4545 }; 4562 4546 4563 - DigestSHA = null; 4564 - 4565 4547 DigestSHA1 = buildPerlPackage { 4566 4548 name = "Digest-SHA1-2.13"; 4567 4549 src = fetchurl { ··· 4649 4631 }; 4650 4632 buildInputs = [ TestMojibake ]; 4651 4633 }; 4652 - 4653 - DistZillaPluginNoTabsTests = DistZillaPluginTestNoTabs; 4654 4634 4655 4635 DistZillaPluginPodWeaver = buildPerlPackage { 4656 4636 name = "Dist-Zilla-Plugin-PodWeaver-4.008"; ··· 5078 5058 }; 5079 5059 }; 5080 5060 5081 - EmailMIMEModifier = EmailMIME; 5082 - 5083 5061 EmailSend = buildPerlPackage rec { 5084 5062 name = "Email-Send-2.201"; 5085 5063 src = fetchurl { ··· 5422 5400 }; 5423 5401 }; 5424 5402 5425 - ExtUtilsCommand = ExtUtilsMakeMaker; 5426 - 5427 5403 Expect = buildPerlPackage { 5428 5404 name = "Expect-1.35"; 5429 5405 src = fetchurl { ··· 5436 5412 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 5437 5413 }; 5438 5414 }; 5439 - 5440 - Exporter = null; # part of Perl 5.22 5441 5415 5442 5416 ExtUtilsCBuilder = buildPerlPackage rec { 5443 5417 name = "ExtUtils-CBuilder-0.280230"; ··· 6206 6180 maintainers = [ maintainers.limeytexan ]; 6207 6181 }; 6208 6182 }; 6209 - 6210 - FileTemp = null; 6211 6183 6212 6184 FileTouch = buildPerlPackage rec { 6213 6185 name = "File-Touch-0.11"; ··· 7533 7505 }; 7534 7506 }; 7535 7507 7536 - I18NCollate = null; # part of Perl 5.22 7537 - 7538 7508 iCalParser = buildPerlPackage rec { 7539 7509 name = "iCal-Parser-1.21"; 7540 7510 src = fetchurl { ··· 7547 7517 }; 7548 7518 }; 7549 7519 7550 - "if" = null; 7551 - 7552 - # For backwards compatibility. 7553 - if_ = self."if"; 7554 - 7555 7520 ImageInfo = buildPerlPackage rec { 7556 7521 name = "Image-Info-1.41"; 7557 7522 src = fetchurl { ··· 7845 7810 sha256 = "2a3f4ad8442d9070780e58ef43722d19d1ee21a803bf7c8206877a10482de5a0"; 7846 7811 }; 7847 7812 }; 7848 - 7849 - IOstringy = pkgs.perlPackages.IOStringy; 7850 7813 7851 7814 IOStringy = buildPerlPackage rec { 7852 7815 name = "IO-stringy-2.111"; ··· 8223 8186 }; 8224 8187 }; 8225 8188 8226 - lib_ = null; # part of Perl 5.22 8227 - 8228 8189 libapreq2 = buildPerlPackage { 8229 8190 name = "libapreq2-2.13"; 8230 8191 src = fetchurl { ··· 8254 8215 license = stdenv.lib.licenses.asl20; 8255 8216 }; 8256 8217 }; 8257 - 8258 - libintlperl = pkgs.perlPackages.libintl_perl; 8259 8218 8260 8219 libintl_perl = buildPerlPackage rec { 8261 8220 name = "libintl-perl-1.29"; ··· 8677 8636 }; 8678 8637 }; 8679 8638 8680 - LocaleMaketextSimple = null; # part of Perl 5.22 8681 - 8682 8639 LocaleMsgfmt = buildPerlPackage { 8683 8640 name = "Locale-Msgfmt-0.15"; 8684 8641 src = fetchurl { ··· 8918 8875 }; 8919 8876 }; 8920 8877 8921 - # For backwards compatibility. 8922 - Log4Perl = self.LogLog4perl; 8923 - 8924 8878 LogDispatchArray = buildPerlPackage { 8925 8879 name = "Log-Dispatch-Array-1.003"; 8926 8880 src = fetchurl { ··· 9004 8958 }; 9005 8959 }; 9006 8960 9007 - LWPProtocolconnect = pkgs.perlPackages.LWPProtocolConnect; 9008 - 9009 8961 LWPProtocolConnect = buildPerlPackage { 9010 8962 name = "LWP-Protocol-connect-6.09"; 9011 8963 src = fetchurl { ··· 9019 8971 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 9020 8972 }; 9021 8973 }; 9022 - 9023 - LWPProtocolhttps = pkgs.perlPackages.LWPProtocolHttps; 9024 8974 9025 8975 LWPProtocolHttps = buildPerlPackage rec { 9026 8976 name = "LWP-Protocol-https-6.07"; ··· 9051 9001 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 9052 9002 }; 9053 9003 }; 9054 - 9055 - LWPUserAgent = LWP; 9056 9004 9057 9005 LWPUserAgentDetermined = buildPerlPackage { 9058 9006 name = "LWP-UserAgent-Determined-1.07"; ··· 9353 9301 buildInputs = [ ExtUtilsCppGuess ExtUtilsTypemapsDefault ExtUtilsXSpp ModuleBuildWithXSpp TestDeep ]; 9354 9302 }; 9355 9303 9356 - MathComplex = null; # part of Perl 5.22 9357 - 9358 9304 MathConvexHullMonotoneChain = buildPerlPackage rec { 9359 9305 name = "Math-ConvexHull-MonotoneChain-0.01"; 9360 9306 src = fetchurl { ··· 9515 9461 platforms = platforms.unix; 9516 9462 }; 9517 9463 }; 9518 - 9519 - MIMEBase64 = null; # part of Perl 5.22 9520 9464 9521 9465 MIMECharset = buildPerlPackage { 9522 9466 name = "MIME-Charset-1.012.2"; ··· 9554 9498 }; 9555 9499 }; 9556 9500 9557 - MIMEtools = MIMETools; 9558 - 9559 9501 MIMETools = buildPerlPackage rec { 9560 9502 name = "MIME-tools-5.509"; 9561 9503 src = fetchurl { ··· 10432 10374 }; 10433 10375 }; 10434 10376 10435 - MouseXGetOpt = self.MouseXGetopt; 10436 - 10437 10377 MouseXGetopt = buildPerlModule rec { 10438 10378 name = "MouseX-Getopt-0.37"; 10439 10379 src = fetchurl { ··· 11086 11026 }; 11087 11027 }; 11088 11028 11089 - # Deprecated. 11090 - NamespaceAutoclean = self.namespaceautoclean; 11091 - 11092 - # Deprecated. 11093 - NamespaceClean = self.namespaceclean; 11094 - 11095 11029 NetIdent = buildPerlPackage rec { 11096 11030 name = "Net-Ident-1.24"; 11097 11031 src = fetchurl { ··· 11375 11309 }; 11376 11310 }; 11377 11311 11378 - NetLDAP = perlldap; 11379 - 11380 11312 NetOAuth = buildPerlModule { 11381 11313 name = "Net-OAuth-0.28"; 11382 11314 src = fetchurl { ··· 11452 11384 license = with stdenv.lib.licenses; [ mit ]; 11453 11385 }; 11454 11386 }; 11455 - 11456 - NetSMTP = libnet; 11457 11387 11458 11388 NetSMTPSSL = buildPerlPackage { 11459 11389 name = "Net-SMTP-SSL-1.04"; ··· 11635 11565 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 11636 11566 }; 11637 11567 }; 11638 - 11639 - # For backwards compatibility. Please use OLEStorage_Lite instead. 11640 - OLEStorageLight = OLEStorage_Lite; 11641 11568 11642 11569 OLEStorage_Lite = buildPerlPackage rec { 11643 11570 name = "OLE-Storage_Lite-0.19"; ··· 11952 11879 }; 11953 11880 }; 11954 11881 11955 - ParseCPANMeta = CPANMeta; 11956 - 11957 11882 ParseDebControl = buildPerlPackage rec { 11958 11883 name = "Parse-DebControl-2.005"; 11959 11884 src = fetchurl { ··· 12082 12007 }; 12083 12008 buildInputs = [ pkgs.pcsclite ]; 12084 12009 nativeBuildInputs = [ pkgs.pkgconfig ]; 12085 - NIX_CFLAGS_LINK = "-L${pkgs.pcsclite}/lib -lpcsclite"; 12010 + NIX_CFLAGS_LINK = "-L${stdenv.lib.getLib pkgs.pcsclite}/lib -lpcsclite"; 12086 12011 # tests fail; look unfinished 12087 12012 doCheck = false; 12088 12013 meta = { ··· 12205 12130 sha256 = "0jbb3xpbqzmr625blvnjszd69l3cwxzi7bhmkj5x48dgv3s7mkca"; 12206 12131 }; 12207 12132 }; 12208 - 12209 - PerlIOviaQuotedPrint = null; # part of Perl 5.22 12210 12133 12211 12134 PerlIOviasymlink = buildPerlPackage { 12212 12135 name = "PerlIO-via-symlink-0.05"; ··· 12862 12785 }; 12863 12786 }; 12864 12787 12865 - PodEscapes = null; # part of Perl 5.22 12866 - 12867 12788 PodEventual = buildPerlPackage { 12868 12789 name = "Pod-Eventual-0.094001"; 12869 12790 src = fetchurl { ··· 13363 13284 propagatedBuildInputs = [ DateTimeFormatDateParse Error LWP ParamsValidate ]; 13364 13285 }; 13365 13286 13366 - Safe = null; # part of Perl 5.22 13367 - 13368 13287 SafeIsa = buildPerlPackage { 13369 13288 name = "Safe-Isa-1.000010"; 13370 13289 src = fetchurl { ··· 13431 13350 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 13432 13351 }; 13433 13352 }; 13434 - 13435 - SearchDict = null; # part of Perl 5.22 13436 13353 13437 13354 SelfLoader = buildPerlPackage { 13438 13355 name = "SelfLoader-1.24"; ··· 14128 14045 license = licenses.gpl3; 14129 14046 platforms = platforms.all; 14130 14047 maintainers = with maintainers; [ pSub ]; 14131 - meta.broken = true; 14048 + broken = true; 14132 14049 }; 14133 14050 }; 14134 14051 ··· 14190 14107 }; 14191 14108 14192 14109 SubExporterUtil = SubExporter; 14193 - 14194 14110 SubIdentify = buildPerlPackage rec { 14195 14111 name = "Sub-Identify-0.14"; 14196 14112 src = fetchurl { ··· 14865 14781 }; 14866 14782 }; 14867 14783 14868 - Test = null; # part of Perl 5.22 14869 - 14870 14784 Test2PluginNoWarnings = buildPerlPackage rec { 14871 14785 name = "Test2-Plugin-NoWarnings-0.06"; 14872 14786 src = fetchurl { ··· 15450 15364 }; 15451 15365 }; 15452 15366 15453 - TestMoose = Moose; 15454 - 15455 15367 TestMockTime = buildPerlPackage rec { 15456 15368 name = "Test-MockTime-0.17"; 15457 15369 src = fetchurl { ··· 15498 15410 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 15499 15411 }; 15500 15412 }; 15501 - 15502 - TestMore = TestSimple; 15503 15413 15504 15414 TestMost = buildPerlPackage { 15505 15415 name = "Test-Most-0.35"; ··· 15871 15781 }; 15872 15782 }; 15873 15783 15874 - TestSimple = null; 15875 - 15876 15784 TestSimple13 = buildPerlPackage rec { 15877 15785 name = "Test-Simple-1.302136"; 15878 15786 src = fetchurl { ··· 15960 15868 }; 15961 15869 buildInputs = [ TestSharedFork ]; 15962 15870 }; 15963 - 15964 - TestTester = TestSimple; 15965 15871 15966 15872 TestTime = buildPerlPackage rec { 15967 15873 name = "Test-Time-0.05"; ··· 16014 15920 }; 16015 15921 }; 16016 15922 16017 - Testuseok = TestSimple; 16018 - 16019 15923 TestWarn = buildPerlPackage { 16020 15924 name = "Test-Warn-0.35"; 16021 15925 src = fetchurl { ··· 16138 16042 }; 16139 16043 buildInputs = [ TestBase ]; 16140 16044 }; 16141 - 16142 - TextAbbrev = null; # part of Perl 5.22 16143 16045 16144 16046 TextAligner = buildPerlModule rec { 16145 16047 name = "Text-Aligner-0.13"; ··· 16533 16435 platforms = stdenv.lib.platforms.linux; 16534 16436 }; 16535 16437 }; 16536 - 16537 - TextTabsWrap = null; # part of Perl 5.22 16538 16438 16539 16439 TextTabularDisplay = buildPerlPackage rec { 16540 16440 name = "Text-TabularDisplay-1.38"; ··· 18008 17908 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; 18009 17909 }; 18010 17910 }; 17911 + 17912 + } // stdenv.lib.optionalAttrs (config.skipAliases or false == false) { 17913 + autodie = null; # part of Perl 17914 + AutoLoader = null; # part of Perl 5.22 17915 + constant = null; # part of Perl 5.22 17916 + DevelSelfStubber = null; # part of Perl 5.22 17917 + Digest = null; # part of Perl 5.22 17918 + Exporter = null; # part of Perl 5.22 17919 + I18NCollate = null; # part of Perl 5.22 17920 + lib_ = null; # part of Perl 5.22 17921 + LocaleMaketextSimple = null; # part of Perl 5.22 17922 + MathComplex = null; # part of Perl 5.22 17923 + MIMEBase64 = null; # part of Perl 5.22 17924 + PerlIOviaQuotedPrint = null; # part of Perl 5.22 17925 + PodEscapes = null; # part of Perl 5.22 17926 + Safe = null; # part of Perl 5.22 17927 + SearchDict = null; # part of Perl 5.22 17928 + Test = null; # part of Perl 5.22 17929 + TextAbbrev = null; # part of Perl 5.22 17930 + TextTabsWrap = null; # part of Perl 5.22 17931 + DigestSHA = null; 17932 + FileTemp = null; 17933 + "if" = null; 17934 + TestSimple = null; 17935 + 17936 + ArchiveZip_1_53 = self.ArchiveZip; 17937 + Autobox = self.autobox; 17938 + CommonSense = self.commonsense; # For backwards compatibility. 17939 + if_ = self."if"; # For backwards compatibility. 17940 + Log4Perl = self.LogLog4perl; # For backwards compatibility. 17941 + MouseXGetOpt = self.MouseXGetopt; 17942 + NamespaceAutoclean = self.namespaceautoclean; # Deprecated. 17943 + NamespaceClean = self.namespaceclean; # Deprecated. 17944 + CatalystPluginUnicodeEncoding = self.CatalystRuntime; 17945 + ClassAccessorFast = self.ClassAccessor; 17946 + ClassMOP = self.Moose; 17947 + CompressZlib = self.IOCompress; 17948 + constantdefer = self.constant-defer; 17949 + DigestHMAC_SHA1 = self.DigestHMAC; 17950 + DistZillaPluginNoTabsTests = self.DistZillaPluginTestNoTabs; 17951 + EmailMIMEModifier = self.EmailMIME; 17952 + ExtUtilsCommand = self.ExtUtilsMakeMaker; 17953 + IOstringy = self.IOStringy; 17954 + libintlperl = self.libintl_perl; 17955 + LWPProtocolconnect = self.LWPProtocolConnect; 17956 + LWPProtocolhttps = self.LWPProtocolHttps; 17957 + LWPUserAgent = self.LWP; 17958 + MIMEtools = self.MIMETools; 17959 + NetLDAP = self.perlldap; 17960 + NetSMTP = self.libnet; 17961 + OLEStorageLight = self.OLEStorage_Lite; # For backwards compatibility. Please use OLEStorage_Lite instead. 17962 + ParseCPANMeta = self.CPANMeta; 17963 + TestMoose = self.Moose; 17964 + TestMore = self.TestSimple; 17965 + TestTester = self.TestSimple; 17966 + Testuseok = self.TestSimple; 17967 + SubExporterUtil = self.SubExporter; 18011 17968 18012 17969 }; in self
+20 -42
pkgs/top-level/python-packages.nix
··· 20 20 let 21 21 pythonAtLeast = versionAtLeast python.pythonVersion; 22 22 pythonOlder = versionOlder python.pythonVersion; 23 - isPy26 = python.pythonVersion == "2.6"; 24 23 isPy27 = python.pythonVersion == "2.7"; 25 24 isPy33 = python.pythonVersion == "3.3"; 26 25 isPy34 = python.pythonVersion == "3.4"; ··· 133 132 134 133 in { 135 134 136 - inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy26 isPy27 isPy33 isPy34 isPy35 isPy36 isPy37 isPyPy isPy3k buildPythonPackage buildPythonApplication; 135 + inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy27 isPy33 isPy34 isPy35 isPy36 isPy37 isPyPy isPy3k buildPythonPackage buildPythonApplication; 137 136 inherit fetchPypi callPackage; 138 137 inherit hasPythonModule requiredPythonModules makePythonPath disabledIf; 139 138 inherit toPythonModule toPythonApplication; ··· 985 984 name = "${pname}-${version}"; 986 985 version = "0.2.2"; 987 986 pname = "basiciw"; 988 - disabled = isPy26 || isPy27 || isPyPy; 987 + disabled = isPy27 || isPyPy; 989 988 990 989 src = pkgs.fetchurl { 991 990 url = "mirror://pypi/b/${pname}/${name}.tar.gz"; ··· 1031 1030 propagatedBuildInputs = [ 1032 1031 self.sqlalchemy 1033 1032 self.pycrypto 1034 - ] ++ optionals (isPy26 || isPy27) [ 1033 + ] ++ optionals (isPy27) [ 1035 1034 self.funcsigs 1036 1035 self.pycryptopp 1037 1036 ]; ··· 1960 1959 }; 1961 1960 1962 1961 # Needed for celery 1963 - pytest_32 = self.pytest_36.overrideAttrs( oldAttrs: rec { 1962 + pytest_32 = self.pytest_36.overridePythonAttrs( oldAttrs: rec { 1964 1963 version = "3.2.5"; 1965 1964 src = oldAttrs.src.override { 1966 1965 inherit version; ··· 2931 2930 name = "gtimelog-${version}"; 2932 2931 version = "0.9.1"; 2933 2932 2934 - disabled = isPy26; 2935 - 2936 2933 src = pkgs.fetchurl { 2937 2934 url = "https://github.com/gtimelog/gtimelog/archive/${version}.tar.gz"; 2938 2935 sha256 = "0qk8fv8cszzqpdi3wl9vvkym1jil502ycn6sic4jrxckw5s9jsfj"; ··· 3171 3168 ipfsapi = buildPythonPackage rec { 3172 3169 name = "ipfsapi-${version}"; 3173 3170 version = "0.4.2.post1"; 3174 - disabled = isPy26 || isPy27; 3171 + disabled = isPy27; 3175 3172 3176 3173 src = pkgs.fetchFromGitHub { 3177 3174 owner = "ipfs"; ··· 4099 4096 virtualenv 4100 4097 webtest 4101 4098 zope_component 4102 - ] ++ optional isPy26 unittest2; 4099 + ]; 4103 4100 4104 4101 propagatedBuildInputs = with self; [ 4105 4102 hupper ··· 4632 4629 sha256 = "0va95cml7wfjpvgj3dc9xdn8psyjh3zbk6v51b0hcqv2fzh409vb"; 4633 4630 } ; 4634 4631 4635 - buildInputs = with self; [] ++ optionals isPy26 [ ordereddict unittest2 ]; 4636 - 4637 4632 meta = { 4638 - maintainers = with maintainers; [ garbas domenkozar ]; 4639 - platforms = platforms.all; 4633 + maintainers = with maintainers; [ garbas domenkozar ]; 4640 4634 }; 4641 4635 }; 4642 4636 ··· 5241 5235 sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1"; 5242 5236 }; 5243 5237 5244 - buildInputs = optional isPy26 self.ordereddict; 5245 5238 checkPhase = '' 5246 5239 ${python.interpreter} -m unittest discover 5247 5240 ''; ··· 5594 5587 # This is fixed in master I believe but not yet in 2.1; 5595 5588 doCheck = false; 5596 5589 5597 - propagatedBuildInputs = with self; ([ Babel ] ++ (optionals isPy26 [ ordereddict ])); 5590 + propagatedBuildInputs = with self; [ Babel ]; 5598 5591 5599 5592 meta = { 5600 5593 homepage = https://github.com/wtforms/wtforms; ··· 6040 6033 sha256 = "c77d007cc32cdff836ecf8df6192371767976c108a75b055e057bb6f4a09cd42"; 6041 6034 }; 6042 6035 6043 - buildInputs = with self; [ setuptools ] ++ (optional isPy26 argparse); 6036 + buildInputs = with self; [ setuptools ]; 6044 6037 6045 6038 meta = { 6046 6039 description = "Automatically generated zsh completion function for Python's option parser modules"; ··· 6055 6048 6056 6049 gipc = buildPythonPackage rec { 6057 6050 name = "gipc-0.5.0"; 6058 - disabled = !isPy26 && !isPy27; 6051 + disabled = !isPy27; 6059 6052 6060 6053 src = pkgs.fetchurl { 6061 6054 url = "mirror://pypi/g/gipc/${name}.zip"; ··· 6574 6567 importlib = buildPythonPackage rec { 6575 6568 name = "importlib-1.0.2"; 6576 6569 6577 - disabled = (!isPy26) || isPyPy; 6570 + disabled = isPyPy; 6578 6571 6579 6572 src = pkgs.fetchurl { 6580 6573 url = "mirror://pypi/i/importlib/importlib-1.0.2.tar.gz"; ··· 6789 6782 sha256 = "0y3w1x9935qzx8w6m2r6g4ghyjmxn33wryiif6xb56q7cj9w1433"; 6790 6783 }; 6791 6784 6792 - disabled = ! (isPy26 || isPy27); 6785 + disabled = !isPy27; 6793 6786 6794 6787 buildInputs = [ self.nose ]; 6795 6788 ··· 7379 7372 sha256 = "0xzz7j8xskj5y6as178mjmm0i2xbhd4q4mwmdnvghpd2aqq3qx1c"; 7380 7373 }; 7381 7374 7382 - disabled = isPy26; 7383 - 7384 7375 buildInputs = with self; [ pexpect ]; 7385 7376 7386 7377 prePatch = '' ··· 8552 8543 8553 8544 nose-exclude = callPackage ../development/python-modules/nose-exclude { }; 8554 8545 8555 - nose2 = if isPy26 then null else (buildPythonPackage rec { 8546 + nose2 = buildPythonPackage rec { 8556 8547 name = "nose2-0.5.0"; 8557 8548 src = pkgs.fetchurl { 8558 8549 url = "mirror://pypi/n/nose2/${name}.tar.gz"; ··· 8564 8555 propagatedBuildInputs = with self; [ six ]; 8565 8556 # AttributeError: 'module' object has no attribute 'collector' 8566 8557 doCheck = false; 8567 - }); 8558 + }; 8568 8559 8569 8560 nose-cover3 = buildPythonPackage rec { 8570 8561 name = "nose-cover3-${version}"; ··· 8840 8831 buildInputs = [ pkgs.makeWrapper ]; 8841 8832 8842 8833 propagatedBuildInputs = with self; [ pkgs.rtmpdump pycrypto requests ] 8843 - ++ optionals isPy26 [ singledispatch futures argparse ] 8844 8834 ++ optionals isPy27 [ singledispatch futures ] 8845 8835 ++ optionals isPy33 [ singledispatch ]; 8846 8836 ··· 9410 9400 name = "paho-mqtt-${version}"; 9411 9401 version = "1.1"; 9412 9402 9413 - disabled = isPyPy || isPy26; 9403 + disabled = isPyPy; 9414 9404 9415 9405 src = pkgs.fetchurl { 9416 9406 url = "mirror://pypi/p/paho-mqtt/${name}.tar.gz"; ··· 11684 11674 python-wifi = buildPythonPackage rec { 11685 11675 name = "python-wifi-${version}"; 11686 11676 version = "0.6.1"; 11687 - disabled = ! (isPy26 || isPy27 ); 11677 + disabled = !isPy27; 11688 11678 11689 11679 src = pkgs.fetchurl { 11690 11680 url = "mirror://pypi/p/python-wifi/${name}.tar.bz2"; ··· 12020 12010 12021 12011 repocheck = buildPythonPackage rec { 12022 12012 name = "repocheck-2015-08-05"; 12023 - disabled = isPy26 || isPy27; 12024 12013 12025 12014 src = pkgs.fetchFromGitHub { 12026 12015 sha256 = "1jc4v5zy7z7xlfmbfzvyzkyz893f5x2k6kvb3ni3rn2df7jqhc81"; ··· 12610 12599 name = "shortuuid-${version}"; 12611 12600 version = "0.4.3"; 12612 12601 12613 - disabled = isPy26; 12614 - 12615 12602 src = pkgs.fetchurl { 12616 12603 url = "mirror://pypi/s/shortuuid/${name}.tar.gz"; 12617 12604 sha256 = "4606dbb19124d98109c00e2cafae2df8117aec02115623e18fb2abe3f766d293"; ··· 12846 12833 buildInputs = with self; [ pytest ]; 12847 12834 propagatedBuildInputs = with self; [ praw xmltodict pytz pyenchant pygeoip ]; 12848 12835 12849 - disabled = isPyPy || isPy26 || isPy27; 12836 + disabled = isPyPy || isPy27; 12850 12837 12851 12838 checkPhase = '' 12852 12839 ${python.interpreter} test/*.py #*/ ··· 14036 14023 src = py; 14037 14024 format = "other"; 14038 14025 14039 - disabled = isPy26 || isPyPy; 14026 + disabled = isPyPy; 14040 14027 14041 14028 installPhase = '' 14042 14029 # Move the tkinter module ··· 14819 14806 substituteInPlace setup.py --replace "nose<1.3.0" "nose" 14820 14807 ''; 14821 14808 14822 - # XXX: skipping two tests fails in python2.6 14823 - doCheck = ! isPy26; 14824 - 14825 - buildInputs = with self; optionals isPy26 [ ordereddict unittest2 ]; 14826 - 14827 14809 propagatedBuildInputs = with self; [ 14828 14810 nose 14829 14811 webob ··· 15265 15247 sha256 = "1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank"; 15266 15248 }; 15267 15249 15268 - propagatedBuildInputs = with self; [ zope_location zope_event zope_interface zope_testing ] ++ optional isPy26 ordereddict; 15250 + propagatedBuildInputs = with self; [ zope_location zope_event zope_interface zope_testing ]; 15269 15251 15270 15252 # ImportError: No module named 'zope.event' 15271 15253 # even though zope_event has been included. ··· 16869 16851 16870 16852 jenkins-job-builder = buildPythonPackage rec { 16871 16853 name = "jenkins-job-builder-2.0.0.0b2"; 16872 - disabled = ! (isPy26 || isPy27); 16854 + disabled = !isPy27; 16873 16855 16874 16856 src = pkgs.fetchurl { 16875 16857 url = "mirror://pypi/j/jenkins-job-builder/${name}.tar.gz"; ··· 16891 16873 pyyaml 16892 16874 six 16893 16875 stevedore 16894 - ] ++ optionals isPy26 [ 16895 - ordereddict 16896 - argparse 16897 - ordereddict 16898 16876 ]; 16899 16877 16900 16878 meta = {
+9
pkgs/top-level/unix-tools.nix
··· 16 16 17 17 singleBinary = cmd: providers: let 18 18 provider = "${lib.getBin providers.${hostPlatform.parsed.kernel.name}}/bin/${cmd}"; 19 + manpage = "${lib.getOutput "man" providers.${hostPlatform.parsed.kernel.name}}/share/man/man1/${cmd}.1.gz"; 19 20 in runCommand "${cmd}-${version}" { 20 21 meta.platforms = map (n: { kernel.name = n; }) (pkgs.lib.attrNames providers); 21 22 } '' ··· 25 26 fi 26 27 27 28 install -D "${provider}" "$out/bin/${cmd}" 29 + 30 + if [ -f "${manpage}" ]; then 31 + install -D "${manpage}" $out/share/man/man1/${cmd}.1.gz 32 + fi 28 33 ''; 29 34 30 35 # more is unavailable in darwin ··· 146 151 write = { 147 152 linux = pkgs.utillinux; 148 153 darwin = pkgs.darwin.basic_cmds; 154 + }; 155 + xxd = { 156 + linux = pkgs.vim; 157 + darwin = pkgs.vim; 149 158 }; 150 159 }; 151 160