Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 2015f29c c1bb974d

+892 -334
+7 -4
nixos/modules/programs/neovim.nix
··· 138 }; 139 140 source = mkOption { 141 - type = types.path; 142 description = lib.mdDoc "Path of the source file."; 143 }; 144 ··· 160 environment.etc = listToAttrs (attrValues (mapAttrs 161 (name: value: { 162 name = "xdg/nvim/${name}"; 163 - value = value // { 164 - target = "xdg/nvim/${value.target}"; 165 - }; 166 }) 167 cfg.runtime)); 168
··· 138 }; 139 140 source = mkOption { 141 + default = null; 142 + type = types.nullOr types.path; 143 description = lib.mdDoc "Path of the source file."; 144 }; 145 ··· 161 environment.etc = listToAttrs (attrValues (mapAttrs 162 (name: value: { 163 name = "xdg/nvim/${name}"; 164 + value = removeAttrs 165 + (value // { 166 + target = "xdg/nvim/${value.target}"; 167 + }) 168 + (optionals (isNull value.source) [ "source" ]); 169 }) 170 cfg.runtime)); 171
+12
pkgs/applications/editors/vim/plugins/generated.nix
··· 5121 meta.homepage = "https://github.com/chikamichi/mediawiki.vim/"; 5122 }; 5123 5124 mini-nvim = buildVimPluginFrom2Nix { 5125 pname = "mini.nvim"; 5126 version = "2023-05-07";
··· 5121 meta.homepage = "https://github.com/chikamichi/mediawiki.vim/"; 5122 }; 5123 5124 + melange-nvim = buildVimPluginFrom2Nix { 5125 + pname = "melange-nvim"; 5126 + version = "2023-04-06"; 5127 + src = fetchFromGitHub { 5128 + owner = "savq"; 5129 + repo = "melange-nvim"; 5130 + rev = "f15922543dd70b360335effb61411c05c710b99c"; 5131 + sha256 = "19swmv0xzlxp7bcmgdm2qfam28wi9igqvfn5q7wq8qshb2wqzph1"; 5132 + }; 5133 + meta.homepage = "https://github.com/savq/melange-nvim/"; 5134 + }; 5135 + 5136 mini-nvim = buildVimPluginFrom2Nix { 5137 pname = "mini.nvim"; 5138 version = "2023-05-07";
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 430 https://github.com/kaicataldo/material.vim/,HEAD, 431 https://github.com/vim-scripts/mayansmoke/,, 432 https://github.com/chikamichi/mediawiki.vim/,HEAD, 433 https://github.com/echasnovski/mini.nvim/,, 434 https://github.com/wfxr/minimap.vim/,, 435 https://github.com/jose-elias-alvarez/minsnip.nvim/,,
··· 430 https://github.com/kaicataldo/material.vim/,HEAD, 431 https://github.com/vim-scripts/mayansmoke/,, 432 https://github.com/chikamichi/mediawiki.vim/,HEAD, 433 + https://github.com/savq/melange-nvim/,, 434 https://github.com/echasnovski/mini.nvim/,, 435 https://github.com/wfxr/minimap.vim/,, 436 https://github.com/jose-elias-alvarez/minsnip.nvim/,,
+2 -9
pkgs/applications/graphics/shotwell/default.nix
··· 34 , libsecret 35 , libportal-gtk3 36 , gsettings-desktop-schemas 37 - , python3 38 }: 39 40 # for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling 41 42 stdenv.mkDerivation rec { 43 pname = "shotwell"; 44 - version = "0.32.0"; 45 46 src = fetchurl { 47 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 48 - sha256 = "sha256-F3Ky+h56VHnVKAKLyaMD8oVeHZWaWzyReSLmOpipCxk="; 49 }; 50 51 nativeBuildInputs = [ ··· 56 itstool 57 gettext 58 desktop-file-utils 59 - python3 60 wrapGAppsHook 61 gobject-introspection 62 ]; ··· 90 libsecret 91 libportal-gtk3 92 ]; 93 - 94 - postPatch = '' 95 - chmod +x build-aux/meson/postinstall.py # patchShebangs requires executable file 96 - patchShebangs build-aux/meson/postinstall.py 97 - ''; 98 99 passthru = { 100 updateScript = gnome.updateScript {
··· 34 , libsecret 35 , libportal-gtk3 36 , gsettings-desktop-schemas 37 }: 38 39 # for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling 40 41 stdenv.mkDerivation rec { 42 pname = "shotwell"; 43 + version = "0.32.1"; 44 45 src = fetchurl { 46 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 47 + sha256 = "sha256-SsRRdBatiqI7ROdcNL1uFrq3Nj+iCZG7CbrN+rP3Y84="; 48 }; 49 50 nativeBuildInputs = [ ··· 55 itstool 56 gettext 57 desktop-file-utils 58 wrapGAppsHook 59 gobject-introspection 60 ]; ··· 88 libsecret 89 libportal-gtk3 90 ]; 91 92 passthru = { 93 updateScript = gnome.updateScript {
+2 -2
pkgs/applications/misc/neo4j-desktop/default.nix
··· 1 { appimageTools, lib, fetchurl }: 2 let 3 pname = "neo4j-desktop"; 4 - version = "1.5.7"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "https://s3-eu-west-1.amazonaws.com/dist.neo4j.org/${pname}/linux-offline/${name}-x86_64.AppImage"; 9 - hash = "sha256-5sIlLPfcoX5I4TBGKR8+WAo/xC6b9RP6ljhyTil1xJM="; 10 }; 11 12 appimageContents = appimageTools.extract { inherit name src; };
··· 1 { appimageTools, lib, fetchurl }: 2 let 3 pname = "neo4j-desktop"; 4 + version = "1.5.8"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "https://s3-eu-west-1.amazonaws.com/dist.neo4j.org/${pname}/linux-offline/${name}-x86_64.AppImage"; 9 + hash = "sha256-RqzR4TuvDasbkj/wKvOOS7r46sXDxvw3B5ydFGZeHX8="; 10 }; 11 12 appimageContents = appimageTools.extract { inherit name src; };
+2 -2
pkgs/applications/networking/browsers/opera/default.nix
··· 51 in 52 stdenv.mkDerivation rec { 53 pname = "opera"; 54 - version = "98.0.4759.15"; 55 56 src = fetchurl { 57 url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb"; 58 - hash = "sha256-nv6/RXsF8rvYoCfsUC1xR79ssroAkfBqzADi02AfYH8="; 59 }; 60 61 unpackPhase = "dpkg-deb -x $src .";
··· 51 in 52 stdenv.mkDerivation rec { 53 pname = "opera"; 54 + version = "98.0.4759.39"; 55 56 src = fetchurl { 57 url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb"; 58 + hash = "sha256-3HVgEOscds+VBn9ajmkRnPdqNi9lLItJrb3uRH6L96Q="; 59 }; 60 61 unpackPhase = "dpkg-deb -x $src .";
+3 -3
pkgs/applications/networking/cluster/pachyderm/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pachyderm"; 5 - version = "2.5.5"; 6 7 src = fetchFromGitHub { 8 owner = "pachyderm"; 9 repo = "pachyderm"; 10 rev = "v${version}"; 11 - hash = "sha256-RaMOn5Cb98wKI9w0+kVUCMiySKGuudXHsi+EXFIm3Zc="; 12 }; 13 14 - vendorHash = "sha256-XmIPifozTYd1rV2wm0dU0GPvg/+HFoSLGHB6DDrkzVc="; 15 16 subPackages = [ "src/server/cmd/pachctl" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "pachyderm"; 5 + version = "2.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "pachyderm"; 9 repo = "pachyderm"; 10 rev = "v${version}"; 11 + hash = "sha256-QWlNDnhcFXfCtX4J0V/hq6nFN0RjzYv29mI2zE2fyFo="; 12 }; 13 14 + vendorHash = "sha256-3EG9d4ERaWuHaKFt0KFCOKIgTdrL7HZTO+GSi2RROKY="; 15 16 subPackages = [ "src/server/cmd/pachctl" ]; 17
+3 -3
pkgs/applications/networking/cluster/waypoint/default.nix
··· 2 3 buildGoModule rec { 4 pname = "waypoint"; 5 - version = "0.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "hashicorp"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-FI6QXQ0n/vvzUJTBbPDh9nMyAdcfTzpX79RxQEbFDUs="; 12 }; 13 14 - vendorHash = "sha256-t8PzimNW7JWvWU3lZHo+b5K3R6he35HhBQPu1hxK51U="; 15 16 nativeBuildInputs = [ go-bindata installShellFiles ]; 17
··· 2 3 buildGoModule rec { 4 pname = "waypoint"; 5 + version = "0.11.1"; 6 7 src = fetchFromGitHub { 8 owner = "hashicorp"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-8fMhwJWINazLQou/i6/BZiPtsBJLmEEX9J1EZ0rsTh8="; 12 }; 13 14 + vendorHash = "sha256-er1Qvnda8pTpWuvkiFhugZ6li82ljg9mk/HrtH22laA="; 15 16 nativeBuildInputs = [ go-bindata installShellFiles ]; 17
+4 -2
pkgs/applications/office/wpsoffice/default.nix
··· 13 , cups 14 , udev 15 , xorg 16 , makeWrapper 17 , useChineseVersion ? false 18 }: ··· 56 udev 57 ]; 58 59 - runtimeDependencies = [ 60 - cups.lib 61 ]; 62 63 installPhase = ''
··· 13 , cups 14 , udev 15 , xorg 16 + , pango 17 , makeWrapper 18 , useChineseVersion ? false 19 }: ··· 57 udev 58 ]; 59 60 + runtimeDependencies = map lib.getLib [ 61 + cups 62 + pango 63 ]; 64 65 installPhase = ''
+2 -2
pkgs/applications/virtualization/docker-slim/default.nix
··· 2 3 buildGoModule rec { 4 pname = "docker-slim"; 5 - version = "1.40.1"; 6 7 src = fetchFromGitHub { 8 owner = "slimtoolkit"; 9 repo = "slim"; 10 rev = version; 11 - hash = "sha256-ec5Qedt6NrcWZilcN9dhosAN59orgS2xxjXWO9XDxVE="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "docker-slim"; 5 + version = "1.40.2"; 6 7 src = fetchFromGitHub { 8 owner = "slimtoolkit"; 9 repo = "slim"; 10 rev = version; 11 + hash = "sha256-pRIfIgEM0olUi0LL8maB7vczcq4p67eDuWssoeOT4Tk="; 12 }; 13 14 vendorHash = null;
+2 -2
pkgs/data/fonts/julia-mono/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "JuliaMono-ttf"; 5 - version = "0.048"; 6 7 src = fetchzip { 8 url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz"; 9 stripRoot = false; 10 - hash = "sha256-KSyJMlQclEj2CR+5uSYLmPtseWiDIUuahaPDx7Tn/bw="; 11 }; 12 13 installPhase = ''
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "JuliaMono-ttf"; 5 + version = "0.049"; 6 7 src = fetchzip { 8 url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz"; 9 stripRoot = false; 10 + hash = "sha256-UTiuWbRUJVGEuqNj2EU6VBb8Y4FO08TA2Nk7cjsjmuM="; 11 }; 12 13 installPhase = ''
+306
pkgs/development/compilers/gcc/13/Added-mcf-thread-model-support-from-mcfgthread.patch
···
··· 1 + From 86f2f767ddffd9f7c6f1470b987ae7b0d251b988 Mon Sep 17 00:00:00 2001 2 + From: Liu Hao <lh_mouse@126.com> 3 + Date: Wed, 25 Apr 2018 21:54:19 +0800 4 + Subject: [PATCH] Added 'mcf' thread model support from mcfgthread. 5 + 6 + Signed-off-by: Liu Hao <lh_mouse@126.com> 7 + --- 8 + config/gthr.m4 | 1 + 9 + gcc/config.gcc | 3 +++ 10 + gcc/config/i386/mingw-mcfgthread.h | 1 + 11 + gcc/config/i386/mingw-w64.h | 2 +- 12 + gcc/config/i386/mingw32.h | 11 ++++++++++- 13 + gcc/configure | 2 +- 14 + gcc/configure.ac | 2 +- 15 + libatomic/configure.tgt | 2 +- 16 + libgcc/config.host | 6 ++++++ 17 + libgcc/config/i386/gthr-mcf.h | 1 + 18 + libgcc/config/i386/t-mingw-mcfgthread | 2 ++ 19 + libgcc/configure | 1 + 20 + libstdc++-v3/configure | 1 + 21 + libstdc++-v3/libsupc++/atexit_thread.cc | 18 ++++++++++++++++++ 22 + libstdc++-v3/libsupc++/guard.cc | 23 +++++++++++++++++++++++ 23 + libstdc++-v3/src/c++11/thread.cc | 9 +++++++++ 24 + 16 files changed, 80 insertions(+), 5 deletions(-) 25 + create mode 100644 gcc/config/i386/mingw-mcfgthread.h 26 + create mode 100644 libgcc/config/i386/gthr-mcf.h 27 + create mode 100644 libgcc/config/i386/t-mingw-mcfgthread 28 + 29 + diff --git a/config/gthr.m4 b/config/gthr.m4 30 + index 7b29f1f3327..82e21fe1709 100644 31 + --- a/config/gthr.m4 32 + +++ b/config/gthr.m4 33 + @@ -21,6 +21,7 @@ case $1 in 34 + tpf) thread_header=config/s390/gthr-tpf.h ;; 35 + vxworks) thread_header=config/gthr-vxworks.h ;; 36 + win32) thread_header=config/i386/gthr-win32.h ;; 37 + + mcf) thread_header=config/i386/gthr-mcf.h ;; 38 + esac 39 + AC_SUBST(thread_header) 40 + ]) 41 + diff --git a/gcc/config.gcc b/gcc/config.gcc 42 + index 46a9029acec..112c24e95a3 100644 43 + --- a/gcc/config.gcc 44 + +++ b/gcc/config.gcc 45 + @@ -1758,6 +1758,9 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) 46 + if test x$enable_threads = xposix ; then 47 + tm_file="${tm_file} i386/mingw-pthread.h" 48 + fi 49 + + if test x$enable_threads = xmcf ; then 50 + + tm_file="${tm_file} i386/mingw-mcfgthread.h" 51 + + fi 52 + tm_file="${tm_file} i386/mingw32.h" 53 + # This makes the logic if mingw's or the w64 feature set has to be used 54 + case ${target} in 55 + diff --git a/gcc/config/i386/mingw-mcfgthread.h b/gcc/config/i386/mingw-mcfgthread.h 56 + new file mode 100644 57 + index 00000000000..ec381a7798f 58 + --- /dev/null 59 + +++ b/gcc/config/i386/mingw-mcfgthread.h 60 + @@ -0,0 +1 @@ 61 + +#define TARGET_USE_MCFGTHREAD 1 62 + diff --git a/gcc/config/i386/mingw-w64.h b/gcc/config/i386/mingw-w64.h 63 + index 484dc7a9e9f..a15bbeea500 100644 64 + --- a/gcc/config/i386/mingw-w64.h 65 + +++ b/gcc/config/i386/mingw-w64.h 66 + @@ -48,7 +48,7 @@ along with GCC; see the file COPYING3. If not see 67 + "%{mwindows:-lgdi32 -lcomdlg32} " \ 68 + "%{fvtable-verify=preinit:-lvtv -lpsapi; \ 69 + fvtable-verify=std:-lvtv -lpsapi} " \ 70 + - "-ladvapi32 -lshell32 -luser32 -lkernel32" 71 + + LIB_MCFGTHREAD "-ladvapi32 -lshell32 -luser32 -lkernel32" 72 + 73 + #undef SPEC_32 74 + #undef SPEC_64 75 + diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h 76 + index 0612b87199a..76cea94f3b7 100644 77 + --- a/gcc/config/i386/mingw32.h 78 + +++ b/gcc/config/i386/mingw32.h 79 + @@ -32,6 +32,14 @@ along with GCC; see the file COPYING3. If not see 80 + | MASK_STACK_PROBE | MASK_ALIGN_DOUBLE \ 81 + | MASK_MS_BITFIELD_LAYOUT) 82 + 83 + +#ifndef TARGET_USE_MCFGTHREAD 84 + +#define CPP_MCFGTHREAD() ((void)0) 85 + +#define LIB_MCFGTHREAD "" 86 + +#else 87 + +#define CPP_MCFGTHREAD() (builtin_define("__USING_MCFGTHREAD__")) 88 + +#define LIB_MCFGTHREAD " -lmcfgthread " 89 + +#endif 90 + + 91 + /* See i386/crtdll.h for an alternative definition. _INTEGRAL_MAX_BITS 92 + is for compatibility with native compiler. */ 93 + #define EXTRA_OS_CPP_BUILTINS() \ 94 + @@ -50,6 +58,7 @@ along with GCC; see the file COPYING3. If not see 95 + builtin_define_std ("WIN64"); \ 96 + builtin_define ("_WIN64"); \ 97 + } \ 98 + + CPP_MCFGTHREAD(); \ 99 + } \ 100 + while (0) 101 + 102 + @@ -93,7 +102,7 @@ along with GCC; see the file COPYING3. If not see 103 + "%{mwindows:-lgdi32 -lcomdlg32} " \ 104 + "%{fvtable-verify=preinit:-lvtv -lpsapi; \ 105 + fvtable-verify=std:-lvtv -lpsapi} " \ 106 + - "-ladvapi32 -lshell32 -luser32 -lkernel32" 107 + + LIB_MCFGTHREAD "-ladvapi32 -lshell32 -luser32 -lkernel32" 108 + 109 + /* Weak symbols do not get resolved if using a Windows dll import lib. 110 + Make the unwind registration references strong undefs. */ 111 + diff --git a/gcc/configure b/gcc/configure 112 + index 6121e163259..52f0e00efe6 100755 113 + --- a/gcc/configure 114 + +++ b/gcc/configure 115 + @@ -11693,7 +11693,7 @@ case ${enable_threads} in 116 + target_thread_file='single' 117 + ;; 118 + aix | dce | lynx | mipssde | posix | rtems | \ 119 + - single | tpf | vxworks | win32) 120 + + single | tpf | vxworks | win32 | mcf) 121 + target_thread_file=${enable_threads} 122 + ;; 123 + *) 124 + diff --git a/gcc/configure.ac b/gcc/configure.ac 125 + index b066cc609e1..4ecdba88de7 100644 126 + --- a/gcc/configure.ac 127 + +++ b/gcc/configure.ac 128 + @@ -1612,7 +1612,7 @@ case ${enable_threads} in 129 + target_thread_file='single' 130 + ;; 131 + aix | dce | lynx | mipssde | posix | rtems | \ 132 + - single | tpf | vxworks | win32) 133 + + single | tpf | vxworks | win32 | mcf) 134 + target_thread_file=${enable_threads} 135 + ;; 136 + *) 137 + diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt 138 + index ea8c34f8c71..23134ad7363 100644 139 + --- a/libatomic/configure.tgt 140 + +++ b/libatomic/configure.tgt 141 + @@ -145,7 +145,7 @@ case "${target}" in 142 + *-*-mingw*) 143 + # OS support for atomic primitives. 144 + case ${target_thread_file} in 145 + - win32) 146 + + win32 | mcf) 147 + config_path="${config_path} mingw" 148 + ;; 149 + posix) 150 + diff --git a/libgcc/config.host b/libgcc/config.host 151 + index 11b4acaff55..9fbd38650bd 100644 152 + --- a/libgcc/config.host 153 + +++ b/libgcc/config.host 154 + @@ -737,6 +737,9 @@ i[34567]86-*-mingw*) 155 + posix) 156 + tmake_file="i386/t-mingw-pthread $tmake_file" 157 + ;; 158 + + mcf) 159 + + tmake_file="i386/t-mingw-mcfgthread $tmake_file" 160 + + ;; 161 + esac 162 + # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h 163 + if test x$ac_cv_sjlj_exceptions = xyes; then 164 + @@ -761,6 +764,9 @@ x86_64-*-mingw*) 165 + posix) 166 + tmake_file="i386/t-mingw-pthread $tmake_file" 167 + ;; 168 + + mcf) 169 + + tmake_file="i386/t-mingw-mcfgthread $tmake_file" 170 + + ;; 171 + esac 172 + # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h 173 + if test x$ac_cv_sjlj_exceptions = xyes; then 174 + diff --git a/libgcc/config/i386/gthr-mcf.h b/libgcc/config/i386/gthr-mcf.h 175 + new file mode 100644 176 + index 00000000000..5ea2908361f 177 + --- /dev/null 178 + +++ b/libgcc/config/i386/gthr-mcf.h 179 + @@ -0,0 +1 @@ 180 + +#include <mcfgthread/gthread.h> 181 + diff --git a/libgcc/config/i386/t-mingw-mcfgthread b/libgcc/config/i386/t-mingw-mcfgthread 182 + new file mode 100644 183 + index 00000000000..4b9b10e32d6 184 + --- /dev/null 185 + +++ b/libgcc/config/i386/t-mingw-mcfgthread 186 + @@ -0,0 +1,2 @@ 187 + +SHLIB_PTHREAD_CFLAG = 188 + +SHLIB_PTHREAD_LDFLAG = -lmcfgthread 189 + diff --git a/libgcc/configure b/libgcc/configure 190 + index b2f3f870844..eff889dc3b3 100644 191 + --- a/libgcc/configure 192 + +++ b/libgcc/configure 193 + @@ -5451,6 +5451,7 @@ case $target_thread_file in 194 + tpf) thread_header=config/s390/gthr-tpf.h ;; 195 + vxworks) thread_header=config/gthr-vxworks.h ;; 196 + win32) thread_header=config/i386/gthr-win32.h ;; 197 + + mcf) thread_header=config/i386/gthr-mcf.h ;; 198 + esac 199 + 200 + 201 + diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure 202 + index ba094be6f15..979a5ab9ace 100755 203 + --- a/libstdc++-v3/configure 204 + +++ b/libstdc++-v3/configure 205 + @@ -15187,6 +15187,7 @@ case $target_thread_file in 206 + tpf) thread_header=config/s390/gthr-tpf.h ;; 207 + vxworks) thread_header=config/gthr-vxworks.h ;; 208 + win32) thread_header=config/i386/gthr-win32.h ;; 209 + + mcf) thread_header=config/i386/gthr-mcf.h ;; 210 + esac 211 + 212 + 213 + diff --git a/libstdc++-v3/libsupc++/atexit_thread.cc b/libstdc++-v3/libsupc++/atexit_thread.cc 214 + index de920d714c6..665fb74bd6b 100644 215 + --- a/libstdc++-v3/libsupc++/atexit_thread.cc 216 + +++ b/libstdc++-v3/libsupc++/atexit_thread.cc 217 + @@ -25,6 +25,22 @@ 218 + #include <cstdlib> 219 + #include <new> 220 + #include "bits/gthr.h" 221 + + 222 + +#ifdef __USING_MCFGTHREAD__ 223 + + 224 + +#include <mcfgthread/gthread.h> 225 + +namespace __cxxabiv1 { 226 + +extern "C" int 227 + +__cxa_thread_atexit (void (_GLIBCXX_CDTOR_CALLABI *dtor)(void *), 228 + + void *obj, void *dso_handle) 229 + + _GLIBCXX_NOTHROW 230 + +{ 231 + + return ::_MCFCRT_AtThreadExit((void (*)(_MCFCRT_STD intptr_t))dtor, (_MCFCRT_STD intptr_t)obj) ? 0 : -1; 232 + + (void)dso_handle; 233 + +} 234 + +} 235 + +#else // __USING_MCFGTHREAD__ 236 + + 237 + #ifdef _GLIBCXX_THREAD_ATEXIT_WIN32 238 + #define WIN32_LEAN_AND_MEAN 239 + #include <windows.h> 240 + @@ -167,3 +183,5 @@ __cxxabiv1::__cxa_thread_atexit (void (*dtor)(void *), void *obj, void */*dso_ha 241 + } 242 + 243 + #endif /* _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL */ 244 + + 245 + +#endif // __USING_MCFGTHREAD__ 246 + diff --git a/libstdc++-v3/libsupc++/guard.cc b/libstdc++-v3/libsupc++/guard.cc 247 + index 3a2ec3ad0d6..8b4cc96199b 100644 248 + --- a/libstdc++-v3/libsupc++/guard.cc 249 + +++ b/libstdc++-v3/libsupc++/guard.cc 250 + @@ -28,6 +28,27 @@ 251 + #include <cxxabi.h> 252 + #include <exception> 253 + #include <new> 254 + + 255 + +#ifdef __USING_MCFGTHREAD__ 256 + + 257 + +#include <mcfgthread/gthread.h> 258 + + 259 + +namespace __cxxabiv1 { 260 + + 261 + +extern "C" int __cxa_guard_acquire(__guard *g){ 262 + + return ::_MCFCRT_WaitForOnceFlagForever((::_MCFCRT_OnceFlag *)g) == ::_MCFCRT_kOnceResultInitial; 263 + +} 264 + +extern "C" void __cxa_guard_abort(__guard *g) throw() { 265 + + ::_MCFCRT_SignalOnceFlagAsAborted((::_MCFCRT_OnceFlag *)g); 266 + +} 267 + +extern "C" void __cxa_guard_release(__guard *g) throw() { 268 + + ::_MCFCRT_SignalOnceFlagAsFinished((::_MCFCRT_OnceFlag *)g); 269 + +} 270 + + 271 + +} 272 + + 273 + +#else // __USING_MCFGTHREAD__ 274 + + 275 + #include <ext/atomicity.h> 276 + #include <ext/concurrence.h> 277 + #include <bits/atomic_lockfree_defines.h> 278 + @@ -425,3 +446,5 @@ namespace __cxxabiv1 279 + #endif 280 + } 281 + } 282 + + 283 + +#endif 284 + diff --git a/libstdc++-v3/src/c++11/thread.cc b/libstdc++-v3/src/c++11/thread.cc 285 + index 8238817c2e9..0c6a1f85f6f 100644 286 + --- a/libstdc++-v3/src/c++11/thread.cc 287 + +++ b/libstdc++-v3/src/c++11/thread.cc 288 + @@ -55,6 +55,15 @@ static inline int get_nprocs() 289 + #elif defined(_GLIBCXX_USE_SC_NPROC_ONLN) 290 + # include <unistd.h> 291 + # define _GLIBCXX_NPROCS sysconf(_SC_NPROC_ONLN) 292 + +#elif defined(_WIN32) 293 + +# include <windows.h> 294 + +static inline int get_nprocs() 295 + +{ 296 + + SYSTEM_INFO sysinfo; 297 + + GetSystemInfo(&sysinfo); 298 + + return (int)sysinfo.dwNumberOfProcessors; 299 + +} 300 + +# define _GLIBCXX_NPROCS get_nprocs() 301 + #else 302 + # define _GLIBCXX_NPROCS 0 303 + #endif 304 + -- 305 + 2.17.0 306 +
+357
pkgs/development/compilers/gcc/13/default.nix
···
··· 1 + { lib, stdenv, targetPackages, fetchurl, fetchpatch, noSysDirs 2 + , langC ? true, langCC ? true, langFortran ? false 3 + , langAda ? false 4 + , langObjC ? stdenv.targetPlatform.isDarwin 5 + , langObjCpp ? stdenv.targetPlatform.isDarwin 6 + , langD ? false 7 + , langGo ? false 8 + , reproducibleBuild ? true 9 + , profiledCompiler ? false 10 + , langJit ? false 11 + , staticCompiler ? false 12 + , enableShared ? !stdenv.targetPlatform.isStatic 13 + , enableLTO ? !stdenv.hostPlatform.isStatic 14 + , texinfo ? null 15 + , perl ? null # optional, for texi2pod (then pod2man) 16 + , gmp, mpfr, libmpc, gettext, which, patchelf, binutils 17 + , isl ? null # optional, for the Graphite optimization framework. 18 + , zlib ? null 19 + , libucontext ? null 20 + , gnat-bootstrap ? null 21 + , enableMultilib ? false 22 + , enablePlugin ? stdenv.hostPlatform == stdenv.buildPlatform # Whether to support user-supplied plug-ins 23 + , name ? "gcc" 24 + , libcCross ? null 25 + , threadsCross ? null # for MinGW 26 + , crossStageStatic ? false 27 + , gnused ? null 28 + , cloog # unused; just for compat with gcc4, as we override the parameter on some places 29 + , buildPackages 30 + , libxcrypt 31 + , disableGdbPlugin ? !enablePlugin 32 + , nukeReferences 33 + , callPackage 34 + }: 35 + 36 + # Make sure we get GNU sed. 37 + assert stdenv.buildPlatform.isDarwin -> gnused != null; 38 + 39 + # The go frontend is written in c++ 40 + assert langGo -> langCC; 41 + assert langAda -> gnat-bootstrap != null; 42 + 43 + # TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). 44 + # error: GDC is required to build d 45 + assert !langD; 46 + 47 + # threadsCross is just for MinGW 48 + assert threadsCross != {} -> stdenv.targetPlatform.isWindows; 49 + 50 + # profiledCompiler builds inject non-determinism in one of the compilation stages. 51 + # If turned on, we can't provide reproducible builds anymore 52 + assert reproducibleBuild -> profiledCompiler == false; 53 + 54 + with lib; 55 + with builtins; 56 + 57 + let majorVersion = "13"; 58 + version = "${majorVersion}.1.0"; 59 + disableBootstrap = !stdenv.hostPlatform.isDarwin && !profiledCompiler; 60 + 61 + inherit (stdenv) buildPlatform hostPlatform targetPlatform; 62 + 63 + patches = 64 + optional (targetPlatform != hostPlatform) ../libstdc++-target.patch 65 + ++ optional noSysDirs ../gcc-12-no-sys-dirs.patch 66 + ++ optional noSysDirs ../no-sys-dirs-riscv.patch 67 + ++ [ 68 + ../gnat-cflags-11.patch 69 + ../gcc-12-gfortran-driving.patch 70 + ../ppc-musl.patch 71 + ] 72 + # We only apply this patch when building a native toolchain for aarch64-darwin, as it breaks building 73 + # a foreign one: https://github.com/iains/gcc-12-branch/issues/18 74 + ++ optional (stdenv.isDarwin && stdenv.isAarch64 && buildPlatform == hostPlatform && hostPlatform == targetPlatform) (fetchpatch { 75 + name = "gcc-13-darwin-aarch64-support.patch"; 76 + url = "https://github.com/Homebrew/formula-patches/raw/5c206c47e2a08d522ec9795bb314346fff5fc4c5/gcc/gcc-13.1.0.diff"; 77 + sha256 = "sha256-sMgA7nwE2ULa54t5g6VE6eJQYa69XvQrefi9U9f2t4g="; 78 + }) 79 + ++ optional langD ../libphobos.patch 80 + 81 + # backport fixes to build gccgo with musl libc 82 + ++ optionals (langGo && stdenv.hostPlatform.isMusl) [ 83 + (fetchpatch { 84 + excludes = [ "gcc/go/gofrontend/MERGE" ]; 85 + url = "https://github.com/gcc-mirror/gcc/commit/cf79b1117bd177d3d4c6ed24b6fa243c3628ac2d.diff"; 86 + hash = "sha256-mS5ZiYi5D8CpGXrWg3tXlbhp4o86ew1imCTwaHLfl+I="; 87 + }) 88 + (fetchpatch { 89 + excludes = [ "gcc/go/gofrontend/MERGE" ]; 90 + url = "https://github.com/gcc-mirror/gcc/commit/7f195a2270910a6ed08bd76e3a16b0a6503f9faf.diff"; 91 + hash = "sha256-Ze/cFM0dQofKH00PWPDoklXUlwWhwA1nyTuiDAZ6FKo="; 92 + }) 93 + (fetchpatch { 94 + excludes = [ "gcc/go/gofrontend/MERGE" ]; 95 + url = "https://github.com/gcc-mirror/gcc/commit/762fd5e5547e464e25b4bee435db6df4eda0de90.diff"; 96 + hash = "sha256-o28upwTcHAnHG2Iq0OewzwSBEhHs+XpBGdIfZdT81pk="; 97 + }) 98 + (fetchpatch { 99 + excludes = [ "gcc/go/gofrontend/MERGE" ]; 100 + url = "https://github.com/gcc-mirror/gcc/commit/e73d9fcafbd07bc3714fbaf8a82db71d50015c92.diff"; 101 + hash = "sha256-1SjYCVHLEUihdON2TOC3Z2ufM+jf2vH0LvYtZL+c1Fo="; 102 + }) 103 + (fetchpatch { 104 + excludes = [ "gcc/go/gofrontend/MERGE" ]; 105 + url = "https://github.com/gcc-mirror/gcc/commit/b6c6a3d64f2e4e9347733290aca3c75898c44b2e.diff"; 106 + hash = "sha256-RycJ3YCHd3MXtYFjxP0zY2Wuw7/C4bWoBAQtTKJZPOQ="; 107 + }) 108 + (fetchpatch { 109 + excludes = [ "gcc/go/gofrontend/MERGE" ]; 110 + url = "https://github.com/gcc-mirror/gcc/commit/2b1a604a9b28fbf4f382060bebd04adb83acc2f9.diff"; 111 + hash = "sha256-WiBQG0Xbk75rHk+AMDvsbrm+dc7lDH0EONJXSdEeMGE="; 112 + }) 113 + (fetchpatch { 114 + url = "https://github.com/gcc-mirror/gcc/commit/c86b726c048eddc1be320c0bf64a897658bee13d.diff"; 115 + hash = "sha256-QSIlqDB6JRQhbj/c3ejlmbfWz9l9FurdSWxpwDebnlI="; 116 + }) 117 + ] 118 + 119 + # Fix detection of bootstrap compiler Ada support (cctools as) on Nix Darwin 120 + ++ optional (stdenv.isDarwin && langAda) ../ada-cctools-as-detection-configure.patch 121 + 122 + # Use absolute path in GNAT dylib install names on Darwin 123 + ++ optional (stdenv.isDarwin && langAda) ../gnat-darwin-dylib-install-name.patch 124 + 125 + # Obtain latest patch with ../update-mcfgthread-patches.sh 126 + ++ optional (!crossStageStatic && targetPlatform.isMinGW && threadsCross.model == "mcf") ./Added-mcf-thread-model-support-from-mcfgthread.patch; 127 + 128 + /* Cross-gcc settings (build == host != target) */ 129 + crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; 130 + stageNameAddon = if crossStageStatic then "stage-static" else "stage-final"; 131 + crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-"; 132 + 133 + callFile = lib.callPackageWith { 134 + # lets 135 + inherit 136 + majorVersion 137 + version 138 + buildPlatform 139 + hostPlatform 140 + targetPlatform 141 + patches 142 + crossMingw 143 + stageNameAddon 144 + crossNameAddon 145 + ; 146 + # inherit generated with 'nix eval --json --impure --expr "with import ./. {}; lib.attrNames (lib.functionArgs gcc13.cc.override)" | jq '.[]' --raw-output' 147 + inherit 148 + binutils 149 + buildPackages 150 + cloog 151 + crossStageStatic 152 + disableBootstrap 153 + disableGdbPlugin 154 + enableLTO 155 + enableMultilib 156 + enablePlugin 157 + enableShared 158 + fetchpatch 159 + fetchurl 160 + gettext 161 + gmp 162 + gnat-bootstrap 163 + gnused 164 + isl 165 + langAda 166 + langC 167 + langCC 168 + langD 169 + langFortran 170 + langGo 171 + langJit 172 + langObjC 173 + langObjCpp 174 + lib 175 + libcCross 176 + libmpc 177 + libucontext 178 + libxcrypt 179 + mpfr 180 + name 181 + noSysDirs 182 + nukeReferences 183 + patchelf 184 + perl 185 + profiledCompiler 186 + reproducibleBuild 187 + staticCompiler 188 + stdenv 189 + targetPackages 190 + texinfo 191 + threadsCross 192 + which 193 + zip 194 + zlib 195 + ; 196 + }; 197 + 198 + in 199 + 200 + lib.pipe (stdenv.mkDerivation ({ 201 + pname = "${crossNameAddon}${name}"; 202 + inherit version; 203 + 204 + builder = ../builder.sh; 205 + 206 + src = fetchurl { 207 + url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz"; 208 + sha256 = "sha256-YdaE8Kpedqxlha2ImKJCeq3ol57V5/hUkihsTfwT7oY="; 209 + }; 210 + 211 + inherit patches; 212 + 213 + outputs = [ "out" "man" "info" ] ++ lib.optional (!langJit) "lib"; 214 + setOutputFlags = false; 215 + NIX_NO_SELF_RPATH = true; 216 + 217 + libc_dev = stdenv.cc.libc_dev; 218 + 219 + hardeningDisable = [ "format" "pie" ]; 220 + 221 + postPatch = '' 222 + configureScripts=$(find . -name configure) 223 + for configureScript in $configureScripts; do 224 + patchShebangs $configureScript 225 + done 226 + '' 227 + # This should kill all the stdinc frameworks that gcc and friends like to 228 + # insert into default search paths. 229 + + lib.optionalString hostPlatform.isDarwin '' 230 + substituteInPlace gcc/config/darwin-c.cc \ 231 + --replace 'if (stdinc)' 'if (0)' 232 + 233 + substituteInPlace libgcc/config/t-slibgcc-darwin \ 234 + --replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name ''${!outputLib}/lib/\$(SHLIB_INSTALL_NAME)" 235 + 236 + substituteInPlace libgfortran/configure \ 237 + --replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname" 238 + '' 239 + + ( 240 + lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null) 241 + # On NixOS, use the right path to the dynamic linker instead of 242 + # `/lib/ld*.so'. 243 + (let 244 + libc = if libcCross != null then libcCross else stdenv.cc.libc; 245 + in 246 + ( 247 + '' echo "fixing the \`GLIBC_DYNAMIC_LINKER', \`UCLIBC_DYNAMIC_LINKER', and \`MUSL_DYNAMIC_LINKER' macros..." 248 + for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h 249 + do 250 + grep -q _DYNAMIC_LINKER "$header" || continue 251 + echo " fixing \`$header'..." 252 + sed -i "$header" \ 253 + -e 's|define[[:blank:]]*\([UCG]\+\)LIBC_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define \1LIBC_DYNAMIC_LINKER\2 "${libc.out}\3"|g' \ 254 + -e 's|define[[:blank:]]*MUSL_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define MUSL_DYNAMIC_LINKER\1 "${libc.out}\2"|g' 255 + done 256 + '' 257 + + lib.optionalString (targetPlatform.libc == "musl") 258 + '' 259 + sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR' 260 + '' 261 + ) 262 + )) 263 + + lib.optionalString targetPlatform.isAvr '' 264 + makeFlagsArray+=( 265 + '-s' # workaround for hitting hydra log limit 266 + 'LIMITS_H_TEST=false' 267 + ) 268 + ''; 269 + 270 + inherit noSysDirs staticCompiler crossStageStatic 271 + libcCross crossMingw; 272 + 273 + inherit (callFile ../common/dependencies.nix { }) depsBuildBuild nativeBuildInputs depsBuildTarget buildInputs depsTargetTarget; 274 + 275 + NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm"; 276 + 277 + 278 + preConfigure = (callFile ../common/pre-configure.nix { }) + '' 279 + ln -sf ${libxcrypt}/include/crypt.h libsanitizer/sanitizer_common/crypt.h 280 + ''; 281 + 282 + dontDisableStatic = true; 283 + 284 + configurePlatforms = [ "build" "host" "target" ]; 285 + 286 + configureFlags = callFile ../common/configure-flags.nix { }; 287 + 288 + targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; 289 + 290 + buildFlags = 291 + # we do not yet have Nix-driven profiling 292 + assert profiledCompiler -> !disableBootstrap; 293 + let target = 294 + lib.optionalString (profiledCompiler) "profiled" + 295 + lib.optionalString (targetPlatform == hostPlatform && hostPlatform == buildPlatform && !disableBootstrap) "bootstrap"; 296 + in lib.optional (target != "") target; 297 + 298 + inherit (callFile ../common/strip-attributes.nix { }) 299 + stripDebugList 300 + stripDebugListTarget 301 + preFixup; 302 + 303 + # https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210 304 + ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64"; 305 + 306 + # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the 307 + # library headers and binaries, regarless of the language being compiled. 308 + # 309 + # Likewise, the LTO code doesn't find zlib. 310 + # 311 + # Cross-compiling, we need gcc not to read ./specs in order to build the g++ 312 + # compiler (after the specs for the cross-gcc are created). Having 313 + # LIBRARY_PATH= makes gcc read the specs from ., and the build breaks. 314 + 315 + CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([] 316 + ++ optional (zlib != null) zlib 317 + )); 318 + 319 + LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath (optional (zlib != null) zlib)); 320 + 321 + inherit (callFile ../common/extra-target-flags.nix { }) 322 + EXTRA_FLAGS_FOR_TARGET 323 + EXTRA_LDFLAGS_FOR_TARGET 324 + ; 325 + 326 + passthru = { 327 + inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version; 328 + isGNU = true; 329 + }; 330 + 331 + enableParallelBuilding = true; 332 + inherit enableShared enableMultilib; 333 + 334 + meta = { 335 + inherit (callFile ../common/meta.nix { }) 336 + homepage 337 + license 338 + description 339 + longDescription 340 + platforms 341 + maintainers 342 + ; 343 + }; 344 + } 345 + 346 + // optionalAttrs (targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt" && crossStageStatic) { 347 + makeFlags = [ "all-gcc" "all-target-libgcc" ]; 348 + installTargets = "install-gcc install-target-libgcc"; 349 + } 350 + 351 + // optionalAttrs (enableMultilib) { dontMoveLib64 = true; } 352 + )) 353 + [ 354 + (callPackage ../common/libgcc.nix { inherit langC langCC langJit; }) 355 + (callPackage ../common/checksum.nix { inherit langC langCC; }) 356 + ] 357 +
+2 -2
pkgs/development/interpreters/php/8.1.nix
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.1.18"; 6 - hash = "sha256-0qww1rV0/KWU/gzAHAaT4jWFsnRD40KwqrBydM3kQW4="; 7 }); 8 9 in
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 + version = "8.1.19"; 6 + hash = "sha256-ZCByB/2jC+kmou8fZv8ma/H9x+AzObyZ+7oKEkXkJ5s="; 7 }); 8 9 in
+2 -2
pkgs/development/interpreters/php/8.2.nix
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.2.5"; 6 - hash = "sha256-5agGY8yk9gRK2GpIl5gUfHrwN+ypb2zTV6s20oy2N1c="; 7 }); 8 9 in
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 + version = "8.2.6"; 6 + hash = "sha256-RKcMUvU3ZiwQ2R7tv1H9dlyZYb5rolCO1jv3omzdMQA="; 7 }); 8 9 in
-156
pkgs/development/libraries/gcc/libgcc/default.nix
··· 1 - { lib, stdenvNoLibs, buildPackages 2 - , gcc, glibc 3 - , libiberty 4 - }: 5 - 6 - stdenvNoLibs.mkDerivation rec { 7 - pname = "libgcc"; 8 - inherit (gcc.cc) src version; 9 - 10 - outputs = [ "out" "dev" ]; 11 - 12 - strictDeps = true; 13 - depsBuildBuild = [ buildPackages.stdenv.cc ]; 14 - nativeBuildInputs = [ libiberty ]; 15 - 16 - postUnpack = '' 17 - mkdir -p ./build 18 - buildRoot=$(readlink -e "./build") 19 - ''; 20 - 21 - postPatch = '' 22 - sourceRoot=$(readlink -e "./libgcc") 23 - ''; 24 - 25 - hardeningDisable = [ "pie" ]; 26 - 27 - preConfigure = '' 28 - cd "$buildRoot" 29 - '' 30 - 31 - # Drop in libiberty, as external builds are not expected 32 - + '' 33 - ( 34 - mkdir -p build-${stdenvNoLibs.buildPlatform.config}/libiberty/ 35 - cd build-${stdenvNoLibs.buildPlatform.config}/libiberty/ 36 - ln -s ${buildPackages.libiberty}/lib/libiberty.a ./ 37 - ) 38 - '' 39 - # A few misc bits of gcc need to be built. 40 - # 41 - # - We "shift" the tools over to fake platforms perspective from the previous 42 - # stage. 43 - # 44 - # - We define GENERATOR_FILE so nothing bothers looking for GNU GMP. 45 - # 46 - # - We remove the `libgcc.mvar` deps so that the bootstrap xgcc isn't built. 47 - + '' 48 - mkdir -p "$buildRoot/gcc" 49 - cd "$buildRoot/gcc" 50 - ( 51 - export AS_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$AS_FOR_BUILD 52 - export CC_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$CC_FOR_BUILD 53 - export CPP_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$CPP_FOR_BUILD 54 - export CXX_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$CXX_FOR_BUILD 55 - export LD_FOR_BUILD=${buildPackages.stdenv.cc.bintools}/bin/$LD_FOR_BUILD 56 - 57 - export AS=$AS_FOR_BUILD 58 - export CC=$CC_FOR_BUILD 59 - export CPP=$CPP_FOR_BUILD 60 - export CXX=$CXX_FOR_BUILD 61 - export LD=$LD_FOR_BUILD 62 - 63 - export AS_FOR_TARGET=${stdenvNoLibs.cc}/bin/$AS 64 - export CC_FOR_TARGET=${stdenvNoLibs.cc}/bin/$CC 65 - export CPP_FOR_TARGET=${stdenvNoLibs.cc}/bin/$CPP 66 - export LD_FOR_TARGET=${stdenvNoLibs.cc.bintools}/bin/$LD 67 - 68 - export NIX_CFLAGS_COMPILE_FOR_BUILD+=' -DGENERATOR_FILE=1' 69 - 70 - "$sourceRoot/../gcc/configure" $gccConfigureFlags 71 - 72 - sed -e 's,libgcc.mvars:.*$,libgcc.mvars:,' -i Makefile 73 - 74 - make \ 75 - config.h \ 76 - libgcc.mvars \ 77 - tconfig.h \ 78 - tm.h \ 79 - options.h \ 80 - insn-constants.h \ 81 - insn-modes.h 82 - ) 83 - mkdir -p "$buildRoot/gcc/include" 84 - '' 85 - # Preparing to configure + build libgcc itself 86 - + '' 87 - mkdir -p "$buildRoot/gcc/${stdenvNoLibs.hostPlatform.config}/libgcc" 88 - cd "$buildRoot/gcc/${stdenvNoLibs.hostPlatform.config}/libgcc" 89 - configureScript=$sourceRoot/configure 90 - chmod +x "$configureScript" 91 - 92 - export AS_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$AS_FOR_BUILD 93 - export CC_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$CC_FOR_BUILD 94 - export CPP_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$CPP_FOR_BUILD 95 - export CXX_FOR_BUILD=${buildPackages.stdenv.cc}/bin/$CXX_FOR_BUILD 96 - export LD_FOR_BUILD=${buildPackages.stdenv.cc.bintools}/bin/$LD_FOR_BUILD 97 - 98 - export AS=${stdenvNoLibs.cc}/bin/$AS 99 - export CC=${stdenvNoLibs.cc}/bin/$CC 100 - export CPP=${stdenvNoLibs.cc}/bin/$CPP 101 - export CXX=${stdenvNoLibs.cc}/bin/$CXX 102 - export LD=${stdenvNoLibs.cc.bintools}/bin/$LD 103 - 104 - export AS_FOR_TARGET=${stdenvNoLibs.cc}/bin/$AS_FOR_TARGET 105 - export CC_FOR_TARGET=${stdenvNoLibs.cc}/bin/$CC_FOR_TARGET 106 - export CPP_FOR_TARGET=${stdenvNoLibs.cc}/bin/$CPP_FOR_TARGET 107 - export LD_FOR_TARGET=${stdenvNoLibs.cc.bintools}/bin/$LD_FOR_TARGET 108 - ''; 109 - 110 - gccConfigureFlags = [ 111 - "--build=${stdenvNoLibs.buildPlatform.config}" 112 - "--host=${stdenvNoLibs.buildPlatform.config}" 113 - "--target=${stdenvNoLibs.hostPlatform.config}" 114 - 115 - "--disable-bootstrap" 116 - "--disable-multilib" "--with-multilib-list=" 117 - "--enable-languages=c" 118 - 119 - "--disable-fixincludes" 120 - "--disable-intl" 121 - "--disable-lto" 122 - "--disable-libatomic" 123 - "--disable-libbacktrace" 124 - "--disable-libcpp" 125 - "--disable-libssp" 126 - "--disable-libquadmath" 127 - "--disable-libgomp" 128 - "--disable-libvtv" 129 - "--disable-vtable-verify" 130 - 131 - "--with-system-zlib" 132 - ] ++ lib.optional (stdenvNoLibs.hostPlatform.libc == "glibc") 133 - "--with-glibc-version=${glibc.version}"; 134 - 135 - configurePlatforms = [ "build" "host" ]; 136 - configureFlags = [ 137 - "--disable-dependency-tracking" 138 - # $CC cannot link binaries, let alone run then 139 - "cross_compiling=true" 140 - # Do not have dynamic linker without libc 141 - "--enable-static" 142 - "--disable-shared" 143 - 144 - # Avoid dependency on gcc. 145 - "--disable-gcov" 146 - ]; 147 - 148 - makeFlags = [ "MULTIBUILDTOP:=../" ]; 149 - 150 - postInstall = '' 151 - moveToOutput "lib/gcc/${stdenvNoLibs.hostPlatform.config}/${version}/include" "$dev" 152 - mkdir -p "$out/lib" "$dev/include" 153 - ln -s "$out/lib/gcc/${stdenvNoLibs.hostPlatform.config}/${version}"/* "$out/lib" 154 - ln -s "$dev/lib/gcc/${stdenvNoLibs.hostPlatform.config}/${version}/include"/* "$dev/include/" 155 - ''; 156 - }
···
+1 -1
pkgs/development/libraries/getdns/default.nix
··· 64 outputs = [ "out" "man" "stubbyExampleJson" ]; 65 66 inherit (getdns) src; 67 - sourceRoot = "${getdns.name}/stubby"; 68 69 nativeBuildInputs = [ cmake doxygen yq ]; 70
··· 64 outputs = [ "out" "man" "stubbyExampleJson" ]; 65 66 inherit (getdns) src; 67 + sourceRoot = "${getdns.pname}-${getdns.version}/stubby"; 68 69 nativeBuildInputs = [ cmake doxygen yq ]; 70
+2 -2
pkgs/development/libraries/libmodulemd/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "libmodulemd"; 20 - version = "2.14.0"; 21 22 outputs = [ "bin" "out" "dev" "devdoc" "man" "py" ]; 23 ··· 25 owner = "fedora-modularity"; 26 repo = pname; 27 rev = "${pname}-${version}"; 28 - sha256 = "sha256-ccLk8O0UJwy7WZYr5Bq2XqaSFNe4i7HQehmVoB5C2Yg="; 29 }; 30 31 patches = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "libmodulemd"; 20 + version = "2.15.0"; 21 22 outputs = [ "bin" "out" "dev" "devdoc" "man" "py" ]; 23 ··· 25 owner = "fedora-modularity"; 26 repo = pname; 27 rev = "${pname}-${version}"; 28 + sha256 = "sha256-mIyrdksyEk1AKV+vw4g8LUwlQRzwwMkPDuCbw2IiNcA="; 29 }; 30 31 patches = [
+6 -10
pkgs/development/ocaml-modules/dtoa/default.nix
··· 1 - { stdenv, lib, fetchurl, buildDunePackage, ounit }: 2 3 buildDunePackage rec { 4 pname = "dtoa"; 5 - version = "0.3.2"; 6 - 7 - useDune2 = true; 8 - 9 - minimumOCamlVersion = "4.02"; 10 11 src = fetchurl { 12 - url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 13 - sha256 = "0zkhn0rdq82g6gamsv6nkx6i44s8104nh6jg5xydazl9jl1704xn"; 14 }; 15 16 - checkInputs = [ ounit ]; 17 18 - doCheck = true; 19 20 hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 21
··· 1 + { stdenv, lib, fetchurl, buildDunePackage, ocaml, ounit2 }: 2 3 buildDunePackage rec { 4 pname = "dtoa"; 5 + version = "0.3.3"; 6 7 src = fetchurl { 8 + url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 9 + hash = "sha256-2PRgjJ6Ssp4l6jHzv1/MqzlomQlJkKLVnRXG6KPJ7j4="; 10 }; 11 12 + checkInputs = [ ounit2 ]; 13 14 + doCheck = lib.versionAtLeast ocaml.version "4.08"; 15 16 hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 17
+2 -2
pkgs/development/python-modules/azure-eventhub/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "azure-eventhub"; 12 - version = "5.11.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; ··· 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 - hash = "sha256-Z1tekAHjO2kVe5g/MpB1U9m38pBQ8J03+pDZdJgzcgE="; 21 }; 22 23 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "azure-eventhub"; 12 + version = "5.11.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; ··· 17 src = fetchPypi { 18 inherit pname version; 19 extension = "zip"; 20 + hash = "sha256-/QVHPlElUNT7whLdMe1k8wYXePg+tQRBmXmZJM1w6fU="; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-identity/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "azure-identity"; 18 - version = "1.12.0"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; ··· 23 src = fetchPypi { 24 inherit pname version; 25 extension = "zip"; 26 - hash = "sha256-f5sa59l+p68/ON0JMF4Zq4Gh4Wq2bqGGtledhcHKI0c="; 27 }; 28 29 propagatedBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "azure-identity"; 18 + version = "1.13.0"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; ··· 23 src = fetchPypi { 24 inherit pname version; 25 extension = "zip"; 26 + hash = "sha256-yTHCcwH/qGsHtNz1dOKdpz4966mrXR/k9EW7ajEX4mA="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-keyvault/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "azure-mgmt-keyvault"; 13 - version = "10.1.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; ··· 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 - hash = "sha256-DpO+6FvsNwjjcz2ImhHpColHVNpPUMgCtEMrfUzfAaA="; 22 }; 23 24 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "azure-mgmt-keyvault"; 13 + version = "10.2.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; ··· 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 + hash = "sha256-lozs6Jy6V5cJigM7NUn8eyP/EVf/TKk+pZ9vABgAqK0="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/deezer-python/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "deezer-python"; 16 - version = "5.9.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "browniebroke"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-S2OC2OvXoc7LDTX0ZkVtaLHflio+3u1Ic/i9TtQN4Ac="; 26 }; 27 28 nativeBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "deezer-python"; 16 + version = "5.12.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "browniebroke"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-fJRGtes5EdGHiTJ5SDOyZT9NEnghbu+7I9OD2h4JOjw="; 26 }; 27 28 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/dogpile-cache/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "dogpile-cache"; 14 - version = "1.1.8"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 pname = "dogpile.cache"; 19 inherit version; 20 - hash = "sha256-2ETou2OMxPVEpMiag039Nv6TVAC3GhbL10Tr37cg/U4="; 21 }; 22 23 preCheck = ''
··· 11 12 buildPythonPackage rec { 13 pname = "dogpile-cache"; 14 + version = "1.2.0"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 pname = "dogpile.cache"; 19 inherit version; 20 + hash = "sha256-R1VMhgzrSE3Vrvn/H4j+yz1K72u5IRlFD1vLqgJrv7E="; 21 }; 22 23 preCheck = ''
+2 -2
pkgs/development/python-modules/fakeredis/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "fakeredis"; 19 - version = "2.12.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "dsoftwareinc"; 26 repo = "fakeredis-py"; 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-D38EORmhPPN+iTggIF9JIRDR4+zCwE6JP8X+IVfdE7o="; 29 }; 30 31 nativeBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "fakeredis"; 19 + version = "2.12.1"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "dsoftwareinc"; 26 repo = "fakeredis-py"; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-WF3dITWCrTQDORfaGWPpJBQFkPrUN6faHohjvBuOW7I="; 29 }; 30 31 nativeBuildInputs = [
+4 -3
pkgs/development/python-modules/glean-sdk/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "glean-sdk"; 20 - version = "52.6.0"; 21 22 disabled = pythonOlder "3.6"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-TTV6oydUP2znEOm7KZElugNDfROnlPmyC19Ig1H8/wM="; 27 }; 28 29 cargoDeps = rustPlatform.fetchCargoTarball { 30 inherit src; 31 name = "${pname}-${version}"; 32 - hash = "sha256-Np2TfgKP3yfJqA4WZyyedGp9XtKJjDikUov5pvB/opk="; 33 }; 34 35 nativeBuildInputs = [ ··· 54 disabledTests = [ 55 # RuntimeError: No ping received. 56 "test_client_activity_api" 57 ]; 58 59 pythonImportsCheck = [
··· 17 18 buildPythonPackage rec { 19 pname = "glean-sdk"; 20 + version = "52.7.0"; 21 22 disabled = pythonOlder "3.6"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-sLjdGHiS7Co/oA9gQyAFkD14tAYjmwjWcPr4CRrzw/0="; 27 }; 28 29 cargoDeps = rustPlatform.fetchCargoTarball { 30 inherit src; 31 name = "${pname}-${version}"; 32 + hash = "sha256-5TlgWcLmjklxhtDbB0aRF71iIRTJwetFj1Jii1DGdvU="; 33 }; 34 35 nativeBuildInputs = [ ··· 54 disabledTests = [ 55 # RuntimeError: No ping received. 56 "test_client_activity_api" 57 + "test_flipping_upload_enabled_respects_order_of_events" 58 ]; 59 60 pythonImportsCheck = [
+7 -5
pkgs/development/python-modules/gremlinpython/default.nix
··· 7 , isodate 8 , nest-asyncio 9 , pytestCheckHook 10 , mock 11 , pyhamcrest 12 , radish-bdd ··· 14 15 buildPythonPackage rec { 16 pname = "gremlinpython"; 17 - version = "3.6.1"; 18 19 - # pypi tarball doesn't include tests 20 src = fetchFromGitHub { 21 owner = "apache"; 22 repo = "tinkerpop"; 23 - rev = version; 24 - hash = "sha256-FMA9hJdq7gYkDtQO04Bwpjq2Q7nXGuN9wrBD4b9GgwY="; 25 }; 26 27 sourceRoot = "source/gremlin-python/src/main/python"; ··· 30 sed -i '/pytest-runner/d' setup.py 31 32 substituteInPlace setup.py \ 33 - --replace 'aiohttp>=3.8.0,<=3.8.1' 'aiohttp' \ 34 --replace 'importlib-metadata<5.0.0' 'importlib-metadata' \ 35 --replace "os.getenv('VERSION', '?').replace('-SNAPSHOT', '.dev-%d' % timestamp)" '"${version}"' 36 '';
··· 7 , isodate 8 , nest-asyncio 9 , pytestCheckHook 10 + , pythonOlder 11 , mock 12 , pyhamcrest 13 , radish-bdd ··· 15 16 buildPythonPackage rec { 17 pname = "gremlinpython"; 18 + version = "3.6.3"; 19 + format = "setuptools"; 20 21 + disabled = pythonOlder "3.7"; 22 + 23 src = fetchFromGitHub { 24 owner = "apache"; 25 repo = "tinkerpop"; 26 + rev = "refs/tags/${version}"; 27 + hash = "sha256-CmVWaRebJaZHJGzhaBdYXPF3BZ8+Cvc5P/KOpsG+dX4="; 28 }; 29 30 sourceRoot = "source/gremlin-python/src/main/python"; ··· 33 sed -i '/pytest-runner/d' setup.py 34 35 substituteInPlace setup.py \ 36 --replace 'importlib-metadata<5.0.0' 'importlib-metadata' \ 37 --replace "os.getenv('VERSION', '?').replace('-SNAPSHOT', '.dev-%d' % timestamp)" '"${version}"' 38 '';
+2 -2
pkgs/development/python-modules/sgp4/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "sgp4"; 5 - version = "2.21"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - hash = "sha256-YXm4dQRId+lBYzwgr3ci/SMaiNiomvAb8wvWTzPN7O8="; 10 }; 11 12 nativeCheckInputs = [ numpy ];
··· 2 3 buildPythonPackage rec { 4 pname = "sgp4"; 5 + version = "2.22"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + hash = "sha256-F/Ci6q0tygZbbeJcHOqpQP98+ozGcSDLQRGgDxd7hvk="; 10 }; 11 12 nativeCheckInputs = [ numpy ];
+2 -2
pkgs/development/tools/build-managers/sbt/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "sbt"; 11 - version = "1.8.2"; 12 13 src = fetchurl { 14 url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"; 15 - sha256 = "sha256-H2U0TaB029Zt/vqTwO/40xnXcuXK1H/L62rheLvfRoY="; 16 }; 17 18 postPatch = ''
··· 8 9 stdenv.mkDerivation rec { 10 pname = "sbt"; 11 + version = "1.8.3"; 12 13 src = fetchurl { 14 url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"; 15 + sha256 = "sha256-IfQhB4b9aP0V3KP0yO6crg2yScVOGw726Cnp+kk2Qjo="; 16 }; 17 18 postPatch = ''
+5 -4
pkgs/development/tools/continuous-integration/dagger/default.nix
··· 2 3 buildGoModule rec { 4 pname = "dagger"; 5 - version = "0.5.1"; 6 7 src = fetchFromGitHub { 8 owner = "dagger"; 9 repo = "dagger"; 10 rev = "v${version}"; 11 - hash = "sha256-8RYfLuIFF/J7BSan+C135ntg1/CYuvUhcueKiccMPIo="; 12 }; 13 14 - vendorHash = "sha256-w8eWWyKEedEopQyliKKDNOn00KDlcrZHXK/8LMFvx7o="; 15 proxyVendor = true; 16 17 subPackages = [ 18 "cmd/dagger" 19 ]; 20 21 - ldflags = [ "-s" "-w" "-X github.com/dagger/dagger/internal/engine.Version=${version}" ]; 22 23 passthru.tests.version = testers.testVersion { 24 package = dagger; 25 command = "dagger version"; 26 }; 27 28 meta = with lib; {
··· 2 3 buildGoModule rec { 4 pname = "dagger"; 5 + version = "0.5.2"; 6 7 src = fetchFromGitHub { 8 owner = "dagger"; 9 repo = "dagger"; 10 rev = "v${version}"; 11 + hash = "sha256-vFKq7sa41KSfV4+vgsZLEfiF2iwd4O6BwXkVXQPJ7n0="; 12 }; 13 14 + vendorHash = "sha256-/S72x0KqEKIRiRP66InZcQaTvRY1kQRTvs+Ceo0bMCA="; 15 proxyVendor = true; 16 17 subPackages = [ 18 "cmd/dagger" 19 ]; 20 21 + ldflags = [ "-s" "-w" "-X=github.com/dagger/dagger/internal/engine.Version=${version}" ]; 22 23 passthru.tests.version = testers.testVersion { 24 package = dagger; 25 command = "dagger version"; 26 + version = "v${version}"; 27 }; 28 29 meta = with lib; {
+2 -2
pkgs/development/tools/minizinc/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, cmake, flex, bison }: 2 stdenv.mkDerivation rec { 3 pname = "minizinc"; 4 - version = "2.7.3"; 5 6 nativeBuildInputs = [ cmake flex bison ]; 7 ··· 9 owner = "MiniZinc"; 10 repo = "libminizinc"; 11 rev = version; 12 - sha256 = "sha256-qDAFXyWEwdei1jBHb5ONgivlp2ftMNfBbq8a/Ibh2BM="; 13 }; 14 15 meta = with lib; {
··· 1 { lib, stdenv, fetchFromGitHub, cmake, flex, bison }: 2 stdenv.mkDerivation rec { 3 pname = "minizinc"; 4 + version = "2.7.4"; 5 6 nativeBuildInputs = [ cmake flex bison ]; 7 ··· 9 owner = "MiniZinc"; 10 repo = "libminizinc"; 11 rev = version; 12 + sha256 = "sha256-Zq5gAwe9IQmknSDilFyHhSk5ZCQ8EfBOiM6Oef2WxYg="; 13 }; 14 15 meta = with lib; {
+2 -2
pkgs/games/cdogs-sdl/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "cdogs-sdl"; 16 - version = "1.4.1"; 17 18 src = fetchFromGitHub { 19 repo = pname; 20 owner = "cxong"; 21 rev = version; 22 - sha256 = "sha256-CH0P8OrRUXtuqAHxDKv4ziKYdwGTccLPwpzh4xo7lQc="; 23 }; 24 25 postPatch = ''
··· 13 14 stdenv.mkDerivation rec { 15 pname = "cdogs-sdl"; 16 + version = "1.4.2"; 17 18 src = fetchFromGitHub { 19 repo = pname; 20 owner = "cxong"; 21 rev = version; 22 + sha256 = "sha256-KRHwcDUAQ6GzJ20pCINq8t+P4G4cWjbIayDsYM4VBaY="; 23 }; 24 25 postPatch = ''
-1
pkgs/games/steam/fhsenv.nix
··· 206 libidn2 207 libpsl 208 nghttp2.lib 209 - openssl_1_1 210 rtmpdump 211 ] ++ steamPackages.steam-runtime-wrapped.overridePkgs 212 ++ extraLibraries pkgs;
··· 206 libidn2 207 libpsl 208 nghttp2.lib 209 rtmpdump 210 ] ++ steamPackages.steam-runtime-wrapped.overridePkgs 211 ++ extraLibraries pkgs;
+1 -1
pkgs/os-specific/linux/kernel/zen-kernels.nix
··· 32 33 extraMeta = { 34 branch = lib.versions.majorMinor version + "/master"; 35 - maintainers = with lib.maintainers; [ pedrohlc ]; 36 description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads." + 37 lib.optionalString isLqx " (Same as linux_zen but less aggressive release schedule)"; 38 };
··· 32 33 extraMeta = { 34 branch = lib.versions.majorMinor version + "/master"; 35 + maintainers = with lib.maintainers; [ ]; 36 description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads." + 37 lib.optionalString isLqx " (Same as linux_zen but less aggressive release schedule)"; 38 };
+1 -1
pkgs/os-specific/linux/minimal-bootstrap/default.nix
··· 25 tinycc-bootstrappable = callPackage ./tinycc/bootstrappable.nix { }; 26 tinycc-mes = callPackage ./tinycc/mes.nix { }; 27 28 - inherit (callPackage ./utils.nix { }) fetchurl derivationWithMeta writeTextFile writeText runCommand; 29 30 })
··· 25 tinycc-bootstrappable = callPackage ./tinycc/bootstrappable.nix { }; 26 tinycc-mes = callPackage ./tinycc/mes.nix { }; 27 28 + inherit (callPackage ./utils.nix { }) fetchurl derivationWithMeta writeTextFile writeText; 29 30 })
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/gnumake/default.nix
··· 1 { lib 2 - , runCommand 3 , fetchurl 4 , tinycc 5 , gnupatch 6 }: ··· 145 146 objects = map (x: lib.replaceStrings [".c"] [".o"] (builtins.baseNameOf x)) sources; 147 in 148 - runCommand "${pname}-${version}" { 149 inherit pname version; 150 151 nativeBuildInputs = [ tinycc gnupatch ];
··· 1 { lib 2 , fetchurl 3 + , kaem 4 , tinycc 5 , gnupatch 6 }: ··· 145 146 objects = map (x: lib.replaceStrings [".c"] [".o"] (builtins.baseNameOf x)) sources; 147 in 148 + kaem.runCommand "${pname}-${version}" { 149 inherit pname version; 150 151 nativeBuildInputs = [ tinycc gnupatch ];
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/gnupatch/default.nix
··· 1 { lib 2 - , runCommand 3 , fetchurl 4 , tinycc 5 }: 6 let ··· 67 68 objects = map (x: lib.replaceStrings [".c"] [".o"] (builtins.baseNameOf x)) sources; 69 in 70 - runCommand "${pname}-${version}" { 71 inherit pname version; 72 73 nativeBuildInputs = [ tinycc ];
··· 1 { lib 2 , fetchurl 3 + , kaem 4 , tinycc 5 }: 6 let ··· 67 68 objects = map (x: lib.replaceStrings [".c"] [".o"] (builtins.baseNameOf x)) sources; 69 in 70 + kaem.runCommand "${pname}-${version}" { 71 inherit pname version; 72 73 nativeBuildInputs = [ tinycc ];
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/ln-boot/default.nix
··· 1 { lib 2 - , runCommand 3 , mes 4 }: 5 let ··· 8 9 src = ./ln.c; 10 in 11 - runCommand "${pname}-${version}" { 12 inherit pname version; 13 14 meta = with lib; {
··· 1 { lib 2 + , kaem 3 , mes 4 }: 5 let ··· 8 9 src = ./ln.c; 10 in 11 + kaem.runCommand "${pname}-${version}" { 12 inherit pname version; 13 14 meta = with lib; {
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/mes/default.nix
··· 1 { lib 2 - , runCommand 3 , fetchurl 4 , writeText 5 , callPackage 6 , m2libc 7 , mescc-tools 8 }: ··· 43 sourceArchive = out: sources: 44 "catm ${out} ${lib.concatMapStringsSep " " (replaceExt ".s") sources}"; 45 in 46 - runCommand "${pname}-${version}" { 47 inherit pname version; 48 49 passthru = { inherit src nyacc; };
··· 1 { lib 2 , fetchurl 3 , writeText 4 , callPackage 5 + , kaem 6 , m2libc 7 , mescc-tools 8 }: ··· 43 sourceArchive = out: sources: 44 "catm ${out} ${lib.concatMapStringsSep " " (replaceExt ".s") sources}"; 45 in 46 + kaem.runCommand "${pname}-${version}" { 47 inherit pname version; 48 49 passthru = { inherit src nyacc; };
+3 -2
pkgs/os-specific/linux/minimal-bootstrap/mes/libc.nix
··· 1 { lib 2 - , runCommand 3 , ln-boot 4 , mes 5 , mes-libc ··· 21 # the operation in two 22 firstLibc = lib.take 100 libc_gnu_SOURCES; 23 lastLibc = lib.drop 100 libc_gnu_SOURCES; 24 - in runCommand "${pname}-${version}" { 25 inherit pname version; 26 27 nativeBuildInputs = [ ln-boot ];
··· 1 { lib 2 + , kaem 3 , ln-boot 4 , mes 5 , mes-libc ··· 21 # the operation in two 22 firstLibc = lib.take 100 libc_gnu_SOURCES; 23 lastLibc = lib.drop 100 libc_gnu_SOURCES; 24 + in 25 + kaem.runCommand "${pname}-${version}" { 26 inherit pname version; 27 28 nativeBuildInputs = [ ln-boot ];
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/mes/nyacc.nix
··· 1 { lib 2 - , runCommand 3 , fetchurl 4 , nyacc 5 }: 6 let ··· 15 sha256 = "065ksalfllbdrzl12dz9d9dcxrv97wqxblslngsc6kajvnvlyvpk"; 16 }; 17 in 18 - runCommand "${pname}-${version}" { 19 inherit pname version; 20 21 passthru.guilePath = "${nyacc}/share/${pname}-${version}/module";
··· 1 { lib 2 , fetchurl 3 + , kaem 4 , nyacc 5 }: 6 let ··· 15 sha256 = "065ksalfllbdrzl12dz9d9dcxrv97wqxblslngsc6kajvnvlyvpk"; 16 }; 17 in 18 + kaem.runCommand "${pname}-${version}" { 19 inherit pname version; 20 21 passthru.guilePath = "${nyacc}/share/${pname}-${version}/module";
+18
pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix
··· 1 { lib 2 , derivationWithMeta 3 , kaem-unwrapped 4 , mescc-tools-extra 5 , version 6 }: ··· 22 '') 23 ]; 24 PATH = lib.makeBinPath [ mescc-tools-extra ]; 25 26 meta = with lib; { 27 description = "Minimal build tool for running scripts on systems that lack any shell";
··· 1 { lib 2 , derivationWithMeta 3 + , writeText 4 + , kaem 5 , kaem-unwrapped 6 + , mescc-tools 7 , mescc-tools-extra 8 , version 9 }: ··· 25 '') 26 ]; 27 PATH = lib.makeBinPath [ mescc-tools-extra ]; 28 + 29 + passthru.runCommand = name: env: buildCommand: 30 + derivationWithMeta ({ 31 + inherit name; 32 + 33 + builder = "${kaem}/bin/kaem"; 34 + args = [ 35 + "--verbose" 36 + "--strict" 37 + "--file" 38 + (writeText "${name}-builder" buildCommand) 39 + ]; 40 + 41 + PATH = lib.makeBinPath ((env.nativeBuildInputs or []) ++ [ kaem mescc-tools mescc-tools-extra ]); 42 + } // (builtins.removeAttrs env [ "nativeBuildInputs" ])); 43 44 meta = with lib; { 45 description = "Minimal build tool for running scripts on systems that lack any shell";
+3 -3
pkgs/os-specific/linux/minimal-bootstrap/tinycc/bootstrappable.nix
··· 8 # SPDX-License-Identifier: GPL-3.0-or-later 9 10 { lib 11 - , runCommand 12 , callPackage 13 , fetchurl 14 , mes 15 , mes-libc 16 }: ··· 24 url = "https://gitlab.com/janneke/tinycc/-/archive/${rev}/tinycc-${rev}.tar.gz"; 25 sha256 = "1a0cw9a62qc76qqn5sjmp3xrbbvsz2dxrw21lrnx9q0s74mwaxbq"; 26 }; 27 - src = (runCommand "tinycc-bootstrappable-${version}-source" {} '' 28 ungz --file ${tarball} --output tinycc.tar 29 mkdir -p ''${out} 30 cd ''${out} ··· 39 platforms = [ "i686-linux" ]; 40 }; 41 42 - tinycc-boot-mes = runCommand "tinycc-boot-mes-${version}" {} '' 43 catm config.h 44 ${mes}/bin/mes --no-auto-compile -e main ${mes}/bin/mescc.scm -- \ 45 -S \
··· 8 # SPDX-License-Identifier: GPL-3.0-or-later 9 10 { lib 11 , callPackage 12 , fetchurl 13 + , kaem 14 , mes 15 , mes-libc 16 }: ··· 24 url = "https://gitlab.com/janneke/tinycc/-/archive/${rev}/tinycc-${rev}.tar.gz"; 25 sha256 = "1a0cw9a62qc76qqn5sjmp3xrbbvsz2dxrw21lrnx9q0s74mwaxbq"; 26 }; 27 + src = (kaem.runCommand "tinycc-bootstrappable-${version}-source" {} '' 28 ungz --file ${tarball} --output tinycc.tar 29 mkdir -p ''${out} 30 cd ''${out} ··· 39 platforms = [ "i686-linux" ]; 40 }; 41 42 + tinycc-boot-mes = kaem.runCommand "tinycc-boot-mes-${version}" {} '' 43 catm config.h 44 ${mes}/bin/mes --no-auto-compile -e main ${mes}/bin/mescc.scm -- \ 45 -S \
+2 -2
pkgs/os-specific/linux/minimal-bootstrap/tinycc/common.nix
··· 1 { lib 2 - , runCommand 3 , mes-libc 4 , ln-boot 5 }: ··· 17 options = lib.strings.concatStringsSep " " buildOptions; 18 libtccOptions = lib.strings.concatStringsSep " " libtccBuildOptions; 19 in 20 - runCommand "${pname}-${version}" { 21 inherit pname version meta; 22 nativeBuildInputs = [ ln-boot ]; 23 } ''
··· 1 { lib 2 + , kaem 3 , mes-libc 4 , ln-boot 5 }: ··· 17 options = lib.strings.concatStringsSep " " buildOptions; 18 libtccOptions = lib.strings.concatStringsSep " " libtccBuildOptions; 19 in 20 + kaem.runCommand "${pname}-${version}" { 21 inherit pname version meta; 22 nativeBuildInputs = [ ln-boot ]; 23 } ''
+3 -3
pkgs/os-specific/linux/minimal-bootstrap/tinycc/mes.nix
··· 5 # SPDX-License-Identifier: GPL-3.0-or-later 6 7 { lib 8 - , runCommand 9 , fetchurl 10 , callPackage 11 , tinycc-bootstrappable 12 }: 13 let ··· 20 url = "https://repo.or.cz/tinycc.git/snapshot/${rev}.tar.gz"; 21 sha256 = "11idrvbwfgj1d03crv994mpbbbyg63j1k64lw1gjy7mkiifw2xap"; 22 }; 23 - src = (runCommand "tinycc-${version}-source" {} '' 24 ungz --file ${tarball} --output tinycc.tar 25 mkdir -p ''${out} 26 cd ''${out} ··· 35 platforms = [ "i686-linux" ]; 36 }; 37 38 - tccdefs = runCommand "tccdefs-${version}" {} '' 39 mkdir ''${out} 40 ${tinycc-bootstrappable}/bin/tcc -static -DC2STR -o c2str ${src}/conftest.c 41 ./c2str ${src}/include/tccdefs.h ''${out}/tccdefs_.h
··· 5 # SPDX-License-Identifier: GPL-3.0-or-later 6 7 { lib 8 , fetchurl 9 , callPackage 10 + , kaem 11 , tinycc-bootstrappable 12 }: 13 let ··· 20 url = "https://repo.or.cz/tinycc.git/snapshot/${rev}.tar.gz"; 21 sha256 = "11idrvbwfgj1d03crv994mpbbbyg63j1k64lw1gjy7mkiifw2xap"; 22 }; 23 + src = (kaem.runCommand "tinycc-${version}-source" {} '' 24 ungz --file ${tarball} --output tinycc.tar 25 mkdir -p ''${out} 26 cd ''${out} ··· 35 platforms = [ "i686-linux" ]; 36 }; 37 38 + tccdefs = kaem.runCommand "tccdefs-${version}" {} '' 39 mkdir ''${out} 40 ${tinycc-bootstrappable}/bin/tcc -static -DC2STR -o c2str ${src}/conftest.c 41 ./c2str ${src}/include/tccdefs.h ''${out}/tccdefs_.h
-16
pkgs/os-specific/linux/minimal-bootstrap/utils.nix
··· 2 , buildPlatform 3 , callPackage 4 , kaem 5 - , mescc-tools 6 , mescc-tools-extra 7 }: 8 ··· 64 }; 65 66 writeText = name: text: writeTextFile {inherit name text;}; 67 - 68 - runCommand = name: env: buildCommand: 69 - derivationWithMeta ({ 70 - inherit name; 71 - 72 - builder = "${kaem}/bin/kaem"; 73 - args = [ 74 - "--verbose" 75 - "--strict" 76 - "--file" 77 - (writeText "${name}-builder" buildCommand) 78 - ]; 79 - 80 - PATH = lib.makeBinPath ((env.nativeBuildInputs or []) ++ [ kaem mescc-tools mescc-tools-extra ]); 81 - } // (builtins.removeAttrs env [ "nativeBuildInputs" ])); 82 83 }
··· 2 , buildPlatform 3 , callPackage 4 , kaem 5 , mescc-tools-extra 6 }: 7 ··· 63 }; 64 65 writeText = name: text: writeTextFile {inherit name text;}; 66 67 }
+3 -3
pkgs/servers/imgproxy/default.nix
··· 3 4 buildGoModule rec { 5 pname = "imgproxy"; 6 - version = "3.16.1"; 7 8 src = fetchFromGitHub { 9 owner = pname; 10 repo = pname; 11 - sha256 = "sha256-l5THMK6YUfScTeralhEl5SDBDoeV3Olt1xzdzeJ8BEQ="; 12 rev = "v${version}"; 13 }; 14 15 - vendorHash = "sha256-EtNFSAx8YcRhzgV3IdrZaCM6fOd284iuTperCFECsL8="; 16 17 nativeBuildInputs = [ pkg-config ]; 18
··· 3 4 buildGoModule rec { 5 pname = "imgproxy"; 6 + version = "3.17.0"; 7 8 src = fetchFromGitHub { 9 owner = pname; 10 repo = pname; 11 + sha256 = "sha256-7kNBXMjkOs8fLDUBdQJHOjwJhYYAbGPZZDA0NLFirH8="; 12 rev = "v${version}"; 13 }; 14 15 + vendorHash = "sha256-5o1i88v+1UGYXP2SzyM6seyidrj1Z3Q64w/gi07xf4w="; 16 17 nativeBuildInputs = [ pkg-config ]; 18
+6 -3
pkgs/servers/search/opensearch/default.nix
··· 14 15 stdenvNoCC.mkDerivation rec { 16 pname = "opensearch"; 17 - version = "2.6.0"; 18 19 src = fetchurl { 20 url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${version}/opensearch-${version}-linux-x64.tar.gz"; 21 - hash = "sha256-qJrgWF8JCR4jmnF239gaiRr4Y7Tin0TyYjzxd1Q4Wko"; 22 }; 23 24 nativeBuildInputs = [ makeWrapper ]; 25 buildInputs = [ jre_headless util-linux ]; 26 - patches = [./opensearch-home-fix.patch ]; 27 28 installPhase = '' 29 runHook preInstall ··· 49 meta = { 50 description = "Open Source, Distributed, RESTful Search Engine"; 51 homepage = "https://github.com/opensearch-project/OpenSearch"; 52 license = lib.licenses.asl20; 53 platforms = lib.platforms.unix; 54 maintainers = with lib.maintainers; [ shyim ];
··· 14 15 stdenvNoCC.mkDerivation rec { 16 pname = "opensearch"; 17 + version = "2.7.0"; 18 19 src = fetchurl { 20 url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${version}/opensearch-${version}-linux-x64.tar.gz"; 21 + hash = "sha256-qghqFcwfGDtKVyJW3Hb9Ad8UPh2dfhzxwyCZOp7mGmM="; 22 }; 23 24 nativeBuildInputs = [ makeWrapper ]; 25 buildInputs = [ jre_headless util-linux ]; 26 27 installPhase = '' 28 runHook preInstall ··· 48 meta = { 49 description = "Open Source, Distributed, RESTful Search Engine"; 50 homepage = "https://github.com/opensearch-project/OpenSearch"; 51 + sourceProvenance = with lib.sourceTypes; [ 52 + binaryBytecode 53 + binaryNativeCode 54 + ]; 55 license = lib.licenses.asl20; 56 platforms = lib.platforms.unix; 57 maintainers = with lib.maintainers; [ shyim ];
-26
pkgs/servers/search/opensearch/opensearch-home-fix.patch
··· 1 - diff -Naur a/bin/opensearch-env b/bin/opensearch-env 2 - --- a/bin/opensearch-env 2017-12-12 13:31:51.000000000 +0100 3 - +++ b/bin/opensearch-env 2017-12-18 19:51:12.282809695 +0100 4 - @@ -19,18 +19,10 @@ 5 - fi 6 - done 7 - 8 - -# determine OpenSearch home; to do this, we strip from the path until we find 9 - -# bin, and then strip bin (there is an assumption here that there is no nested 10 - -# directory under bin also named bin) 11 - -OPENSEARCH_HOME=`dirname "$SCRIPT"` 12 - - 13 - -# now make OPENSEARCH_HOME absolute 14 - -OPENSEARCH_HOME=`cd "$OPENSEARCH_HOME"; pwd` 15 - - 16 - -while [ "`basename "$OPENSEARCH_HOME"`" != "bin" ]; do 17 - - OPENSEARCH_HOME=`dirname "$OPENSEARCH_HOME"` 18 - -done 19 - -OPENSEARCH_HOME=`dirname "$OPENSEARCH_HOME"` 20 - +if [ -z "$OPENSEARCH_HOME" ]; then 21 - + echo "You must set the OPENSEARCH_HOME var" >&2 22 - + exit 1 23 - +fi 24 - 25 - # now set the classpath 26 - OPENSEARCH_CLASSPATH="$OPENSEARCH_HOME/lib/*"
···
+3 -3
pkgs/servers/spicedb/default.nix
··· 6 7 buildGoModule rec { 8 pname = "spicedb"; 9 - version = "1.20.0"; 10 11 src = fetchFromGitHub { 12 owner = "authzed"; 13 repo = "spicedb"; 14 rev = "v${version}"; 15 - hash = "sha256-gTQ6AiFcx9ckygZt8l5BWHfk8wv0Z7xCirPzCPkloKA="; 16 }; 17 18 - vendorHash = "sha256-sL2i9kpMuJIdkDXOXJVMzYBiIsU7duu/tRfDaLPjbwo="; 19 20 subPackages = [ "cmd/spicedb" ]; 21
··· 6 7 buildGoModule rec { 8 pname = "spicedb"; 9 + version = "1.21.0"; 10 11 src = fetchFromGitHub { 12 owner = "authzed"; 13 repo = "spicedb"; 14 rev = "v${version}"; 15 + hash = "sha256-d/py2tOvcada7hHmllVtxZ2af6GFioW95+eRTepXG7w="; 16 }; 17 18 + vendorHash = "sha256-/0EOmnQyD3kOrRmItIgzyK+O7ZOYpUedXdgQjS894uQ="; 19 20 subPackages = [ "cmd/spicedb" ]; 21
+2 -2
pkgs/tools/admin/kics/default.nix
··· 8 9 buildGoModule rec { 10 pname = "kics"; 11 - version = "1.7.0"; 12 13 src = fetchFromGitHub { 14 owner = "Checkmarx"; 15 repo = "kics"; 16 rev = "v${version}"; 17 - sha256 = "sha256-T9dO8OGlbEvjM+9P7cbCCgXkJXXtkR+5zrXRoGZg08c="; 18 }; 19 20 vendorHash = "sha256-Sg8f6fqe7DAsNsEGU1Ml42qgSuE5CrD+YrFqZKpNKtU=";
··· 8 9 buildGoModule rec { 10 pname = "kics"; 11 + version = "1.7.1"; 12 13 src = fetchFromGitHub { 14 owner = "Checkmarx"; 15 repo = "kics"; 16 rev = "v${version}"; 17 + sha256 = "sha256-9Pr8h6q/Au5fDgtAhKpOXNj3ldsLTwqGnduTAiUYdvE="; 18 }; 19 20 vendorHash = "sha256-Sg8f6fqe7DAsNsEGU1Ml42qgSuE5CrD+YrFqZKpNKtU=";
+3 -3
pkgs/tools/misc/chezmoi/default.nix
··· 6 7 buildGoModule rec { 8 pname = "chezmoi"; 9 - version = "2.33.4"; 10 11 src = fetchFromGitHub { 12 owner = "twpayne"; 13 repo = "chezmoi"; 14 rev = "v${version}"; 15 - hash = "sha256-EV1/T+VQGUI18KnX1y7CvwbOS9EabBmHUOoID8QUzmM="; 16 }; 17 18 - vendorHash = "sha256-NfKpXphv8BF5wWs6c5VlI+riWtMXD8NSx3l9zwp7b/M="; 19 20 doCheck = false; 21
··· 6 7 buildGoModule rec { 8 pname = "chezmoi"; 9 + version = "2.33.5"; 10 11 src = fetchFromGitHub { 12 owner = "twpayne"; 13 repo = "chezmoi"; 14 rev = "v${version}"; 15 + hash = "sha256-/Dh410wloqwo6dC9YP4Ufr6E56dnHoi48QSiYMSqml0="; 16 }; 17 18 + vendorHash = "sha256-P6PbriempswIH2h1RBTuhtxcmPI5T5lKS9nXRotARa8="; 19 20 doCheck = false; 21
+2 -2
pkgs/tools/misc/clipboard-jh/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "clipboard-jh"; 15 - version = "0.7.0"; 16 17 src = fetchFromGitHub { 18 owner = "Slackadays"; 19 repo = "clipboard"; 20 rev = version; 21 - hash = "sha256-+1GgIa0kIOliI0ACiU9zQe24R6488xWEZ7n9nuxv3dY"; 22 }; 23 24 postPatch = ''
··· 12 13 stdenv.mkDerivation rec { 14 pname = "clipboard-jh"; 15 + version = "0.7.1"; 16 17 src = fetchFromGitHub { 18 owner = "Slackadays"; 19 repo = "clipboard"; 20 rev = version; 21 + hash = "sha256-RLb7R4BXnP7J5gX8hsE9yi6N3kezsutP1HqkmjR3yRs="; 22 }; 23 24 postPatch = ''
+2 -2
pkgs/tools/networking/kapp/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kapp"; 5 - version = "0.55.0"; 6 7 src = fetchFromGitHub { 8 owner = "vmware-tanzu"; 9 repo = "carvel-kapp"; 10 rev = "v${version}"; 11 - sha256 = "sha256-Y/2Jsb4S07Sp4RbCp9E0/VHfYejFN3cmBLaTqUSK/6Q="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "kapp"; 5 + version = "0.55.1"; 6 7 src = fetchFromGitHub { 8 owner = "vmware-tanzu"; 9 repo = "carvel-kapp"; 10 rev = "v${version}"; 11 + sha256 = "sha256-g65hW/qyuwwZDfX0dDbgjlRCikBT3PpWP53MzkUlNqY="; 12 }; 13 14 vendorHash = null;
+4 -3
pkgs/tools/networking/openapi-generator-cli/default.nix
··· 1 { callPackage, lib, stdenv, fetchurl, jre, makeWrapper }: 2 3 let this = stdenv.mkDerivation rec { 4 - version = "6.5.0"; 5 pname = "openapi-generator-cli"; 6 7 jarfilename = "${pname}-${version}.jar"; ··· 12 13 src = fetchurl { 14 url = "mirror://maven/org/openapitools/${pname}/${version}/${jarfilename}"; 15 - sha256 = "sha256-8Y13HpjyxbsWnR0ZYd5PlIZtKQGrweFhd91+kpmDRyE="; 16 }; 17 18 dontUnpack = true; ··· 31 meta = with lib; { 32 description = "Allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec"; 33 homepage = "https://github.com/OpenAPITools/openapi-generator"; 34 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 35 license = licenses.asl20; 36 - maintainers = [ maintainers.shou ]; 37 }; 38 39 passthru.tests.example = callPackage ./example.nix {
··· 1 { callPackage, lib, stdenv, fetchurl, jre, makeWrapper }: 2 3 let this = stdenv.mkDerivation rec { 4 + version = "6.6.0"; 5 pname = "openapi-generator-cli"; 6 7 jarfilename = "${pname}-${version}.jar"; ··· 12 13 src = fetchurl { 14 url = "mirror://maven/org/openapitools/${pname}/${version}/${jarfilename}"; 15 + sha256 = "sha256-lxj/eETolGLHXc2bIKNRNvbbJXv+G4dNseMALpneRgk="; 16 }; 17 18 dontUnpack = true; ··· 31 meta = with lib; { 32 description = "Allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec"; 33 homepage = "https://github.com/OpenAPITools/openapi-generator"; 34 + changelog = "https://github.com/OpenAPITools/openapi-generator/releases/tag/v${version}"; 35 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 36 license = licenses.asl20; 37 + maintainers = with maintainers; [ shou ]; 38 }; 39 40 passthru.tests.example = callPackage ./example.nix {
+7 -3
pkgs/tools/text/diffsitter/default.nix
··· 32 in 33 rustPlatform.buildRustPackage rec { 34 pname = "diffsitter"; 35 - version = "0.7.3"; 36 37 src = fetchFromGitHub { 38 owner = "afnanenayet"; 39 repo = pname; 40 rev = "v${version}"; 41 - sha256 = "sha256-AJjgn+qFfy6/gjb8tQOJDmevZy1ZfpF0nTxAgunSabE="; 42 fetchSubmodules = false; 43 }; 44 45 - cargoSha256 = "sha256-U/XvllkzEVt4TpDPA5gSRKpIIQagATGdHh7YPFOo4CY="; 46 47 buildNoDefaultFeatures = true; 48 buildFeatures = [ ··· 54 ]; 55 56 postInstall = '' 57 wrapProgram "$out/bin/diffsitter" \ 58 --prefix LD_LIBRARY_PATH : "${libPath}" 59 '';
··· 32 in 33 rustPlatform.buildRustPackage rec { 34 pname = "diffsitter"; 35 + version = "0.8.0"; 36 37 src = fetchFromGitHub { 38 owner = "afnanenayet"; 39 repo = pname; 40 rev = "v${version}"; 41 + sha256 = "sha256-KrmK0RJdNJcZGM/7IxDP5IbJMTY3v6MkHA1SQW+U3hw="; 42 fetchSubmodules = false; 43 }; 44 45 + cargoHash = "sha256-3HALOoa3QDl9KE2UHxszzDw/VuDLLmjccXQvBBrfrHA="; 46 47 buildNoDefaultFeatures = true; 48 buildFeatures = [ ··· 54 ]; 55 56 postInstall = '' 57 + # completions are not yet implemented 58 + # so we can safely remove this without installing the completions 59 + rm $out/bin/diffsitter_completions 60 + 61 wrapProgram "$out/bin/diffsitter" \ 62 --prefix LD_LIBRARY_PATH : "${libPath}" 63 '';
+2 -2
pkgs/tools/text/vale/default.nix
··· 2 3 buildGoModule rec { 4 pname = "vale"; 5 - version = "2.25.2"; 6 7 subPackages = [ "cmd/vale" ]; 8 outputs = [ "out" "data" ]; ··· 11 owner = "errata-ai"; 12 repo = "vale"; 13 rev = "v${version}"; 14 - hash = "sha256-2v/ibr50rEuo5/KCBTlqv1iaPLYmAEnV0Nol2nqawA0="; 15 }; 16 17 vendorHash = "sha256-KB1mRWDYejc38tUv316MiGfmq2riNnpEMIUpjgfSasU=";
··· 2 3 buildGoModule rec { 4 pname = "vale"; 5 + version = "2.26.0"; 6 7 subPackages = [ "cmd/vale" ]; 8 outputs = [ "out" "data" ]; ··· 11 owner = "errata-ai"; 12 repo = "vale"; 13 rev = "v${version}"; 14 + hash = "sha256-giGiA1W7mKOsP3yj8FhbXr0hL2YV7dRmkyUCkqsngWM="; 15 }; 16 17 vendorHash = "sha256-KB1mRWDYejc38tUv316MiGfmq2riNnpEMIUpjgfSasU=";
+4 -4
pkgs/tools/typesetting/tex/pplatex/default.nix
··· 2 3 stdenv.mkDerivation { 4 pname = "pplatex"; 5 - version = "unstable-2015-09-14"; 6 7 src = fetchFromGitHub { 8 owner = "stefanhepp"; 9 repo = "pplatex"; 10 - rev = "5cec891ad6aec0115081cdd114ae1cc4f1ed7c06"; 11 - sha256 = "0wrkkbz6b6x91650nm8gccz7xghlp7b1i31fxwalz9xw3py9xygb"; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ]; ··· 26 "A tool to reformat the output of latex and friends into readable messages"; 27 homepage = "https://github.com/stefanhepp/pplatex"; 28 license = licenses.gpl3Plus; 29 - maintainers = [ maintainers.srgom ]; 30 platforms = platforms.unix; 31 }; 32 }
··· 2 3 stdenv.mkDerivation { 4 pname = "pplatex"; 5 + version = "unstable-2023-04-18"; 6 7 src = fetchFromGitHub { 8 owner = "stefanhepp"; 9 repo = "pplatex"; 10 + rev = "8487b00b25127d9a4883e878000f4be6f89d56d5"; 11 + sha256 = "sha256-wPPJBn/UfmTWsD5JOg6po83Qn4qlpwgsPUV3iJzw5KU="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ]; ··· 26 "A tool to reformat the output of latex and friends into readable messages"; 27 homepage = "https://github.com/stefanhepp/pplatex"; 28 license = licenses.gpl3Plus; 29 + maintainers = [ maintainers.srgom maintainers.doronbehar ]; 30 platforms = platforms.unix; 31 }; 32 }
+3
pkgs/tools/video/swfmill/default.nix
··· 14 # Fixes build with GCC 6 15 env.NIX_CFLAGS_COMPILE = "-std=c++03"; 16 17 nativeBuildInputs = [ pkg-config ]; 18 buildInputs = [ libxslt freetype libpng libxml2 ]; 19
··· 14 # Fixes build with GCC 6 15 env.NIX_CFLAGS_COMPILE = "-std=c++03"; 16 17 + # Remove once updated past 0.3.5 18 + env.NIX_LDFLAGS = "-lz"; 19 + 20 nativeBuildInputs = [ pkg-config ]; 21 buildInputs = [ libxslt freetype libpng libxml2 ]; 22
+1
pkgs/top-level/aliases.nix
··· 841 liberation_ttf_v1_from_source = throw "'liberation_ttf_v1_from_source' has been renamed to/replaced by 'liberation_ttf_v1'"; # Converted to throw 2022-02-22 842 liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22 843 liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22 844 libgksu = throw "libgksu has been removed"; # Added 2022-01-16 845 libgme = game-music-emu; # Added 2022-07-20 846 libgnome_keyring = throw "'libgnome_keyring' has been renamed to/replaced by 'libgnome-keyring'"; # Converted to throw 2022-02-22
··· 841 liberation_ttf_v1_from_source = throw "'liberation_ttf_v1_from_source' has been renamed to/replaced by 'liberation_ttf_v1'"; # Converted to throw 2022-02-22 842 liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22 843 liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22 844 + libgcc = throw "libgcc was removed, use gcc.cc.libgcc if needed"; # added 2023-05-13 845 libgksu = throw "libgksu has been removed"; # Added 2022-01-16 846 libgme = game-music-emu; # Added 2022-07-20 847 libgnome_keyring = throw "'libgnome_keyring' has been renamed to/replaced by 'libgnome-keyring'"; # Converted to throw 2022-02-22
+57 -5
pkgs/top-level/all-packages.nix
··· 14807 gcc10Stdenv = overrideCC gccStdenv buildPackages.gcc10; 14808 gcc11Stdenv = overrideCC gccStdenv buildPackages.gcc11; 14809 gcc12Stdenv = overrideCC gccStdenv buildPackages.gcc12; 14810 14811 # Meant for packages that fail with newer than gcc10. 14812 gcc10StdenvCompat = if stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11" then gcc10Stdenv else stdenv; ··· 15020 isl = if !stdenv.isDarwin then isl_0_20 else null; 15021 })); 15022 15023 - gcc_latest = gcc12; 15024 15025 # Use the same GCC version as the one from stdenv by default 15026 gfortran = wrapCC (gcc.cc.override { ··· 15103 profiledCompiler = false; 15104 }); 15105 15106 libgccjit = gcc.cc.override { 15107 name = "libgccjit"; 15108 langFortran = false; ··· 15166 else stdenv; 15167 }); 15168 15169 gnat-bootstrap = gnat-bootstrap12; 15170 gnat-bootstrap11 = wrapCC (callPackage ../development/compilers/gnat-bootstrap { majorVersion = "11"; }); 15171 gnat-bootstrap12 = wrapCCWith ({ ··· 15189 }); 15190 15191 gccgo12 = wrapCC (gcc12.cc.override { 15192 name = "gccgo"; 15193 langCC = true; #required for go. 15194 langC = true; ··· 18017 libcxxabi = llvmPackages.libcxxabi; 18018 18019 librarian-puppet-go = callPackage ../development/tools/librarian-puppet-go { }; 18020 - 18021 - libgcc = callPackage ../development/libraries/gcc/libgcc { 18022 - stdenvNoLibs = gccStdenvNoLibs; # cannot be built with clang it seems 18023 - }; 18024 18025 # This is for e.g. LLVM libraries on linux. 18026 gccForLibs =
··· 14807 gcc10Stdenv = overrideCC gccStdenv buildPackages.gcc10; 14808 gcc11Stdenv = overrideCC gccStdenv buildPackages.gcc11; 14809 gcc12Stdenv = overrideCC gccStdenv buildPackages.gcc12; 14810 + gcc13Stdenv = overrideCC gccStdenv buildPackages.gcc13; 14811 14812 # Meant for packages that fail with newer than gcc10. 14813 gcc10StdenvCompat = if stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11" then gcc10Stdenv else stdenv; ··· 15021 isl = if !stdenv.isDarwin then isl_0_20 else null; 15022 })); 15023 15024 + gcc13 = lowPrio (wrapCC (callPackage ../development/compilers/gcc/13 { 15025 + inherit noSysDirs; 15026 + 15027 + reproducibleBuild = true; 15028 + profiledCompiler = false; 15029 + 15030 + libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null; 15031 + threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { }; 15032 + 15033 + isl = if !stdenv.isDarwin then isl_0_20 else null; 15034 + })); 15035 + 15036 + gcc_latest = gcc13; 15037 15038 # Use the same GCC version as the one from stdenv by default 15039 gfortran = wrapCC (gcc.cc.override { ··· 15116 profiledCompiler = false; 15117 }); 15118 15119 + gfortran13 = wrapCC (gcc13.cc.override { 15120 + name = "gfortran"; 15121 + langFortran = true; 15122 + langCC = false; 15123 + langC = false; 15124 + profiledCompiler = false; 15125 + }); 15126 + 15127 libgccjit = gcc.cc.override { 15128 name = "libgccjit"; 15129 langFortran = false; ··· 15187 else stdenv; 15188 }); 15189 15190 + gnat13 = wrapCC (gcc13.cc.override { 15191 + name = "gnat"; 15192 + langC = true; 15193 + langCC = false; 15194 + langAda = true; 15195 + profiledCompiler = false; 15196 + # As per upstream instructions building a cross compiler 15197 + # should be done with a (native) compiler of the same version. 15198 + # If we are cross-compiling GNAT, we may as well do the same. 15199 + gnat-bootstrap = 15200 + if stdenv.hostPlatform == stdenv.targetPlatform 15201 + && stdenv.buildPlatform == stdenv.hostPlatform 15202 + then buildPackages.gnat-bootstrap12 15203 + else buildPackages.gnat13; 15204 + stdenv = 15205 + if stdenv.hostPlatform == stdenv.targetPlatform 15206 + && stdenv.buildPlatform == stdenv.hostPlatform 15207 + && stdenv.buildPlatform.isDarwin 15208 + && stdenv.buildPlatform.isx86_64 15209 + then overrideCC stdenv gnat-bootstrap12 15210 + else stdenv; 15211 + }); 15212 + 15213 gnat-bootstrap = gnat-bootstrap12; 15214 gnat-bootstrap11 = wrapCC (callPackage ../development/compilers/gnat-bootstrap { majorVersion = "11"; }); 15215 gnat-bootstrap12 = wrapCCWith ({ ··· 15233 }); 15234 15235 gccgo12 = wrapCC (gcc12.cc.override { 15236 + name = "gccgo"; 15237 + langCC = true; #required for go. 15238 + langC = true; 15239 + langGo = true; 15240 + langJit = true; 15241 + profiledCompiler = false; 15242 + } // { 15243 + # not supported on darwin: https://github.com/golang/go/issues/463 15244 + meta.broken = stdenv.hostPlatform.isDarwin; 15245 + }); 15246 + 15247 + gccgo13 = wrapCC (gcc13.cc.override { 15248 name = "gccgo"; 15249 langCC = true; #required for go. 15250 langC = true; ··· 18073 libcxxabi = llvmPackages.libcxxabi; 18074 18075 librarian-puppet-go = callPackage ../development/tools/librarian-puppet-go { }; 18076 18077 # This is for e.g. LLVM libraries on linux. 18078 gccForLibs =