Merge staging-next into master

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