Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 952947bd 07c89965

+733 -764
+1
doc/hooks/index.md
··· 25 perl.section.md 26 pkg-config.section.md 27 postgresql-test-hook.section.md 28 python.section.md 29 scons.section.md 30 tetex-tex-live.section.md
··· 25 perl.section.md 26 pkg-config.section.md 27 postgresql-test-hook.section.md 28 + premake.section.md 29 python.section.md 30 scons.section.md 31 tetex-tex-live.section.md
+7
doc/hooks/premake.section.md
···
··· 1 + # Premake {#premake-hook} 2 + 3 + This setup hook attempts to configure the package using [the Premake build configuration system](https://premake.github.io/). It overrides the `configurePhase` by default, if none exists. 4 + 5 + []{#premake-hook-premakefile} The Premakefile to use can be specified by setting `premakefile` in the derivation. 6 + 7 + []{#premake-hook-premakeFlagsArray} The flags passed to Premake can be configured by adding strings to the `premakeFlags` list.
+4 -1
maintainers/maintainer-list.nix
··· 3277 github = "callumio"; 3278 githubId = 16057677; 3279 name = "Callum Leslie"; 3280 - keys = [ { fingerprint = "BC82 4BB5 1656 D144 285E A0EC D382 C4AF EECE AA90"; } ]; 3281 }; 3282 calvertvl = { 3283 email = "calvertvl@gmail.com";
··· 3277 github = "callumio"; 3278 githubId = 16057677; 3279 name = "Callum Leslie"; 3280 + keys = [ 3281 + { fingerprint = "BC82 4BB5 1656 D144 285E A0EC D382 C4AF EECE AA90"; } 3282 + { fingerprint = "890B 06FB 209A 3E44 9491 C028 03B0 1F42 7831 BCFD"; } 3283 + ]; 3284 }; 3285 calvertvl = { 3286 email = "calvertvl@gmail.com";
+1 -1
nixos/doc/manual/release-notes/rl-2411.section.md
··· 245 246 - `forgejo` and `forgejo-lts` no longer support the opt-in feature [PAM (Pluggable Authentication Module)](https://forgejo.org/docs/latest/user/authentication/#pam-pluggable-authentication-module). 247 248 - - `gitea` no longer supports the opt-in feature [PAM (Pluggable Authentication Module)][https://docs.gitea.com/usage/authentication#pam-pluggable-authentication-module]. 249 250 - `services.ddclient.use` has been deprecated: `ddclient` now supports separate IPv4 and IPv6 configuration. Use `services.ddclient.usev4` and `services.ddclient.usev6` instead. 251
··· 245 246 - `forgejo` and `forgejo-lts` no longer support the opt-in feature [PAM (Pluggable Authentication Module)](https://forgejo.org/docs/latest/user/authentication/#pam-pluggable-authentication-module). 247 248 + - `gitea` no longer supports the opt-in feature [PAM (Pluggable Authentication Module)](https://docs.gitea.com/usage/authentication#pam-pluggable-authentication-module). 249 250 - `services.ddclient.use` has been deprecated: `ddclient` now supports separate IPv4 and IPv6 configuration. Use `services.ddclient.usev4` and `services.ddclient.usev6` instead. 251
+1 -1
nixos/modules/services/matrix/dendrite.nix
··· 258 default = { }; 259 description = '' 260 Configuration for dendrite, see: 261 - <https://github.com/matrix-org/dendrite/blob/master/dendrite-config.yaml> 262 for available options with which to populate settings. 263 ''; 264 };
··· 258 default = { }; 259 description = '' 260 Configuration for dendrite, see: 261 + <https://github.com/matrix-org/dendrite/blob/main/dendrite-sample.yaml> 262 for available options with which to populate settings. 263 ''; 264 };
+1 -3
nixos/modules/services/networking/netbird.nix
··· 35 cfg = config.services.netbird; 36 in 37 { 38 - meta.maintainers = with maintainers; [ 39 - misuzu 40 - ]; 41 meta.doc = ./netbird.md; 42 43 options.services.netbird = {
··· 35 cfg = config.services.netbird; 36 in 37 { 38 + meta.maintainers = with maintainers; [ ]; 39 meta.doc = ./netbird.md; 40 41 options.services.netbird = {
+1 -3
nixos/tests/netbird.nix
··· 2 { 3 name = "netbird"; 4 5 - meta = with pkgs.lib.maintainers; { 6 - maintainers = [ misuzu ]; 7 - }; 8 9 nodes = { 10 node = { ... }: {
··· 2 { 3 name = "netbird"; 4 5 + meta.maintainers = with pkgs.lib.maintainers; [ ]; 6 7 nodes = { 8 node = { ... }: {
+2 -2
pkgs/applications/audio/tageditor/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "tageditor"; 20 - version = "3.9.2"; 21 22 src = fetchFromGitHub { 23 owner = "martchus"; 24 repo = pname; 25 rev = "v${version}"; 26 - hash = "sha256-Bmi1U/SmYENlwsysAHsgFODU7R1RnU3xqbwhPEwsGcM="; 27 }; 28 29 nativeBuildInputs = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "tageditor"; 20 + version = "3.9.3"; 21 22 src = fetchFromGitHub { 23 owner = "martchus"; 24 repo = pname; 25 rev = "v${version}"; 26 + hash = "sha256-KAtOnTf3foOILDfTjVpkCOG6jsyS5fv0/Wv9Zcut2oE="; 27 }; 28 29 nativeBuildInputs = [
+6 -6
pkgs/applications/editors/sublime/4/packages.nix
··· 5 in 6 { 7 sublime4 = common { 8 - buildVersion = "4169"; 9 - x64sha256 = "jk9wKC0QgfhiHDYUcnDhsmgJsBPOUmCkyvQeI54IJJ4="; 10 - aarch64sha256 = "/W/xGbE+8gGu1zNh6lERZrfG9Dh9QUGkYiqTzp216JI="; 11 } { }; 12 13 sublime4-dev = common { 14 - buildVersion = "4175"; 15 dev = true; 16 - x64sha256 = "xncyxAaFJLLMko/iF6fhnpkOEHzD3nzWWGQCRK9srq4="; 17 - aarch64sha256 = "oqz1HASwmv0B1T3ZQBdIOZD9wYcHbni8tovW7jGp3KM="; 18 } { }; 19 }
··· 5 in 6 { 7 sublime4 = common { 8 + buildVersion = "4180"; 9 + x64sha256 = "pl42AR4zWF3vx3wPSZkfIP7Oksune5nsbmciyJUv8D4="; 10 + aarch64sha256 = "zRg2jfhi+g6iLrMF1TGAYT+QQKSNI1W4Yv1bz9oEXHg="; 11 } { }; 12 13 sublime4-dev = common { 14 + buildVersion = "4178"; 15 dev = true; 16 + x64sha256 = "2eTdb5MzXK3QbAEzl1yxURj4m/PqGHPVnHZV2WzD6Jc="; 17 + aarch64sha256 = "NLLOB4WnujMx3+wf6Evi+yBWM6463EZoNL2wEdJA8BA="; 18 } { }; 19 }
+2 -2
pkgs/applications/misc/fuzzel/default.nix
··· 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "fuzzel"; 27 - version = "1.10.2"; 28 29 src = fetchFromGitea { 30 domain = "codeberg.org"; 31 owner = "dnkl"; 32 repo = "fuzzel"; 33 rev = finalAttrs.version; 34 - hash = "sha256-I+h93/I1Kra2S5QSi2XgICAVrcUmO9cmb8UttVuzjwg="; 35 }; 36 37 depsBuildBuild = [
··· 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "fuzzel"; 27 + version = "1.11.1"; 28 29 src = fetchFromGitea { 30 domain = "codeberg.org"; 31 owner = "dnkl"; 32 repo = "fuzzel"; 33 rev = finalAttrs.version; 34 + hash = "sha256-FM5HvPfLVmuKpS3/0m2QM/lSRcWsVpnwtJ++L3Uo5Dc="; 35 }; 36 37 depsBuildBuild = [
+3 -3
pkgs/applications/misc/process-compose/default.nix
··· 8 in 9 buildGoModule rec { 10 pname = "process-compose"; 11 - version = "1.24.2"; 12 13 src = fetchFromGitHub { 14 owner = "F1bonacc1"; 15 repo = pname; 16 rev = "v${version}"; 17 - hash = "sha256-R+FkaCAI7Kkxd1UfdmeYo9BEUN0HUGZf2UDKxEvlTlQ="; 18 # populate values that require us to use git. By doing this in postFetch we 19 # can delete .git afterwards and maintain better reproducibility of the src. 20 leaveDotGit = true; ··· 43 installShellFiles 44 ]; 45 46 - vendorHash = "sha256-xGQf6E5QQyFdCUoFkPhWMlE6RQnQEJ/P6fBtUsaRz/Y="; 47 48 doCheck = false; 49
··· 8 in 9 buildGoModule rec { 10 pname = "process-compose"; 11 + version = "1.27.0"; 12 13 src = fetchFromGitHub { 14 owner = "F1bonacc1"; 15 repo = pname; 16 rev = "v${version}"; 17 + hash = "sha256-v8tcnndAP4+1cRWW2LmAsmSIvALdeESuuv2QmRQhq/s="; 18 # populate values that require us to use git. By doing this in postFetch we 19 # can delete .git afterwards and maintain better reproducibility of the src. 20 leaveDotGit = true; ··· 43 installShellFiles 44 ]; 45 46 + vendorHash = "sha256-G4ar+9ARBwR77t/6NswUDXpUw38rYnLy9lIep302mNI="; 47 48 doCheck = false; 49
+2 -2
pkgs/applications/misc/syncthingtray/default.nix
··· 35 }: 36 37 stdenv.mkDerivation (finalAttrs: { 38 - version = "1.6.1"; 39 pname = "syncthingtray"; 40 41 src = fetchFromGitHub { 42 owner = "Martchus"; 43 repo = "syncthingtray"; 44 rev = "v${finalAttrs.version}"; 45 - hash = "sha256-ZyYByMNMlXRjCCrvr5l+ePkWDrX7uxleVvxr09YeURQ="; 46 }; 47 48 buildInputs = [
··· 35 }: 36 37 stdenv.mkDerivation (finalAttrs: { 38 + version = "1.6.2"; 39 pname = "syncthingtray"; 40 41 src = fetchFromGitHub { 42 owner = "Martchus"; 43 repo = "syncthingtray"; 44 rev = "v${finalAttrs.version}"; 45 + hash = "sha256-L56aX5UFFodSR2YHWt6Y+s83q3YoAuYvyqXP/XVMp20="; 46 }; 47 48 buildInputs = [
+2 -2
pkgs/applications/networking/cluster/bosh-cli/default.nix
··· 8 buildGoModule rec { 9 pname = "bosh-cli"; 10 11 - version = "7.7.1"; 12 13 src = fetchFromGitHub { 14 owner = "cloudfoundry"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "sha256-Bs7bKB9P6TzlH4ztXFsQ1Q81nxNR5n6cuZ6Ap23nLUw="; 18 }; 19 vendorHash = null; 20
··· 8 buildGoModule rec { 9 pname = "bosh-cli"; 10 11 + version = "7.7.2"; 12 13 src = fetchFromGitHub { 14 owner = "cloudfoundry"; 15 repo = pname; 16 rev = "v${version}"; 17 + sha256 = "sha256-orn1pxHefYCp0vPsZ4TI5Y76tpR8dOcEmxA3cHwfYQU="; 18 }; 19 vendorHash = null; 20
+3 -3
pkgs/applications/networking/cluster/krelay/default.nix
··· 2 3 buildGoModule rec { 4 pname = "krelay"; 5 - version = "0.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "knight42"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-MnIeWsFpxSpE01uZtfI8Mhg6TSI9quz2TDKaMmBYbR0="; 12 }; 13 14 - vendorHash = "sha256-N8r+C+j9hyAWdDXTzJgFNUfjL1mROr2KfyY0+XEdZVk="; 15 16 subPackages = [ "cmd/client" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "krelay"; 5 + version = "0.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "knight42"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-TonkGh4j+xLGgSpspCedg6c2NpIZIzp5pv8VtWFssPk="; 12 }; 13 14 + vendorHash = "sha256-Qz3q/503A5QmsgEaDqChxS2tcUEJGmeT6YE6R3LBbcY="; 15 16 subPackages = [ "cmd/client" ]; 17
+7 -5
pkgs/applications/networking/remote/remmina/default.nix
··· 2 , curl, fuse3, fetchpatch2 3 , desktopToDarwinBundle 4 , glib, gtk3, gettext, libxkbfile, libX11, python3 5 - , freerdp3, libssh, libgcrypt, gnutls, vte 6 , pcre2, libdbusmenu-gtk3, libappindicator-gtk3 7 , libvncserver, libpthreadstubs, libXdmcp, libxkbcommon 8 , libsecret, libsoup_3, spice-protocol, spice-gtk, libepoxy, at-spi2-core 9 - , openssl, gsettings-desktop-schemas, json-glib, libsodium, webkitgtk_4_1, harfbuzz 10 , wayland 11 # The themes here are soft dependencies; only icons are missing without them. 12 , adwaita-icon-theme 13 , withKf5Wallet ? stdenv.isLinux, libsForQt5 14 , withLibsecret ? stdenv.isLinux 15 - , withVte ? true 16 }: 17 18 stdenv.mkDerivation (finalAttrs: { ··· 50 openssl adwaita-icon-theme json-glib libsodium 51 harfbuzz python3 52 wayland 53 - ] ++ lib.optionals stdenv.isLinux [ fuse3 libappindicator-gtk3 libdbusmenu-gtk3 webkitgtk_4_1 ] 54 ++ lib.optionals withLibsecret [ libsecret ] 55 ++ lib.optionals withKf5Wallet [ libsForQt5.kwallet ] 56 ++ lib.optionals withVte [ vte ]; 57 58 cmakeFlags = [ ··· 62 "-DWITH_AVAHI=OFF" 63 "-DWITH_KF5WALLET=${if withKf5Wallet then "ON" else "OFF"}" 64 "-DWITH_LIBSECRET=${if withLibsecret then "ON" else "OFF"}" 65 ] ++ lib.optionals stdenv.isDarwin [ 66 "-DHAVE_LIBAPPINDICATOR=OFF" 67 "-DWITH_CUPS=OFF" 68 "-DWITH_ICON_CACHE=OFF" 69 - "-DWITH_WEBKIT2GTK=OFF" 70 ]; 71 72 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
··· 2 , curl, fuse3, fetchpatch2 3 , desktopToDarwinBundle 4 , glib, gtk3, gettext, libxkbfile, libX11, python3 5 + , freerdp3, libssh, libgcrypt, gnutls 6 , pcre2, libdbusmenu-gtk3, libappindicator-gtk3 7 , libvncserver, libpthreadstubs, libXdmcp, libxkbcommon 8 , libsecret, libsoup_3, spice-protocol, spice-gtk, libepoxy, at-spi2-core 9 + , openssl, gsettings-desktop-schemas, json-glib, libsodium, harfbuzz 10 , wayland 11 # The themes here are soft dependencies; only icons are missing without them. 12 , adwaita-icon-theme 13 , withKf5Wallet ? stdenv.isLinux, libsForQt5 14 , withLibsecret ? stdenv.isLinux 15 + , withWebkitGtk ? false, webkitgtk_4_1 16 + , withVte ? true, vte 17 }: 18 19 stdenv.mkDerivation (finalAttrs: { ··· 51 openssl adwaita-icon-theme json-glib libsodium 52 harfbuzz python3 53 wayland 54 + ] ++ lib.optionals stdenv.isLinux [ fuse3 libappindicator-gtk3 libdbusmenu-gtk3 ] 55 ++ lib.optionals withLibsecret [ libsecret ] 56 ++ lib.optionals withKf5Wallet [ libsForQt5.kwallet ] 57 + ++ lib.optionals withWebkitGtk [ webkitgtk_4_1 ] 58 ++ lib.optionals withVte [ vte ]; 59 60 cmakeFlags = [ ··· 64 "-DWITH_AVAHI=OFF" 65 "-DWITH_KF5WALLET=${if withKf5Wallet then "ON" else "OFF"}" 66 "-DWITH_LIBSECRET=${if withLibsecret then "ON" else "OFF"}" 67 + "-DWITH_WEBKIT2GTK=${if withWebkitGtk then "ON" else "OFF"}" 68 ] ++ lib.optionals stdenv.isDarwin [ 69 "-DHAVE_LIBAPPINDICATOR=OFF" 70 "-DWITH_CUPS=OFF" 71 "-DWITH_ICON_CACHE=OFF" 72 ]; 73 74 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
+3 -3
pkgs/applications/version-management/sublime-merge/default.nix
··· 11 } { }; 12 13 sublime-merge-dev = common { 14 - buildVersion = "2099"; 15 dev = true; 16 - aarch64sha256 = "6rfUwzSBCJ3CRrL5E4+wBQ3FuB3PaAUCwh5pDtAbNKE="; 17 - x64sha256 = "qIXDlsdaxY8wvky/ClwhZykZTVrUShsV56utb6BRCWQ="; 18 } { }; 19 }
··· 11 } { }; 12 13 sublime-merge-dev = common { 14 + buildVersion = "2100"; 15 dev = true; 16 + aarch64sha256 = "BL0hk/8hf660I1HUQMQwvZxB6TpXpygQxOYtuDGfrYw="; 17 + x64sha256 = "NePJt2WttsbqJsduGX6UsOzAce2xW4Mc8Nq9We+ZCSM="; 18 } { }; 19 }
+6 -6
pkgs/build-support/cc-wrapper/default.nix
··· 152 x86-64-v4 = versionAtLeast ccVersion "11.0"; 153 154 # Intel 155 - skylake = versionAtLeast ccVersion "6.0"; 156 - skylake-avx512 = versionAtLeast ccVersion "6.0"; 157 cannonlake = versionAtLeast ccVersion "8.0"; 158 icelake-client = versionAtLeast ccVersion "8.0"; 159 icelake-server = versionAtLeast ccVersion "8.0"; ··· 164 alderlake = versionAtLeast ccVersion "12.0"; 165 166 # AMD 167 - znver1 = versionAtLeast ccVersion "6.0"; 168 znver2 = versionAtLeast ccVersion "9.0"; 169 znver3 = versionAtLeast ccVersion "11.0"; 170 znver4 = versionAtLeast ccVersion "13.0"; ··· 202 else if targetPlatform.isAarch64 then 203 (if isGNU then 204 { 205 - cortex-a53 = versionAtLeast ccVersion "4.8"; # gcc 8c075f 206 - cortex-a72 = versionAtLeast ccVersion "5.1"; # gcc d8f70d 207 - "cortex-a72.cortex-a53" = versionAtLeast ccVersion "5.1"; # gcc d8f70d 208 }.${tune} or false 209 else if isClang then 210 {
··· 152 x86-64-v4 = versionAtLeast ccVersion "11.0"; 153 154 # Intel 155 + skylake = true; 156 + skylake-avx512 = true; 157 cannonlake = versionAtLeast ccVersion "8.0"; 158 icelake-client = versionAtLeast ccVersion "8.0"; 159 icelake-server = versionAtLeast ccVersion "8.0"; ··· 164 alderlake = versionAtLeast ccVersion "12.0"; 165 166 # AMD 167 + znver1 = true; 168 znver2 = versionAtLeast ccVersion "9.0"; 169 znver3 = versionAtLeast ccVersion "11.0"; 170 znver4 = versionAtLeast ccVersion "13.0"; ··· 202 else if targetPlatform.isAarch64 then 203 (if isGNU then 204 { 205 + cortex-a53 = true; 206 + cortex-a72 = true; 207 + "cortex-a72.cortex-a53" = true; 208 }.${tune} or false 209 else if isClang then 210 {
+3 -3
pkgs/by-name/ag/agate/package.nix
··· 13 14 rustPlatform.buildRustPackage rec { 15 pname = "agate"; 16 - version = "3.3.8"; 17 18 src = fetchFromGitHub { 19 owner = "mbrubeck"; 20 repo = "agate"; 21 rev = "v${version}"; 22 - hash = "sha256-HK4ZTpRe6dEvBnjZLisSGXJmD5gTPEnf6f/gN0AHUsI="; 23 }; 24 25 - cargoHash = "sha256-yRCH4TRZ3m7ZG/NAEi1YDisSoad6FxCyojtXVvwbU9w="; 26 27 nativeBuildInputs = [ pkg-config ]; 28
··· 13 14 rustPlatform.buildRustPackage rec { 15 pname = "agate"; 16 + version = "3.3.9"; 17 18 src = fetchFromGitHub { 19 owner = "mbrubeck"; 20 repo = "agate"; 21 rev = "v${version}"; 22 + hash = "sha256-u+v9RydB6OIsq2zOSmTDuejneb2uNFhRXsVNlGcPABs="; 23 }; 24 25 + cargoHash = "sha256-oNI+UsxDdHSQGtl6vhxNWSiYVc8TV/vG8UoQX2w4ZoM="; 26 27 nativeBuildInputs = [ pkg-config ]; 28
-1
pkgs/by-name/an/ananicy-rules-cachyos/package.nix
··· 38 platforms = lib.platforms.linux; 39 maintainers = with lib.maintainers; [ 40 artturin 41 - diniamo 42 johnrtitor 43 ]; 44 };
··· 38 platforms = lib.platforms.linux; 39 maintainers = with lib.maintainers; [ 40 artturin 41 johnrtitor 42 ]; 43 };
+2 -2
pkgs/by-name/an/anytype/package.nix
··· 2 3 let 4 pname = "anytype"; 5 - version = "0.42.6"; 6 name = "Anytype-${version}"; 7 src = fetchurl { 8 url = "https://github.com/anyproto/anytype-ts/releases/download/v${version}/${name}.AppImage"; 9 - hash = "sha256-ubYk3CsdaUW4AtMYskmFunznUAVcBdbJh4dyGgSs1Io="; 10 }; 11 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 12 in appimageTools.wrapType2 {
··· 2 3 let 4 pname = "anytype"; 5 + version = "0.42.8"; 6 name = "Anytype-${version}"; 7 src = fetchurl { 8 url = "https://github.com/anyproto/anytype-ts/releases/download/v${version}/${name}.AppImage"; 9 + hash = "sha256-MIPKfwIZQah6K+WOQZsTpVcOrws+f4oVa7BoW29K5BA="; 10 }; 11 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 12 in appimageTools.wrapType2 {
+5 -5
pkgs/by-name/au/audiobookshelf/source.json
··· 1 { 2 "owner": "advplyr", 3 "repo": "audiobookshelf", 4 - "rev": "24923c0009446e2db26ec366b25dd38deb2e2573", 5 - "hash": "sha256-afNz4dTEr/6STn6cqSHxugn5ofa0jY4HvUnckJabxdo=", 6 - "version": "2.13.3", 7 - "depsHash": "sha256-fRz4qUxd8lZODQikP011FtvyFCz4fehESUfBmSBLwtA=", 8 - "clientDepsHash": "sha256-VGbwiCuDjA1rtUpLw7gO+Xb5/D09evf/Jrb93H0QCH8=" 9 }
··· 1 { 2 "owner": "advplyr", 3 "repo": "audiobookshelf", 4 + "rev": "ce213c3d89458baeb77324ce59a5f2137740564e", 5 + "hash": "sha256-7vPhvsjGJQvus5Mmx8543OuBeuPWC/4cLfHHYmN2lnk=", 6 + "version": "2.13.4", 7 + "depsHash": "sha256-1CmtuzE8R6zkb0DT7gt9MrxErAw0mqY2AkJZh3PjuBQ=", 8 + "clientDepsHash": "sha256-BfrVN70i1e4JWELxLS0jliHLfG4/kN8tj8aQOjsnZ/M=" 9 }
+2 -2
pkgs/by-name/bn/bngblaster/package.nix
··· 13 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "bngblaster"; 16 - version = "0.9.6"; 17 18 src = fetchFromGitHub { 19 owner = "rtbrick"; 20 repo = "bngblaster"; 21 rev = finalAttrs.version; 22 - hash = "sha256-VPzlORjLcsHY/rSYFlzKb5dh9D7j302dcRFULVjQSa0="; 23 }; 24 25 nativeBuildInputs = [ cmake ];
··· 13 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "bngblaster"; 16 + version = "0.9.7"; 17 18 src = fetchFromGitHub { 19 owner = "rtbrick"; 20 repo = "bngblaster"; 21 rev = finalAttrs.version; 22 + hash = "sha256-h4m/tPiLFRi3Dwh6QPmnCCZR4XNOZaz9xoDhOXAcIEQ="; 23 }; 24 25 nativeBuildInputs = [ cmake ];
+7 -1
pkgs/by-name/cn/cntb/package.nix
··· 9 owner = "contabo"; 10 repo = "cntb"; 11 rev = "v${version}"; 12 - hash = "sha256-clDIrZdvEy4oO0ZvqDNLJbr4Ij8D5dcyZPxey6zLV6Q="; 13 }; 14 15 subPackages = [ "." ];
··· 9 owner = "contabo"; 10 repo = "cntb"; 11 rev = "v${version}"; 12 + hash = "sha256-5JOO9tWMjy81wSB9Vq/gBYZ0xfrhES0dm/cTqXP8HiI"; 13 + # docs contains two files with the same name but different cases, 14 + # this leads to a different hash on case insensitive filesystems (e.g. darwin) 15 + # https://github.com/contabo/cntb/issues/34 16 + postFetch = '' 17 + rm -rf $out/openapi/docs 18 + ''; 19 }; 20 21 subPackages = [ "." ];
-10
pkgs/by-name/gf/gfortran6/package.nix
··· 1 - { wrapCC, gcc6 }: 2 - wrapCC ( 3 - gcc6.cc.override { 4 - name = "gfortran"; 5 - langFortran = true; 6 - langCC = false; 7 - langC = false; 8 - profiledCompiler = false; 9 - } 10 - )
···
+5
pkgs/by-name/gp/gpscorrelate/package.nix
··· 48 49 doCheck = true; 50 51 installTargets = [ "install" "install-po" "install-desktop-file" ]; 52 53 meta = with lib; {
··· 48 49 doCheck = true; 50 51 + preCheck = '' 52 + # https://github.com/dfandrich/gpscorrelate/issues/29 53 + rm tests/data/test005.* 54 + ''; 55 + 56 installTargets = [ "install" "install-po" "install-desktop-file" ]; 57 58 meta = with lib; {
+3 -1
pkgs/by-name/ne/nextpnr/package.nix
··· 49 50 cmakeFlags = 51 [ "-DCURRENT_GIT_VERSION=${lib.substring 0 7 (lib.elemAt srcs 0).rev}" 52 - "-DARCH=generic;ice40;ecp5;gowin" 53 "-DBUILD_TESTS=ON" 54 "-DICESTORM_INSTALL_PREFIX=${icestorm}" 55 "-DTRELLIS_INSTALL_PREFIX=${trellis}" ··· 58 "-DUSE_OPENMP=ON" 59 # warning: high RAM usage 60 "-DSERIALIZE_CHIPDBS=OFF" 61 ] 62 ++ (lib.optional enableGui "-DBUILD_GUI=ON") 63 ++ (lib.optional (enableGui && stdenv.isDarwin) ··· 80 wrapQtApp $out/bin/nextpnr-ice40 81 wrapQtApp $out/bin/nextpnr-ecp5 82 wrapQtApp $out/bin/nextpnr-gowin 83 ''; 84 85 strictDeps = true;
··· 49 50 cmakeFlags = 51 [ "-DCURRENT_GIT_VERSION=${lib.substring 0 7 (lib.elemAt srcs 0).rev}" 52 + "-DARCH=generic;ice40;ecp5;gowin;himbaechel" 53 "-DBUILD_TESTS=ON" 54 "-DICESTORM_INSTALL_PREFIX=${icestorm}" 55 "-DTRELLIS_INSTALL_PREFIX=${trellis}" ··· 58 "-DUSE_OPENMP=ON" 59 # warning: high RAM usage 60 "-DSERIALIZE_CHIPDBS=OFF" 61 + "-DHIMBAECHEL_GOWIN_DEVICES=all" 62 ] 63 ++ (lib.optional enableGui "-DBUILD_GUI=ON") 64 ++ (lib.optional (enableGui && stdenv.isDarwin) ··· 81 wrapQtApp $out/bin/nextpnr-ice40 82 wrapQtApp $out/bin/nextpnr-ecp5 83 wrapQtApp $out/bin/nextpnr-gowin 84 + wrapQtApp $out/bin/nextpnr-himbaechel 85 ''; 86 87 strictDeps = true;
+2 -2
pkgs/by-name/oi/oink/package.nix
··· 5 6 buildGoModule rec { 7 pname = "oink"; 8 - version = "1.2.1"; 9 10 src = fetchFromGitHub { 11 owner = "rlado"; 12 repo = "oink"; 13 rev = "v${version}"; 14 - hash = "sha256-XbS4DPNPYfIEnATIG0u+7HPQmtX5rvl77j/3mdVB//8="; 15 }; 16 17 vendorHash = null;
··· 5 6 buildGoModule rec { 7 pname = "oink"; 8 + version = "1.3.0"; 9 10 src = fetchFromGitHub { 11 owner = "rlado"; 12 repo = "oink"; 13 rev = "v${version}"; 14 + hash = "sha256-nA1M+TIj2mWhaftS5y4D2zIs7HAI4eDRjSdmLUifGKg="; 15 }; 16 17 vendorHash = null;
+1 -1
pkgs/by-name/op/open62541/package.nix
··· 168 changelog = "https://github.com/open62541/open62541/releases/tag/v${finalAttrs.version}"; 169 license = licenses.mpl20; 170 maintainers = with maintainers; [ panicgh ]; 171 - platforms = platforms.linux; 172 }; 173 })
··· 168 changelog = "https://github.com/open62541/open62541/releases/tag/v${finalAttrs.version}"; 169 license = licenses.mpl20; 170 maintainers = with maintainers; [ panicgh ]; 171 + platforms = platforms.unix; 172 }; 173 })
+2 -2
pkgs/by-name/ov/ovn/package.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "ovn"; 21 - version = "24.03.3"; 22 23 src = fetchFromGitHub { 24 owner = "ovn-org"; 25 repo = "ovn"; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-W25Tq5Z7SYIBkq6doNz9WPiPsdDhnbys03rmF4m02eM="; 28 fetchSubmodules = true; 29 }; 30
··· 18 19 stdenv.mkDerivation rec { 20 pname = "ovn"; 21 + version = "24.09.0"; 22 23 src = fetchFromGitHub { 24 owner = "ovn-org"; 25 repo = "ovn"; 26 rev = "refs/tags/v${version}"; 27 + hash = "sha256-0KXr9oxZqIhPD0HIkDUECCjfEK50JkkJxx8xsZIoAnc="; 28 fetchSubmodules = true; 29 }; 30
+3 -3
pkgs/by-name/pa/patch2pr/package.nix
··· 7 8 buildGoModule rec { 9 pname = "patch2pr"; 10 - version = "0.26.1"; 11 12 src = fetchFromGitHub { 13 owner = "bluekeyes"; 14 repo = "patch2pr"; 15 rev = "v${version}"; 16 - hash = "sha256-7mN5tp0QUlITCPeotMU61FUl0xmr78RMxUsIlq+F3DE="; 17 }; 18 19 - vendorHash = "sha256-YRhB0L1kIPZahS0K94vKr2iexhXkwl3GaNsk16WiLAU="; 20 21 ldflags = [ 22 "-X main.version=${version}"
··· 7 8 buildGoModule rec { 9 pname = "patch2pr"; 10 + version = "0.27.0"; 11 12 src = fetchFromGitHub { 13 owner = "bluekeyes"; 14 repo = "patch2pr"; 15 rev = "v${version}"; 16 + hash = "sha256-HKPw9yKJGakY2XTuMr2Beq+UxMnu/je3aEHsM1UR/Sk="; 17 }; 18 19 + vendorHash = "sha256-1ufdkCvTi5hNlpwZZKrkfpoRhWUp7fwHuZ1BPbkkxkY="; 20 21 ldflags = [ 22 "-X main.version=${version}"
+2 -2
pkgs/by-name/pl/plumber/package.nix
··· 2 3 buildGoModule rec { 4 pname = "plumber"; 5 - version = "2.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "streamdal"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-20rc9TLiCkt9k/Gtr5aoheGiiqOp1eURSqg4p1jTnkE="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "plumber"; 5 + version = "2.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "streamdal"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-L8vpaqt9yCIP3TLPSNUrOC6hXc71mzl4lqiaoNS6zls="; 12 }; 13 14 vendorHash = null;
+2 -2
pkgs/by-name/po/power-profiles-daemon/package.nix
··· 29 30 stdenv.mkDerivation (finalAttrs: { 31 pname = "power-profiles-daemon"; 32 - version = "0.22"; 33 34 outputs = [ 35 "out" ··· 41 owner = "upower"; 42 repo = "power-profiles-daemon"; 43 rev = finalAttrs.version; 44 - hash = "sha256-NzaneS/Za73HSK2abBZNmP+ZPbhIG+JXfBTPHm2vBeU="; 45 }; 46 47 nativeBuildInputs =
··· 29 30 stdenv.mkDerivation (finalAttrs: { 31 pname = "power-profiles-daemon"; 32 + version = "0.23"; 33 34 outputs = [ 35 "out" ··· 41 owner = "upower"; 42 repo = "power-profiles-daemon"; 43 rev = finalAttrs.version; 44 + hash = "sha256-kX8adu+GXxkaHtARUKp51K3Jf9xO+l12vctsJzIavyM="; 45 }; 46 47 nativeBuildInputs =
+122 -3
pkgs/by-name/ru/ruff/Cargo.lock
··· 195 checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 196 197 [[package]] 198 name = "bstr" 199 version = "1.10.0" 200 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 512 ] 513 514 [[package]] 515 name = "crc32fast" 516 version = "1.4.0" 517 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 617 checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 618 619 [[package]] 620 name = "ctrlc" 621 version = "3.4.5" 622 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 695 checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 696 697 [[package]] 698 name = "dirs" 699 version = "4.0.0" 700 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 877 checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2" 878 dependencies = [ 879 "libc", 880 ] 881 882 [[package]] ··· 1112 "globset", 1113 "lazy_static", 1114 "linked-hash-map", 1115 "regex", 1116 "serde", 1117 "similar", ··· 1708 checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 1709 1710 [[package]] 1711 name = "phf" 1712 version = "0.11.2" 1713 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1936 "smallvec", 1937 "static_assertions", 1938 "tempfile", 1939 "thiserror", 1940 "tracing", 1941 "walkdir", ··· 2091 2092 [[package]] 2093 name = "ruff" 2094 - version = "0.6.4" 2095 dependencies = [ 2096 "anyhow", 2097 "argfile", ··· 2284 2285 [[package]] 2286 name = "ruff_linter" 2287 - version = "0.6.4" 2288 dependencies = [ 2289 "aho-corasick", 2290 "annotate-snippets 0.9.2", ··· 2604 2605 [[package]] 2606 name = "ruff_wasm" 2607 - version = "0.6.4" 2608 dependencies = [ 2609 "console_error_panic_hook", 2610 "console_log", ··· 2936 ] 2937 2938 [[package]] 2939 name = "sharded-slab" 2940 version = "0.1.7" 2941 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3334 version = "2.0.2" 3335 source = "registry+https://github.com/rust-lang/crates.io-index" 3336 checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" 3337 3338 [[package]] 3339 name = "unic-char-property"
··· 195 checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 196 197 [[package]] 198 + name = "block-buffer" 199 + version = "0.10.4" 200 + source = "registry+https://github.com/rust-lang/crates.io-index" 201 + checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 202 + dependencies = [ 203 + "generic-array", 204 + ] 205 + 206 + [[package]] 207 name = "bstr" 208 version = "1.10.0" 209 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 521 ] 522 523 [[package]] 524 + name = "cpufeatures" 525 + version = "0.2.13" 526 + source = "registry+https://github.com/rust-lang/crates.io-index" 527 + checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad" 528 + dependencies = [ 529 + "libc", 530 + ] 531 + 532 + [[package]] 533 name = "crc32fast" 534 version = "1.4.0" 535 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 635 checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 636 637 [[package]] 638 + name = "crypto-common" 639 + version = "0.1.6" 640 + source = "registry+https://github.com/rust-lang/crates.io-index" 641 + checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 642 + dependencies = [ 643 + "generic-array", 644 + "typenum", 645 + ] 646 + 647 + [[package]] 648 name = "ctrlc" 649 version = "3.4.5" 650 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 723 checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 724 725 [[package]] 726 + name = "digest" 727 + version = "0.10.7" 728 + source = "registry+https://github.com/rust-lang/crates.io-index" 729 + checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 730 + dependencies = [ 731 + "block-buffer", 732 + "crypto-common", 733 + ] 734 + 735 + [[package]] 736 name = "dirs" 737 version = "4.0.0" 738 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 915 checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2" 916 dependencies = [ 917 "libc", 918 + ] 919 + 920 + [[package]] 921 + name = "generic-array" 922 + version = "0.14.7" 923 + source = "registry+https://github.com/rust-lang/crates.io-index" 924 + checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 925 + dependencies = [ 926 + "typenum", 927 + "version_check", 928 ] 929 930 [[package]] ··· 1160 "globset", 1161 "lazy_static", 1162 "linked-hash-map", 1163 + "pest", 1164 + "pest_derive", 1165 "regex", 1166 "serde", 1167 "similar", ··· 1758 checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 1759 1760 [[package]] 1761 + name = "pest" 1762 + version = "2.7.11" 1763 + source = "registry+https://github.com/rust-lang/crates.io-index" 1764 + checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" 1765 + dependencies = [ 1766 + "memchr", 1767 + "thiserror", 1768 + "ucd-trie", 1769 + ] 1770 + 1771 + [[package]] 1772 + name = "pest_derive" 1773 + version = "2.7.11" 1774 + source = "registry+https://github.com/rust-lang/crates.io-index" 1775 + checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" 1776 + dependencies = [ 1777 + "pest", 1778 + "pest_generator", 1779 + ] 1780 + 1781 + [[package]] 1782 + name = "pest_generator" 1783 + version = "2.7.11" 1784 + source = "registry+https://github.com/rust-lang/crates.io-index" 1785 + checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" 1786 + dependencies = [ 1787 + "pest", 1788 + "pest_meta", 1789 + "proc-macro2", 1790 + "quote", 1791 + "syn", 1792 + ] 1793 + 1794 + [[package]] 1795 + name = "pest_meta" 1796 + version = "2.7.11" 1797 + source = "registry+https://github.com/rust-lang/crates.io-index" 1798 + checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" 1799 + dependencies = [ 1800 + "once_cell", 1801 + "pest", 1802 + "sha2", 1803 + ] 1804 + 1805 + [[package]] 1806 name = "phf" 1807 version = "0.11.2" 1808 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2031 "smallvec", 2032 "static_assertions", 2033 "tempfile", 2034 + "test-case", 2035 "thiserror", 2036 "tracing", 2037 "walkdir", ··· 2187 2188 [[package]] 2189 name = "ruff" 2190 + version = "0.6.5" 2191 dependencies = [ 2192 "anyhow", 2193 "argfile", ··· 2380 2381 [[package]] 2382 name = "ruff_linter" 2383 + version = "0.6.5" 2384 dependencies = [ 2385 "aho-corasick", 2386 "annotate-snippets 0.9.2", ··· 2700 2701 [[package]] 2702 name = "ruff_wasm" 2703 + version = "0.6.5" 2704 dependencies = [ 2705 "console_error_panic_hook", 2706 "console_log", ··· 3032 ] 3033 3034 [[package]] 3035 + name = "sha2" 3036 + version = "0.10.8" 3037 + source = "registry+https://github.com/rust-lang/crates.io-index" 3038 + checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 3039 + dependencies = [ 3040 + "cfg-if", 3041 + "cpufeatures", 3042 + "digest", 3043 + ] 3044 + 3045 + [[package]] 3046 name = "sharded-slab" 3047 version = "0.1.7" 3048 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3441 version = "2.0.2" 3442 source = "registry+https://github.com/rust-lang/crates.io-index" 3443 checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" 3444 + 3445 + [[package]] 3446 + name = "typenum" 3447 + version = "1.17.0" 3448 + source = "registry+https://github.com/rust-lang/crates.io-index" 3449 + checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" 3450 + 3451 + [[package]] 3452 + name = "ucd-trie" 3453 + version = "0.1.6" 3454 + source = "registry+https://github.com/rust-lang/crates.io-index" 3455 + checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" 3456 3457 [[package]] 3458 name = "unic-char-property"
+9 -2
pkgs/by-name/ru/ruff/package.nix
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "ruff"; 17 - version = "0.6.4"; 18 19 src = fetchFromGitHub { 20 owner = "astral-sh"; 21 repo = "ruff"; 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-AldYWbLtkVtM1sWBCgNym9RZ0QszIh59vQhoysl5/3I="; 24 }; 25 26 cargoLock = { ··· 30 "salsa-0.18.0" = "sha256-EjpCTOB6E7n5oNn1bvzNyznzs0uRJvAXrNsZggk4hgM="; 31 }; 32 }; 33 34 nativeBuildInputs = [ installShellFiles ]; 35
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "ruff"; 17 + version = "0.6.5"; 18 19 src = fetchFromGitHub { 20 owner = "astral-sh"; 21 repo = "ruff"; 22 rev = "refs/tags/${version}"; 23 + hash = "sha256-1V95S0FWHzCxztgip+rbCjji4O71D+QdcSZ/hbABeKg="; 24 }; 25 26 cargoLock = { ··· 30 "salsa-0.18.0" = "sha256-EjpCTOB6E7n5oNn1bvzNyznzs0uRJvAXrNsZggk4hgM="; 31 }; 32 }; 33 + 34 + # Revert the change made in https://github.com/astral-sh/ruff/pull/13299 35 + # It was causing linking issues: https://github.com/NixOS/nixpkgs/pull/341674#issuecomment-2351172084 36 + postPatch = '' 37 + substituteInPlace crates/ruff_benchmark/Cargo.toml \ 38 + --replace-fail '"unprefixed_malloc_on_supported_platforms"' ' ' 39 + ''; 40 41 nativeBuildInputs = [ installShellFiles ]; 42
+2 -2
pkgs/by-name/ta/tailscale-gitops-pusher/package.nix
··· 1 { lib 2 , tailscale 3 - , buildGoModule 4 }: 5 6 - buildGoModule { 7 inherit (tailscale) version src vendorHash CGO_ENABLED; 8 pname = "tailscale-gitops-pusher"; 9
··· 1 { lib 2 , tailscale 3 + , buildGo123Module 4 }: 5 6 + buildGo123Module { 7 inherit (tailscale) version src vendorHash CGO_ENABLED; 8 pname = "tailscale-gitops-pusher"; 9
+2 -2
pkgs/by-name/ta/tailscale-nginx-auth/package.nix
··· 1 - { lib, stdenv, buildGoModule, tailscale }: 2 3 - buildGoModule { 4 pname = "tailscale-nginx-auth"; 5 inherit (tailscale) version src vendorHash; 6
··· 1 + { lib, stdenv, buildGo123Module, tailscale }: 2 3 + buildGo123Module { 4 pname = "tailscale-nginx-auth"; 5 inherit (tailscale) version src vendorHash; 6
+2 -2
pkgs/data/misc/clash-geoip/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "clash-geoip"; 5 - version = "20240812"; 6 7 src = fetchurl { 8 url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb"; 9 - sha256 = "sha256-wX5qBZIwdGFzOlk42SDs8T4QhDovEJ6twyghX/JRgjY="; 10 }; 11 12 dontUnpack = true;
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "clash-geoip"; 5 + version = "20240912"; 6 7 src = fetchurl { 8 url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb"; 9 + sha256 = "sha256-3Cxq5vA53g7+LUgvSneuq7UBjdKppvcVy3fh/cOwDI8="; 10 }; 11 12 dontUnpack = true;
+2 -2
pkgs/desktops/gnome/extensions/EasyScreenCast/default.nix
··· 2 3 stdenv.mkDerivation (finalAttrs: { 4 pname = "gnome-shell-extension-EasyScreenCast"; 5 - version = "1.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "EasyScreenCast"; 9 repo = "EasyScreenCast"; 10 rev = finalAttrs.version; 11 - hash = "sha256-rRRMFAdWseTxW6W194TE3yNlnpPX7gLViLPLQW6zuSI="; 12 }; 13 14 patches = [
··· 2 3 stdenv.mkDerivation (finalAttrs: { 4 pname = "gnome-shell-extension-EasyScreenCast"; 5 + version = "1.10.0"; 6 7 src = fetchFromGitHub { 8 owner = "EasyScreenCast"; 9 repo = "EasyScreenCast"; 10 rev = finalAttrs.version; 11 + hash = "sha256-5PJB+lm4NKeNpS2vg9xaVl5aUR0Rofmt6sEKXfuGG6c="; 12 }; 13 14 patches = [
+5 -12
pkgs/development/compilers/gcc/all.nix
··· 1 { lib 2 , stdenv 3 , gccStdenv 4 - , gcc7Stdenv 5 , callPackage 6 - , isl_0_11, isl_0_14, isl_0_17, isl_0_20 7 , libcCross 8 , threadsCross 9 , noSysDirs 10 - , cloog_0_18_0, cloog 11 , lowPrio 12 , wrapCC 13 }@args: ··· 27 threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { }; 28 isl = if stdenv.isDarwin then null 29 else if atLeast "9" then isl_0_20 30 - else if atLeast "7" then isl_0_17 31 - else if atLeast "6" then (if stdenv.targetPlatform.isRedox then isl_0_17 else isl_0_14) 32 - else /* "5" */ isl_0_11; 33 - } // lib.optionalAttrs (!(atLeast "6")) { 34 - cloog = if stdenv.isDarwin 35 - then null 36 - else /* 5 */ cloog_0_18_0; 37 - } // lib.optionalAttrs (atLeast "6" && !(atLeast "9")) { 38 # gcc 10 is too strict to cross compile gcc <= 8 39 - stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc7Stdenv else stdenv; 40 }))); 41 in 42 lib.nameValuePair attrName pkg;
··· 1 { lib 2 , stdenv 3 , gccStdenv 4 + , gcc9Stdenv 5 , callPackage 6 + , isl_0_17, isl_0_20 7 , libcCross 8 , threadsCross 9 , noSysDirs 10 , lowPrio 11 , wrapCC 12 }@args: ··· 26 threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { }; 27 isl = if stdenv.isDarwin then null 28 else if atLeast "9" then isl_0_20 29 + else /* atLeast "7" */ isl_0_17; 30 + } // lib.optionalAttrs (!(atLeast "9")) { 31 # gcc 10 is too strict to cross compile gcc <= 8 32 + stdenv = if (stdenv.targetPlatform != stdenv.buildPlatform) && stdenv.cc.isGNU then gcc9Stdenv else stdenv; 33 }))); 34 in 35 lib.nameValuePair attrName pkg;
-1
pkgs/development/compilers/gcc/common/builder.nix
··· 13 version: 14 stdenv.buildPlatform.isDarwin 15 && stdenv.buildPlatform.isx86_64 16 - && lib.versionAtLeast version "6" 17 && lib.versionOlder version "10"; 18 in 19
··· 13 version: 14 stdenv.buildPlatform.isDarwin 15 && stdenv.buildPlatform.isx86_64 16 && lib.versionOlder version "10"; 17 in 18
-21
pkgs/development/compilers/gcc/common/configure-flags.nix
··· 6 , version 7 8 , binutils, gmp, mpfr, libmpc, isl 9 - , cloog ? null 10 11 , enableLTO 12 , enableMultilib ··· 18 , langCC 19 , langD ? false 20 , langFortran 21 - , langJava ? false, javaAwtGtk ? false, javaAntlr ? null, javaEcj ? null 22 , langAda ? false 23 , langGo 24 , langObjC ··· 29 }: 30 31 assert !enablePlugin -> disableGdbPlugin; 32 - assert langJava -> lib.versionOlder version "7"; 33 34 # Note [Windows Exception Handling] 35 # sjlj (short jump long jump) exception handling makes no sense on x86_64, ··· 165 ++ lib.optional langCC "c++" 166 ++ lib.optional langD "d" 167 ++ lib.optional langFortran "fortran" 168 - ++ lib.optional langJava "java" 169 ++ lib.optional langAda "ada" 170 ++ lib.optional langGo "go" 171 ++ lib.optional langObjC "objc" ··· 197 198 # Optional features 199 ++ lib.optional (isl != null) "--with-isl=${isl}" 200 - ++ lib.optionals (lib.versionOlder version "5" && cloog != null) [ 201 - "--with-cloog=${cloog}" 202 - "--disable-cloog-version-check" 203 - "--enable-cloog-backend=isl" 204 - ] 205 206 # Ada options, gcc can't build the runtime library for a cross compiler 207 ++ lib.optional langAda 208 (if hostPlatform == targetPlatform 209 then "--enable-libada" 210 else "--disable-libada") 211 - 212 - # Java options 213 - ++ lib.optionals langJava [ 214 - "--with-ecj-jar=${javaEcj}" 215 - 216 - # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See 217 - # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>. 218 - "--enable-java-home" 219 - "--with-java-home=\${prefix}/lib/jvm/jre" 220 - ] 221 - ++ lib.optional javaAwtGtk "--enable-java-awt=gtk" 222 - ++ lib.optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" 223 224 ++ import ../common/platform-flags.nix { inherit (stdenv) targetPlatform; inherit lib; } 225 ++ lib.optionals (targetPlatform != hostPlatform) crossConfigureFlags
··· 6 , version 7 8 , binutils, gmp, mpfr, libmpc, isl 9 10 , enableLTO 11 , enableMultilib ··· 17 , langCC 18 , langD ? false 19 , langFortran 20 , langAda ? false 21 , langGo 22 , langObjC ··· 27 }: 28 29 assert !enablePlugin -> disableGdbPlugin; 30 31 # Note [Windows Exception Handling] 32 # sjlj (short jump long jump) exception handling makes no sense on x86_64, ··· 162 ++ lib.optional langCC "c++" 163 ++ lib.optional langD "d" 164 ++ lib.optional langFortran "fortran" 165 ++ lib.optional langAda "ada" 166 ++ lib.optional langGo "go" 167 ++ lib.optional langObjC "objc" ··· 193 194 # Optional features 195 ++ lib.optional (isl != null) "--with-isl=${isl}" 196 197 # Ada options, gcc can't build the runtime library for a cross compiler 198 ++ lib.optional langAda 199 (if hostPlatform == targetPlatform 200 then "--enable-libada" 201 else "--disable-libada") 202 203 ++ import ../common/platform-flags.nix { inherit (stdenv) targetPlatform; inherit lib; } 204 ++ lib.optionals (targetPlatform != hostPlatform) crossConfigureFlags
-15
pkgs/development/compilers/gcc/common/dependencies.nix
··· 6 , texinfo 7 , which 8 , gettext 9 - , pkg-config ? null 10 , gnused 11 , patchelf 12 , gmp ··· 14 , libmpc 15 , libucontext ? null 16 , libxcrypt ? null 17 - , cloog ? null 18 , darwin ? null 19 , isl ? null 20 , zlib ? null 21 , gnat-bootstrap ? null 22 , flex ? null 23 - , boehmgc ? null 24 - , zip ? null 25 - , unzip ? null 26 - , gtk2 ? null 27 - , libart_lgpl ? null 28 , perl ? null 29 - , xlibs ? null 30 - , langJava ? false 31 - , javaAwtGtk ? false 32 , langAda ? false 33 , langGo ? false 34 , langRust ? false ··· 52 gettext 53 ] 54 ++ optionals (perl != null) [ perl ] 55 - ++ optionals javaAwtGtk [ pkg-config ] 56 ++ optionals (with stdenv.targetPlatform; isVc4 || isRedox && flex != null) [ flex ] 57 ++ optionals langAda [ gnat-bootstrap ] 58 ++ optionals langRust [ cargo ] ··· 83 ++ [ 84 targetPackages.stdenv.cc.bintools # For linking code at run-time 85 ] 86 - ++ optionals (lib.versionOlder version "5" && cloog != null) [ cloog ] 87 ++ optionals (isl != null) [ isl ] 88 ++ optionals (zlib != null) [ zlib ] 89 - ++ optionals langJava [ boehmgc zip unzip ] 90 - ++ optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs) 91 ++ optionals (langGo && stdenv.hostPlatform.isMusl) [ libucontext ] 92 ++ optionals (lib.versionAtLeast version "14" && stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.CoreServices ] 93 ; 94 95 - # threadsCross.package after gcc6 so i assume its okay for 4.8 and 4.9 too 96 depsTargetTarget = optionals (!withoutTargetLibc && threadsCross != { } && threadsCross.package != null) [ threadsCross.package ]; 97 }
··· 6 , texinfo 7 , which 8 , gettext 9 , gnused 10 , patchelf 11 , gmp ··· 13 , libmpc 14 , libucontext ? null 15 , libxcrypt ? null 16 , darwin ? null 17 , isl ? null 18 , zlib ? null 19 , gnat-bootstrap ? null 20 , flex ? null 21 , perl ? null 22 , langAda ? false 23 , langGo ? false 24 , langRust ? false ··· 42 gettext 43 ] 44 ++ optionals (perl != null) [ perl ] 45 ++ optionals (with stdenv.targetPlatform; isVc4 || isRedox && flex != null) [ flex ] 46 ++ optionals langAda [ gnat-bootstrap ] 47 ++ optionals langRust [ cargo ] ··· 72 ++ [ 73 targetPackages.stdenv.cc.bintools # For linking code at run-time 74 ] 75 ++ optionals (isl != null) [ isl ] 76 ++ optionals (zlib != null) [ zlib ] 77 ++ optionals (langGo && stdenv.hostPlatform.isMusl) [ libucontext ] 78 ++ optionals (lib.versionAtLeast version "14" && stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.CoreServices ] 79 ; 80 81 depsTargetTarget = optionals (!withoutTargetLibc && threadsCross != { } && threadsCross.package != null) [ threadsCross.package ]; 82 }
+1 -1
pkgs/development/compilers/gcc/common/meta.nix
··· 23 ''; 24 25 platforms = platforms.unix; 26 - maintainers = if versionOlder version "5" then [ maintainers.veprbl ] else teams.gcc.members; 27 28 }
··· 23 ''; 24 25 platforms = platforms.unix; 26 + maintainers = teams.gcc.members; 27 28 }
+3 -9
pkgs/development/compilers/gcc/common/pre-configure.nix
··· 4 , gnat-bootstrap ? null 5 , langAda ? false 6 , langFortran 7 - , langJava ? false 8 , langJit ? false 9 , langGo 10 , withoutTargetLibc ··· 13 , pkgsBuildTarget 14 }: 15 16 - assert langJava -> lib.versionOlder version "7"; 17 - assert langAda -> gnat-bootstrap != null; let 18 - needsLib 19 - = (lib.versionOlder version "7" && (langJava || langGo)) 20 - || (lib.versions.major version == "4" && lib.versions.minor version == "9" && targetPlatform.isDarwin); 21 - in lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' 22 export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` 23 export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" 24 export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" 25 export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET" 26 - '' + lib.optionalString needsLib '' 27 - export lib=$out; 28 '' + lib.optionalString langAda '' 29 export PATH=${gnat-bootstrap}/bin:$PATH 30 ''
··· 4 , gnat-bootstrap ? null 5 , langAda ? false 6 , langFortran 7 , langJit ? false 8 , langGo 9 , withoutTargetLibc ··· 12 , pkgsBuildTarget 13 }: 14 15 + assert langAda -> gnat-bootstrap != null; 16 + 17 + lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' 18 export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` 19 export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" 20 export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" 21 export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET" 22 '' + lib.optionalString langAda '' 23 export PATH=${gnat-bootstrap}/bin:$PATH 24 ''
+17 -122
pkgs/development/compilers/gcc/default.nix
··· 27 , threadsCross ? null # for MinGW 28 , withoutTargetLibc ? false 29 , gnused ? null 30 - , cloog # unused; just for compat with gcc4, as we override the parameter on some places 31 , buildPackages 32 , pkgsBuildTarget 33 , libxcrypt ··· 37 , majorMinorVersion 38 , cctools 39 , darwin 40 - 41 - # only for gcc<=6.x 42 - , langJava ? false 43 - , flex 44 - , boehmgc ? null 45 - , zip ? null, unzip ? null, pkg-config ? null 46 - , gtk2 ? null, libart_lgpl ? null 47 - , libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null 48 - , libXrender ? null, xorgproto ? null 49 - , libXrandr ? null, libXi ? null 50 - , x11Support ? langJava 51 }: 52 53 let ··· 80 atLeast10 = versionAtLeast version "10"; 81 atLeast9 = versionAtLeast version "9"; 82 atLeast8 = versionAtLeast version "8"; 83 - atLeast7 = versionAtLeast version "7"; 84 - atLeast6 = versionAtLeast version "6"; 85 is14 = majorVersion == "14"; 86 is13 = majorVersion == "13"; 87 is12 = majorVersion == "12"; ··· 90 is9 = majorVersion == "9"; 91 is8 = majorVersion == "8"; 92 is7 = majorVersion == "7"; 93 - is6 = majorVersion == "6"; 94 95 disableBootstrap = atLeast11 && !stdenv.hostPlatform.isDarwin && (atLeast12 -> !profiledCompiler); 96 ··· 104 stageNameAddon = optionalString withoutTargetLibc "-nolibc"; 105 crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}${stageNameAddon}-"; 106 107 - javaAwtGtk = langJava && x11Support; 108 - xlibs = [ 109 - libX11 libXt libSM libICE libXtst libXrender libXrandr libXi 110 - xorgproto 111 - ]; 112 - callFile = callPackageWith ({ 113 # lets 114 inherit 115 majorVersion ··· 128 binutils 129 buildPackages 130 cargo 131 - cloog 132 withoutTargetLibc 133 darwin 134 disableBootstrap ··· 174 texinfo 175 threadsCross 176 which 177 - zip 178 zlib 179 ; 180 - } // optionalAttrs (!atLeast7) { 181 - inherit 182 - boehmgc 183 - flex 184 - gnat-bootstrap 185 - gtk2 186 - langAda 187 - langJava 188 - libICE 189 - libSM 190 - libX11 191 - libXi 192 - libXrandr 193 - libXrender 194 - libXt 195 - libXtst 196 - libart_lgpl 197 - pkg-config 198 - unzip 199 - x11Support 200 - xorgproto 201 - javaAwtGtk 202 - xlibs 203 - ; 204 - javaEcj = fetchurl { 205 - # The `$(top_srcdir)/ecj.jar' file is automatically picked up at 206 - # `configure' time. 207 - 208 - # XXX: Eventually we might want to take it from upstream. 209 - url = "ftp://sourceware.org/pub/java/ecj-4.3.jar"; 210 - sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx"; 211 - }; 212 - 213 - # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a 214 - # binary distribution here to allow the whole chain to be bootstrapped. 215 - javaAntlr = fetchurl { 216 - url = "https://www.antlr.org/download/antlr-4.4-complete.jar"; 217 - sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz"; 218 - }; 219 - }); 220 221 in 222 - 223 - # We enable the isl cloog backend. 224 - assert !atLeast6 -> (cloog != null -> isl != null); 225 - 226 - assert langJava -> !atLeast7 && zip != null && unzip != null && zlib != null && boehmgc != null && perl != null; # for `--enable-java-home' 227 228 # Make sure we get GNU sed. 229 assert stdenv.buildPlatform.isDarwin -> gnused != null; 230 231 # The go frontend is written in c++ 232 assert langGo -> langCC; 233 - assert (atLeast6 && !is7 && !is8) -> (langAda -> gnat-bootstrap != null); 234 235 # TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). 236 # error: GDC is required to build d ··· 243 # If turned on, we can't provide reproducible builds anymore 244 assert reproducibleBuild -> profiledCompiler == false; 245 246 - # We need all these X libraries when building AWT with GTK. 247 - assert !atLeast7 -> (x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []); 248 - 249 pipe ((callFile ./common/builder.nix {}) ({ 250 pname = "${crossNameAddon}${name}"; 251 inherit version; 252 253 - src = if is6 && stdenv.targetPlatform.isVc4 then fetchFromGitHub { 254 - owner = "itszor"; 255 - repo = "gcc-vc4"; 256 - rev = "e90ff43f9671c760cf0d1dd62f569a0fb9bf8918"; 257 - sha256 = "0gxf66hwqk26h8f853sybphqa5ca0cva2kmrw5jsiv6139g0qnp8"; 258 - } else if is6 && stdenv.targetPlatform.isRedox then fetchFromGitHub { 259 - owner = "redox-os"; 260 - repo = "gcc"; 261 - rev = "f360ac095028d286fc6dde4d02daed48f59813fa"; # `redox` branch 262 - sha256 = "1an96h8l58pppyh3qqv90g8hgcfd9hj7igvh2gigmkxbrx94khfl"; 263 - } else fetchurl { 264 - url = if atLeast7 265 - then "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz" 266 - else if atLeast6 267 - then "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.xz" 268 - else "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2"; 269 ${if is10 || is11 || is13 then "hash" else "sha256"} = 270 gccVersions.srcHashForVersion version; 271 }; 272 273 inherit patches; 274 275 - outputs = 276 - if atLeast7 277 - then [ "out" "man" "info" ] ++ optional (!langJit) "lib" 278 - else if (langJava || langGo || (if atLeast6 then langJit else targetPlatform.isDarwin)) then ["out" "man" "info"] 279 - else [ "out" "lib" "man" "info" ]; 280 281 setOutputFlags = false; 282 ··· 285 hardeningDisable = [ "format" "pie" "stackclashprotection" ] 286 ++ optionals (is11 && langAda) [ "fortify3" ]; 287 288 - postPatch = optionalString atLeast7 '' 289 configureScripts=$(find . -name configure) 290 for configureScript in $configureScripts; do 291 patchShebangs $configureScript ··· 293 '' 294 # This should kill all the stdinc frameworks that gcc and friends like to 295 # insert into default search paths. 296 - + optionalString (atLeast6 && hostPlatform.isDarwin) '' 297 substituteInPlace gcc/config/darwin-c.c${optionalString atLeast12 "c"} \ 298 --replace 'if (stdinc)' 'if (0)' 299 ··· 314 '' echo "fixing the {GLIBC,UCLIBC,MUSL}_DYNAMIC_LINKER macros..." 315 for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h 316 do 317 - grep -q ${optionalString (!atLeast6) "LIBC"}_DYNAMIC_LINKER "$header" || continue 318 echo " fixing $header..." 319 sed -i "$header" \ 320 -e 's|define[[:blank:]]*\([UCG]\+\)LIBC_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define \1LIBC_DYNAMIC_LINKER\2 "${libc.out}\3"|g' \ 321 -e 's|define[[:blank:]]*MUSL_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define MUSL_DYNAMIC_LINKER\1 "${libc.out}\2"|g' 322 done 323 - '' + optionalString (atLeast6 && targetPlatform.libc == "musl") '' 324 sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR' 325 '' 326 ) 327 )) 328 - + optionalString (atLeast7 && targetPlatform.isAvr) ('' 329 makeFlagsArray+=( 330 '-s' # workaround for hitting hydra log limit 331 'LIMITS_H_TEST=false' ··· 382 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the 383 # library headers and binaries, regarless of the language being compiled. 384 # 385 - # Note: When building the Java AWT GTK peer, the build system doesn't honor 386 - # `--with-gmp' et al., e.g., when building 387 - # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add 388 - # them to $CPATH and $LIBRARY_PATH in this case. 389 - # 390 - # Likewise, the LTO code doesn't find zlib. 391 # 392 # Cross-compiling, we need gcc not to read ./specs in order to build the g++ 393 # compiler (after the specs for the cross-gcc are created). Having ··· 395 396 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([] 397 ++ optional (zlib != null) zlib 398 - ++ optional langJava boehmgc 399 - ++ optionals javaAwtGtk xlibs 400 - ++ optionals javaAwtGtk [ gmp mpfr ] 401 )); 402 403 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ( 404 optional (zlib != null) zlib 405 - ++ optional langJava boehmgc 406 - ++ optionals javaAwtGtk xlibs 407 - ++ optionals javaAwtGtk [ gmp mpfr ] 408 )); 409 410 inherit (callFile ./common/extra-target-flags.nix { }) 411 EXTRA_FLAGS_FOR_TARGET ··· 417 + optionalString (stdenv.cc.isClang && targetPlatform != hostPlatform) " -Wno-register"; 418 } // optionalAttrs (!is7 && !atLeast12 && stdenv.cc.isClang && targetPlatform != hostPlatform) { 419 NIX_CFLAGS_COMPILE = "-Wno-register"; 420 - } // optionalAttrs (!atLeast7) { 421 - inherit langJava; 422 - } // optionalAttrs atLeast6 { 423 - NIX_LDFLAGS = optionalString hostPlatform.isSunOS "-lm"; 424 }); 425 426 passthru = { 427 - inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD langJava version; 428 isGNU = true; 429 hardeningUnsupportedFlags = 430 optional ( ··· 458 badPlatforms = 459 # avr-gcc8 is maintained for the `qmk` package 460 if (is8 && targetPlatform.isAvr) then [] 461 - else if !(is6) then [ "aarch64-darwin" ] 462 - else platforms.darwin; 463 } // optionalAttrs is10 { 464 badPlatforms = if targetPlatform != hostPlatform then [ "aarch64-darwin" ] else [ ]; 465 }; ··· 472 doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv 473 } // optionalAttrs enableMultilib { 474 dontMoveLib64 = true; 475 - } // optionalAttrs (is6 && langJava) { 476 - postFixup = '' 477 - target="$(echo "$out/libexec/gcc"/*/*/ecj*)" 478 - patchelf --set-rpath "$(patchelf --print-rpath "$target"):$out/lib" "$target" 479 - ''; 480 } 481 )) 482 ([
··· 27 , threadsCross ? null # for MinGW 28 , withoutTargetLibc ? false 29 , gnused ? null 30 , buildPackages 31 , pkgsBuildTarget 32 , libxcrypt ··· 36 , majorMinorVersion 37 , cctools 38 , darwin 39 }: 40 41 let ··· 68 atLeast10 = versionAtLeast version "10"; 69 atLeast9 = versionAtLeast version "9"; 70 atLeast8 = versionAtLeast version "8"; 71 is14 = majorVersion == "14"; 72 is13 = majorVersion == "13"; 73 is12 = majorVersion == "12"; ··· 76 is9 = majorVersion == "9"; 77 is8 = majorVersion == "8"; 78 is7 = majorVersion == "7"; 79 80 disableBootstrap = atLeast11 && !stdenv.hostPlatform.isDarwin && (atLeast12 -> !profiledCompiler); 81 ··· 89 stageNameAddon = optionalString withoutTargetLibc "-nolibc"; 90 crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}${stageNameAddon}-"; 91 92 + callFile = callPackageWith { 93 # lets 94 inherit 95 majorVersion ··· 108 binutils 109 buildPackages 110 cargo 111 withoutTargetLibc 112 darwin 113 disableBootstrap ··· 153 texinfo 154 threadsCross 155 which 156 zlib 157 ; 158 + }; 159 160 in 161 162 # Make sure we get GNU sed. 163 assert stdenv.buildPlatform.isDarwin -> gnused != null; 164 165 # The go frontend is written in c++ 166 assert langGo -> langCC; 167 + assert (!is7 && !is8) -> (langAda -> gnat-bootstrap != null); 168 169 # TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). 170 # error: GDC is required to build d ··· 177 # If turned on, we can't provide reproducible builds anymore 178 assert reproducibleBuild -> profiledCompiler == false; 179 180 pipe ((callFile ./common/builder.nix {}) ({ 181 pname = "${crossNameAddon}${name}"; 182 inherit version; 183 184 + src = fetchurl { 185 + url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz"; 186 ${if is10 || is11 || is13 then "hash" else "sha256"} = 187 gccVersions.srcHashForVersion version; 188 }; 189 190 inherit patches; 191 192 + outputs = [ "out" "man" "info" ] ++ optional (!langJit) "lib"; 193 194 setOutputFlags = false; 195 ··· 198 hardeningDisable = [ "format" "pie" "stackclashprotection" ] 199 ++ optionals (is11 && langAda) [ "fortify3" ]; 200 201 + postPatch = '' 202 configureScripts=$(find . -name configure) 203 for configureScript in $configureScripts; do 204 patchShebangs $configureScript ··· 206 '' 207 # This should kill all the stdinc frameworks that gcc and friends like to 208 # insert into default search paths. 209 + + optionalString hostPlatform.isDarwin '' 210 substituteInPlace gcc/config/darwin-c.c${optionalString atLeast12 "c"} \ 211 --replace 'if (stdinc)' 'if (0)' 212 ··· 227 '' echo "fixing the {GLIBC,UCLIBC,MUSL}_DYNAMIC_LINKER macros..." 228 for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h 229 do 230 + grep -q _DYNAMIC_LINKER "$header" || continue 231 echo " fixing $header..." 232 sed -i "$header" \ 233 -e 's|define[[:blank:]]*\([UCG]\+\)LIBC_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define \1LIBC_DYNAMIC_LINKER\2 "${libc.out}\3"|g' \ 234 -e 's|define[[:blank:]]*MUSL_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define MUSL_DYNAMIC_LINKER\1 "${libc.out}\2"|g' 235 done 236 + '' + optionalString (targetPlatform.libc == "musl") '' 237 sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR' 238 '' 239 ) 240 )) 241 + + optionalString targetPlatform.isAvr ('' 242 makeFlagsArray+=( 243 '-s' # workaround for hitting hydra log limit 244 'LIMITS_H_TEST=false' ··· 295 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the 296 # library headers and binaries, regarless of the language being compiled. 297 # 298 + # The LTO code doesn't find zlib, so we just add it to $CPATH and 299 + # $LIBRARY_PATH in this case. 300 # 301 # Cross-compiling, we need gcc not to read ./specs in order to build the g++ 302 # compiler (after the specs for the cross-gcc are created). Having ··· 304 305 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([] 306 ++ optional (zlib != null) zlib 307 )); 308 309 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ( 310 optional (zlib != null) zlib 311 )); 312 + 313 + NIX_LDFLAGS = optionalString hostPlatform.isSunOS "-lm"; 314 315 inherit (callFile ./common/extra-target-flags.nix { }) 316 EXTRA_FLAGS_FOR_TARGET ··· 322 + optionalString (stdenv.cc.isClang && targetPlatform != hostPlatform) " -Wno-register"; 323 } // optionalAttrs (!is7 && !atLeast12 && stdenv.cc.isClang && targetPlatform != hostPlatform) { 324 NIX_CFLAGS_COMPILE = "-Wno-register"; 325 }); 326 327 passthru = { 328 + inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version; 329 isGNU = true; 330 hardeningUnsupportedFlags = 331 optional ( ··· 359 badPlatforms = 360 # avr-gcc8 is maintained for the `qmk` package 361 if (is8 && targetPlatform.isAvr) then [] 362 + else [ "aarch64-darwin" ]; 363 } // optionalAttrs is10 { 364 badPlatforms = if targetPlatform != hostPlatform then [ "aarch64-darwin" ] else [ ]; 365 }; ··· 372 doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv 373 } // optionalAttrs enableMultilib { 374 dontMoveLib64 = true; 375 } 376 )) 377 ([
+6 -37
pkgs/development/compilers/gcc/patches/default.nix
··· 32 atLeast10 = lib.versionAtLeast version "10"; 33 atLeast9 = lib.versionAtLeast version "9"; 34 atLeast8 = lib.versionAtLeast version "8"; 35 - atLeast7 = lib.versionAtLeast version "7"; 36 - atLeast6 = lib.versionAtLeast version "6"; 37 is14 = majorVersion == "14"; 38 is13 = majorVersion == "13"; 39 is12 = majorVersion == "12"; ··· 42 is9 = majorVersion == "9"; 43 is8 = majorVersion == "8"; 44 is7 = majorVersion == "7"; 45 - is6 = majorVersion == "6"; 46 inherit (lib) optionals optional; 47 in 48 ··· 57 ## 1. Patches relevant to gcc>=12 on every platform #################################### 58 59 [] 60 - ++ optional (atLeast6 && !atLeast12) ./fix-bug-80431.patch 61 ++ optional (targetPlatform != hostPlatform) ./libstdc++-target.patch 62 ++ optionals (noSysDirs) ( 63 [(if atLeast12 then ./gcc-12-no-sys-dirs.patch else ./no-sys-dirs.patch)] ++ ··· 72 ) 73 ++ optional (atLeast12 && langAda) ./gnat-cflags-11.patch 74 ++ optional langFortran (if atLeast12 then ./gcc-12-gfortran-driving.patch else ./gfortran-driving.patch) 75 - ++ optional atLeast7 ./ppc-musl.patch 76 ++ optional (atLeast9 && langD) ./libphobos.patch 77 78 ··· 177 "9" = [ ../patches/9/AvailabilityInternal.h-fixincludes.patch ]; 178 "8" = [ ../patches/8/AvailabilityInternal.h-fixincludes.patch ]; 179 "7" = [ ../patches/7/AvailabilityInternal.h-fixincludes.patch ]; 180 - "6" = [ ../patches/6/AvailabilityInternal.h-fixincludes.patch ]; 181 }.${majorVersion} or []) 182 183 184 ## Windows 185 186 # Obtain latest patch with ../update-mcfgthread-patches.sh 187 - ++ optional (atLeast6 && !atLeast13 && !withoutTargetLibc && targetPlatform.isMinGW && threadsCross.model == "mcf") 188 (./. + "/${majorVersion}/Added-mcf-thread-model-support-from-mcfgthread.patch") 189 190 ··· 228 ## gcc 9.0 and older ############################################################################## 229 230 ++ optional (majorVersion == "9") ./9/fix-struct-redefinition-on-glibc-2.36.patch 231 - ++ optional (atLeast7 && !atLeast10 && targetPlatform.isNetBSD) ./libstdc++-netbsd-ctypes.patch 232 233 # Make Darwin bootstrap respect whether the assembler supports `--gstabs`, 234 # which is not supported by the clang integrated assembler used by default on Darwin. ··· 266 (./. + "/${majorVersion}/gcc8-asan-glibc-2.34.patch") 267 (./. + "/${majorVersion}/0001-Fix-build-for-glibc-2.31.patch") 268 ] 269 - ++ optional ((is6 || is7) && targetPlatform.libc == "musl" && targetPlatform.isx86_32) (fetchpatch { 270 url = "https://git.alpinelinux.org/aports/plain/main/gcc/gcc-6.1-musl-libssp.patch?id=5e4b96e23871ee28ef593b439f8c07ca7c7eb5bb"; 271 sha256 = "1jf1ciz4gr49lwyh8knfhw6l5gvfkwzjy90m7qiwkcbsf4a3fqn2"; 272 }) 273 - ++ optional ((is6 || is7 || is8) && !atLeast9 && targetPlatform.libc == "musl") ./libgomp-dont-force-initial-exec.patch 274 - 275 - 276 - 277 - ## gcc 6.0 and older ############################################################################## 278 - 279 - ++ optional (is6 && langGo) ./gogcc-workaround-glibc-2.36.patch 280 - ++ optional is6 ./9/fix-struct-redefinition-on-glibc-2.36.patch 281 - ++ optional (is6 && !stdenv.targetPlatform.isRedox) ./use-source-date-epoch.patch 282 - ++ optional (is6 && !stdenv.targetPlatform.isRedox) ./6/0001-Fix-build-for-glibc-2.31.patch 283 - ++ optionals (is6 && langAda) [ 284 - ./gnat-cflags.patch 285 - ./6/gnat-glibc234.patch 286 - ] 287 - 288 - # The clang-based assembler used in darwin.binutils (LLVM >11) does not support piping input. 289 - # Fortunately, it does not exhibit the problem GCC has with the cctools assembler. 290 - # This patch can be dropped should darwin.binutils ever implement support. 291 - ++ optional (!atLeast7 && hostPlatform.isDarwin && lib.versionAtLeast (lib.getVersion stdenv.cc) "12") ./4.9/darwin-clang-as.patch 292 - 293 - # Building libstdc++ with flat namespaces results in trying to link CoreFoundation, which 294 - # defaults to the impure, system location and causes the build to fail. 295 - ++ optional (is6 && hostPlatform.isDarwin) ./6/libstdc++-disable-flat_namespace.patch 296 - 297 - ## gcc 5.0 and older ############################################################################## 298 - 299 - ++ optional (!atLeast6) ./parallel-bconfig.patch 300 -
··· 32 atLeast10 = lib.versionAtLeast version "10"; 33 atLeast9 = lib.versionAtLeast version "9"; 34 atLeast8 = lib.versionAtLeast version "8"; 35 is14 = majorVersion == "14"; 36 is13 = majorVersion == "13"; 37 is12 = majorVersion == "12"; ··· 40 is9 = majorVersion == "9"; 41 is8 = majorVersion == "8"; 42 is7 = majorVersion == "7"; 43 inherit (lib) optionals optional; 44 in 45 ··· 54 ## 1. Patches relevant to gcc>=12 on every platform #################################### 55 56 [] 57 + ++ optional (!atLeast12) ./fix-bug-80431.patch 58 ++ optional (targetPlatform != hostPlatform) ./libstdc++-target.patch 59 ++ optionals (noSysDirs) ( 60 [(if atLeast12 then ./gcc-12-no-sys-dirs.patch else ./no-sys-dirs.patch)] ++ ··· 69 ) 70 ++ optional (atLeast12 && langAda) ./gnat-cflags-11.patch 71 ++ optional langFortran (if atLeast12 then ./gcc-12-gfortran-driving.patch else ./gfortran-driving.patch) 72 + ++ [ ./ppc-musl.patch ] 73 ++ optional (atLeast9 && langD) ./libphobos.patch 74 75 ··· 174 "9" = [ ../patches/9/AvailabilityInternal.h-fixincludes.patch ]; 175 "8" = [ ../patches/8/AvailabilityInternal.h-fixincludes.patch ]; 176 "7" = [ ../patches/7/AvailabilityInternal.h-fixincludes.patch ]; 177 }.${majorVersion} or []) 178 179 180 ## Windows 181 182 # Obtain latest patch with ../update-mcfgthread-patches.sh 183 + ++ optional (!atLeast13 && !withoutTargetLibc && targetPlatform.isMinGW && threadsCross.model == "mcf") 184 (./. + "/${majorVersion}/Added-mcf-thread-model-support-from-mcfgthread.patch") 185 186 ··· 224 ## gcc 9.0 and older ############################################################################## 225 226 ++ optional (majorVersion == "9") ./9/fix-struct-redefinition-on-glibc-2.36.patch 227 + ++ optional (!atLeast10 && targetPlatform.isNetBSD) ./libstdc++-netbsd-ctypes.patch 228 229 # Make Darwin bootstrap respect whether the assembler supports `--gstabs`, 230 # which is not supported by the clang integrated assembler used by default on Darwin. ··· 262 (./. + "/${majorVersion}/gcc8-asan-glibc-2.34.patch") 263 (./. + "/${majorVersion}/0001-Fix-build-for-glibc-2.31.patch") 264 ] 265 + ++ optional (is7 && targetPlatform.libc == "musl" && targetPlatform.isx86_32) (fetchpatch { 266 url = "https://git.alpinelinux.org/aports/plain/main/gcc/gcc-6.1-musl-libssp.patch?id=5e4b96e23871ee28ef593b439f8c07ca7c7eb5bb"; 267 sha256 = "1jf1ciz4gr49lwyh8knfhw6l5gvfkwzjy90m7qiwkcbsf4a3fqn2"; 268 }) 269 + ++ optional ((is7 || is8) && !atLeast9 && targetPlatform.libc == "musl") ./libgomp-dont-force-initial-exec.patch
-72
pkgs/development/libraries/cloog-ppl/default.nix
··· 1 - { fetchurl, lib, stdenv, ppl, autoreconfHook }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "cloog-ppl"; 5 - version = "0.15.11"; 6 - 7 - src = fetchurl { 8 - url = "mirror://gcc/infrastructure/${pname}-${version}.tar.gz"; 9 - sha256 = "0psdm0bn5gx60glfh955x5b3b23zqrd92idmjr0b00dlnb839mkw"; 10 - }; 11 - 12 - propagatedBuildInputs = [ ppl ]; 13 - 14 - nativeBuildInputs = [ autoreconfHook ]; 15 - 16 - patches = [ ./fix-ppl-version.patch ]; 17 - 18 - configureFlags = [ "--with-ppl=${ppl}" ]; 19 - 20 - preAutoreconf = '' 21 - touch NEWS ChangeLog AUTHORS 22 - ''; 23 - 24 - doCheck = true; 25 - 26 - meta = { 27 - description = "CLooG-PPL, the Chunky Loop Generator"; 28 - mainProgram = "cloog"; 29 - 30 - longDescription = '' 31 - CLooG is a free software library to generate code for scanning 32 - Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that 33 - reaches each integral point of one or more parameterized polyhedra. 34 - CLooG has been originally written to solve the code generation problem 35 - for optimizing compilers based on the polytope model. Nevertheless it 36 - is used now in various area e.g., to build control automata for 37 - high-level synthesis or to find the best polynomial approximation of a 38 - function. CLooG may help in any situation where scanning polyhedra 39 - matters. While the user has full control on generated code quality, 40 - CLooG is designed to avoid control overhead and to produce a very 41 - effective code. 42 - ''; 43 - 44 - # CLooG-PPL is actually a port of GLooG from PolyLib to PPL. 45 - homepage = "http://www.cloog.org/"; 46 - 47 - license = lib.licenses.gpl2Plus; 48 - 49 - maintainers = [ ]; 50 - 51 - /* Leads to an ICE on Cygwin: 52 - 53 - make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src' 54 - /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc 55 - libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o 56 - In file included from checked.defs.hh:595, 57 - from Checked_Number.defs.hh:27, 58 - from Coefficient.types.hh:15, 59 - from Coefficient.defs.hh:26, 60 - from Box.defs.hh:28, 61 - from Box.cc:24: 62 - checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)': 63 - checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719 64 - Please submit a full bug report, 65 - with preprocessed source if appropriate. 66 - See <URL:http://cygwin.com/problems.html> for instructions. 67 - make[3]: *** [Box.lo] Error 1 68 - 69 - */ 70 - platforms = lib.platforms.unix; # Once had cygwin problems 71 - }; 72 - }
···
-16
pkgs/development/libraries/cloog-ppl/fix-ppl-version.patch
··· 1 - diff -rupN src/configure.in cloog-ppl-0.15.11/configure.in 2 - --- src/configure.in 2014-04-13 13:33:43.349392305 +0200 3 - +++ cloog-ppl-0.15.11/configure.in 2014-04-13 13:34:12.695379888 +0200 4 - @@ -337,11 +337,7 @@ if test "x$with_ppl" != "x" -a "x$with_p 5 - [AC_MSG_ERROR(Can't find PPL headers.)]) 6 - 7 - AC_MSG_CHECKING([for version 0.10 (or later revision) of PPL]) 8 - - AC_TRY_COMPILE([#include "ppl_c.h"],[ 9 - - #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10 10 - - choke me 11 - - #endif 12 - - ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ]) 13 - + AC_MSG_RESULT([yes]) 14 - 15 - LIBS="$LIBS -lppl_c -lppl -lgmpxx" 16 - AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])
···
-65
pkgs/development/libraries/cloog/0.18.0.nix
··· 1 - { fetchurl, lib, stdenv, gmp, isl }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "cloog"; 5 - version = "0.18.0"; 6 - 7 - src = fetchurl { 8 - url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-${version}.tar.gz"; 9 - sha256 = "1c4aa8dde7886be9cbe0f9069c334843b21028f61d344a2d685f88cb1dcf2228"; 10 - }; 11 - 12 - buildInputs = [ gmp ]; 13 - 14 - propagatedBuildInputs = [ isl ]; 15 - 16 - configureFlags = [ "--with-isl=system" ]; 17 - 18 - enableParallelBuilding = true; 19 - 20 - doCheck = true; 21 - 22 - meta = { 23 - description = "Library that generates loops for scanning polyhedra"; 24 - mainProgram = "cloog"; 25 - 26 - longDescription = '' 27 - CLooG is a free software library to generate code for scanning 28 - Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that 29 - reaches each integral point of one or more parameterized polyhedra. 30 - CLooG has been originally written to solve the code generation problem 31 - for optimizing compilers based on the polytope model. Nevertheless it 32 - is used now in various area e.g., to build control automata for 33 - high-level synthesis or to find the best polynomial approximation of a 34 - function. CLooG may help in any situation where scanning polyhedra 35 - matters. While the user has full control on generated code quality, 36 - CLooG is designed to avoid control overhead and to produce a very 37 - effective code. 38 - ''; 39 - 40 - homepage = "http://www.cloog.org/"; 41 - 42 - license = lib.licenses.gpl2Plus; 43 - 44 - /* Leads to an ICE on Cygwin: 45 - 46 - make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src' 47 - /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc 48 - libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o 49 - In file included from checked.defs.hh:595, 50 - from Checked_Number.defs.hh:27, 51 - from Coefficient.types.hh:15, 52 - from Coefficient.defs.hh:26, 53 - from Box.defs.hh:28, 54 - from Box.cc:24: 55 - checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)': 56 - checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719 57 - Please submit a full bug report, 58 - with preprocessed source if appropriate. 59 - See <URL:http://cygwin.com/problems.html> for instructions. 60 - make[3]: *** [Box.lo] Error 1 61 - 62 - */ 63 - platforms = lib.platforms.unix; # Once had cygwin problems 64 - }; 65 - }
···
-67
pkgs/development/libraries/cloog/default.nix
··· 1 - { fetchurl, lib, stdenv, gmp, isl }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "cloog"; 5 - version = "0.18.4"; 6 - 7 - src = fetchurl { 8 - url = "http://www.bastoul.net/cloog/pages/download/count.php3?url=./${pname}-${version}.tar.gz"; 9 - sha256 = "03km1aqaiy3sbqc2f046ms9x0mlmacxlvs5rxsvjj8nf20vxynij"; 10 - }; 11 - 12 - buildInputs = [ gmp ]; 13 - 14 - propagatedBuildInputs = [ isl ]; 15 - 16 - configureFlags = [ "--with-isl=system" ]; 17 - 18 - enableParallelBuilding = true; 19 - # Breaks the test cases as it reuses 'cloog_temp' file name for different tests. 20 - enableParallelChecking = false; 21 - 22 - doCheck = true; 23 - 24 - meta = { 25 - description = "Library that generates loops for scanning polyhedra"; 26 - mainProgram = "cloog"; 27 - 28 - longDescription = '' 29 - CLooG is a free software library to generate code for scanning 30 - Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that 31 - reaches each integral point of one or more parameterized polyhedra. 32 - CLooG has been originally written to solve the code generation problem 33 - for optimizing compilers based on the polytope model. Nevertheless it 34 - is used now in various area e.g., to build control automata for 35 - high-level synthesis or to find the best polynomial approximation of a 36 - function. CLooG may help in any situation where scanning polyhedra 37 - matters. While the user has full control on generated code quality, 38 - CLooG is designed to avoid control overhead and to produce a very 39 - effective code. 40 - ''; 41 - 42 - homepage = "http://www.cloog.org/"; 43 - 44 - license = lib.licenses.gpl2Plus; 45 - 46 - /* Leads to an ICE on Cygwin: 47 - 48 - make[3]: Entering directory `/tmp/nix-build-9q5gw5m37q5l4f0kjfv9ar8fsc9plk27-ppl-0.10.2.drv-1/ppl-0.10.2/src' 49 - /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c -o Box.lo Box.cc 50 - libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2 -frounding-math -W -Wall -c Box.cc -DDLL_EXPORT -DPIC -o .libs/Box.o 51 - In file included from checked.defs.hh:595, 52 - from Checked_Number.defs.hh:27, 53 - from Coefficient.types.hh:15, 54 - from Coefficient.defs.hh:26, 55 - from Box.defs.hh:28, 56 - from Box.cc:24: 57 - checked.inlines.hh: In function `Parma_Polyhedra_Library::Result Parma_Polyhedra_Library::Checked::input_generic(Type&, std::istream&, Parma_Polyhedra_Library::Rounding_Dir)': 58 - checked.inlines.hh:607: internal compiler error: in invert_truthvalue, at fold-const.c:2719 59 - Please submit a full bug report, 60 - with preprocessed source if appropriate. 61 - See <URL:http://cygwin.com/problems.html> for instructions. 62 - make[3]: *** [Box.lo] Error 1 63 - 64 - */ 65 - platforms = lib.platforms.unix; # Once had cygwin problems 66 - }; 67 - }
···
-8
pkgs/development/libraries/isl/0.11.1.nix
··· 1 - import ./generic.nix { 2 - version = "0.11.1"; 3 - urls = [ 4 - "https://src.fedoraproject.org/repo/pkgs/gcc/isl-0.11.1.tar.bz2/bce1586384d8635a76d2f017fb067cd2/isl-0.11.1.tar.bz2" 5 - ]; 6 - sha256 = "13d9cqa5rzhbjq0xf0b2dyxag7pqa72xj9dhsa03m8ccr1a4npq9"; 7 - patches = [ ./fix-gcc-build.diff ]; 8 - }
···
-8
pkgs/development/libraries/isl/0.14.1.nix
··· 1 - import ./generic.nix rec { 2 - version = "0.14.1"; 3 - urls = [ 4 - "mirror://sourceforge/libisl/isl-${version}.tar.xz" 5 - "https://libisl.sourceforge.io/isl-${version}.tar.xz" 6 - ]; 7 - sha256 = "0xa6xagah5rywkywn19rzvbvhfvkmylhcxr6z9z7bz29cpiwk0l8"; 8 - }
···
-12
pkgs/development/libraries/isl/fix-gcc-build.diff
··· 1 - diff -ru isl-0.11.1/include/isl/int.h isl-0.11.1.new/include/isl/int.h 2 - --- isl-0.11.1/include/isl/int.h 2012-11-29 09:47:32.000000000 +0100 3 - +++ isl-0.11.1.new/include/isl/int.h 2013-10-27 15:35:31.348553812 +0100 4 - @@ -14,7 +14,7 @@ 5 - #include <string.h> 6 - #include <gmp.h> 7 - #if defined(__cplusplus) 8 - -#include <iostream> 9 - +#include <ostream> 10 - #endif 11 - 12 - #if defined(__cplusplus)
···
+6 -5
pkgs/development/libraries/nanosvg/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake }: 2 3 stdenv.mkDerivation { 4 pname = "nanosvg"; 5 - version = "unstable-2022-12-04"; 6 7 src = fetchFromGitHub { 8 owner = "memononen"; 9 repo = "nanosvg"; 10 - rev = "9da543e8329fdd81b64eb48742d8ccb09377aed1"; 11 - hash = "sha256-VOiN6583DtzGYPRkl19VG2QvSzl4T9HaynBuNcvZf94="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Simple stupid SVG parser"; ··· 20 platforms = platforms.all; 21 }; 22 } 23 -
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, unstableGitUpdater }: 2 3 stdenv.mkDerivation { 4 pname = "nanosvg"; 5 + version = "0-unstable-2023-12-30"; 6 7 src = fetchFromGitHub { 8 owner = "memononen"; 9 repo = "nanosvg"; 10 + rev = "93ce879dc4c04a3ef1758428ec80083c38610b1f"; 11 + hash = "sha256-ZtenaXJqMZr2+BxYENG1zUoQ+Qoxlxy0m/1YfJBKAFk="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 + 16 + passthru.updateScript = unstableGitUpdater { }; 17 18 meta = with lib; { 19 description = "Simple stupid SVG parser"; ··· 22 platforms = platforms.all; 23 }; 24 }
+2 -2
pkgs/development/libraries/tbox/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "tbox"; 8 - version = "1.7.5"; 9 10 src = fetchFromGitHub { 11 owner = "tboox"; 12 repo = pname; 13 rev = "v${version}"; 14 - hash = "sha256-VM6LOTVwM47caXYiH+6c7t174i0W5MY1dg2Y5yutlcc="; 15 }; 16 17 configureFlags = [
··· 5 6 stdenv.mkDerivation rec { 7 pname = "tbox"; 8 + version = "1.7.6"; 9 10 src = fetchFromGitHub { 11 owner = "tboox"; 12 repo = pname; 13 rev = "v${version}"; 14 + hash = "sha256-cwpZ7F8WzT/46HrckHe0Aug2mxirCkNA68aCxg/FcsE="; 15 }; 16 17 configureFlags = [
+2 -2
pkgs/development/python-modules/aiormq/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "aiormq"; 15 - version = "6.8.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; ··· 21 owner = "mosquito"; 22 repo = "aiormq"; 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-XD1g4JXQJlJyXuZbo4hYW7cwQhy8+p4/inwNw2WOD9Y="; 25 }; 26 27 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "aiormq"; 15 + version = "6.8.1"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; ··· 21 owner = "mosquito"; 22 repo = "aiormq"; 23 rev = "refs/tags/${version}"; 24 + hash = "sha256-3+PoDB5Owy8BWBUisX0i1mV8rqs5K9pBFQwup8vKxlg="; 25 }; 26 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/ansible/core.nix
··· 30 31 buildPythonPackage rec { 32 pname = "ansible-core"; 33 - version = "2.17.3"; 34 35 src = fetchPypi { 36 pname = "ansible_core"; 37 inherit version; 38 - hash = "sha256-kXVXBlM5/jbnB46b6kfu+rbWh3871DX6Xw12bQTFhIU="; 39 }; 40 41 # ansible_connection is already wrapped, so don't pass it through
··· 30 31 buildPythonPackage rec { 32 pname = "ansible-core"; 33 + version = "2.17.4"; 34 35 src = fetchPypi { 36 pname = "ansible_core"; 37 inherit version; 38 + hash = "sha256-RKHzAHZ5ZTa6JFXK0Y025ihw8E5jLjyi6+lw176s8k0="; 39 }; 40 41 # ansible_connection is already wrapped, so don't pass it through
+2 -2
pkgs/development/python-modules/chroma-hnswlib/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "chroma-hnswlib"; 15 - version = "0.7.5"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; ··· 21 owner = "chroma-core"; 22 repo = "hnswlib"; 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-KU/t37MZMFeNWPme+rgCHchZH7B8timIV2EH40laXkA="; 25 }; 26 27 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "chroma-hnswlib"; 15 + version = "0.7.6"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; ··· 21 owner = "chroma-core"; 22 repo = "hnswlib"; 23 rev = "refs/tags/${version}"; 24 + hash = "sha256-pjz5SGg2drO6fkml9ojFG7/Gq3/Y7vPaOHc+3LKnjUw="; 25 }; 26 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/dep-logic/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "dep-logic"; 13 - version = "0.4.4"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; ··· 19 owner = "pdm-project"; 20 repo = "dep-logic"; 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-7w5yN+3/u7mcGwBZAgTc/HHpZGyVZzSTWktmmcVSqpA="; 23 }; 24 25 nativeBuildInputs = [ pdm-backend ];
··· 10 11 buildPythonPackage rec { 12 pname = "dep-logic"; 13 + version = "0.4.6"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; ··· 19 owner = "pdm-project"; 20 repo = "dep-logic"; 21 rev = "refs/tags/${version}"; 22 + hash = "sha256-z5PXecu63/9sO73ruYX6+ZIq2DSVYljd3bKapJIemDA="; 23 }; 24 25 nativeBuildInputs = [ pdm-backend ];
+2 -2
pkgs/development/python-modules/django-admin-sortable2/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "django-admin-sortable2"; 12 - version = "2.2.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; ··· 18 owner = "jrief"; 19 repo = "django-admin-sortable2"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-BgydzSrbEMC6fE3W9TqjedBYtxMhK/bsYexNTXnJfUo="; 22 }; 23 24 build-system = [ setuptools ];
··· 9 10 buildPythonPackage rec { 11 pname = "django-admin-sortable2"; 12 + version = "2.2.3"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; ··· 18 owner = "jrief"; 19 repo = "django-admin-sortable2"; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-ZXaLe6H6il27DXMwclKR4iRGyus6zyYt3rNWRsLPHSU="; 22 }; 23 24 build-system = [ setuptools ];
+6 -6
pkgs/development/python-modules/django-ckeditor/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "django-ckeditor"; 17 - version = "6.7"; 18 - format = "pyproject"; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "django-ckeditor"; 24 - repo = pname; 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-mZQ5s3YbumYmT0zRWPFIvzt2TbtDLvVcJjZVAwn31E8="; 27 }; 28 29 - nativeBuildInputs = [ setuptools-scm ]; 30 31 - propagatedBuildInputs = [ 32 django 33 django-js-asset 34 pillow
··· 14 15 buildPythonPackage rec { 16 pname = "django-ckeditor"; 17 + version = "6.7.1"; 18 + pyproject = true; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "django-ckeditor"; 24 + repo = "django-ckeditor"; 25 rev = "refs/tags/${version}"; 26 + hash = "sha256-tPwWXQAKoHPpZDZ+fnEoOA29at6gUXBw6CcPdireTr8="; 27 }; 28 29 + build-system = [ setuptools-scm ]; 30 31 + dependencies = [ 32 django 33 django-js-asset 34 pillow
+2 -2
pkgs/development/python-modules/duckdb-engine/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "duckdb-engine"; 20 - version = "0.13.1"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.8"; ··· 26 repo = "duckdb_engine"; 27 owner = "Mause"; 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-6aVVs3ii8pJOSaLx0maoFmiMvbUh/LOdizmPSpqPiM4="; 30 }; 31 32 nativeBuildInputs = [ poetry-core ];
··· 17 18 buildPythonPackage rec { 19 pname = "duckdb-engine"; 20 + version = "0.13.2"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.8"; ··· 26 repo = "duckdb_engine"; 27 owner = "Mause"; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-zao8kzzQbnjwJqjHyqDkgmXa3E9nlBH2W0wh7Kjk/qw="; 30 }; 31 32 nativeBuildInputs = [ poetry-core ];
+11 -5
pkgs/development/python-modules/langchain-aws/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 boto3, 6 langchain-core, 7 numpy, 8 - poetry-core, 9 - pytestCheckHook, 10 - pytest-asyncio, 11 langchain-standard-tests, 12 }: 13 14 buildPythonPackage rec { 15 pname = "langchain-aws"; 16 - version = "0.1.17"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "langchain-ai"; 21 repo = "langchain-aws"; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-n9nQheuUZMrjZMpR3aqbrRb/AhcgiF4CFO9ROh9aFNc="; 24 }; 25 26 postPatch = ''
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + 6 + # build-system 7 + poetry-core, 8 + 9 + # dependencies 10 boto3, 11 langchain-core, 12 numpy, 13 + 14 + # tests 15 langchain-standard-tests, 16 + pytest-asyncio, 17 + pytestCheckHook, 18 }: 19 20 buildPythonPackage rec { 21 pname = "langchain-aws"; 22 + version = "0.2.0"; 23 pyproject = true; 24 25 src = fetchFromGitHub { 26 owner = "langchain-ai"; 27 repo = "langchain-aws"; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-P9CfAVpKh7djhUQc3DyyJTWqs9RbrTeLyynLei0x00o="; 30 }; 31 32 postPatch = ''
+12 -8
pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix
··· 1 { 2 lib, 3 - azure-identity, 4 buildPythonPackage, 5 fetchFromGitHub, 6 - freezegun, 7 langchain-core, 8 langchain-openai, 9 lark, 10 pandas, 11 - poetry-core, 12 pytest-asyncio, 13 pytest-mock, 14 pytest-socket, 15 pytestCheckHook, 16 - pythonOlder, 17 requests-mock, 18 responses, 19 syrupy, 20 toml, 21 nix-update-script, 22 }: 23 24 buildPythonPackage rec { 25 pname = "langchain-azure-dynamic-sessions"; 26 - version = "0.1.0"; 27 pyproject = true; 28 - 29 - disabled = pythonOlder "3.8"; 30 31 src = fetchFromGitHub { 32 owner = "langchain-ai"; 33 repo = "langchain"; 34 rev = "refs/tags/langchain-azure-dynamic-sessions==${version}"; 35 - hash = "sha256-jz4IBMnWuk8FsSsyfLN14B0xWZrmZrvEW95a45S+FOo="; 36 }; 37 38 sourceRoot = "${src.name}/libs/partners/azure-dynamic-sessions";
··· 1 { 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + 6 + # build-system 7 + poetry-core, 8 + 9 + # dependencies 10 + azure-identity, 11 langchain-core, 12 langchain-openai, 13 + 14 + # tests 15 + freezegun, 16 lark, 17 pandas, 18 pytest-asyncio, 19 pytest-mock, 20 pytest-socket, 21 pytestCheckHook, 22 requests-mock, 23 responses, 24 syrupy, 25 toml, 26 + 27 nix-update-script, 28 }: 29 30 buildPythonPackage rec { 31 pname = "langchain-azure-dynamic-sessions"; 32 + version = "0.2.0"; 33 pyproject = true; 34 35 src = fetchFromGitHub { 36 owner = "langchain-ai"; 37 repo = "langchain"; 38 rev = "refs/tags/langchain-azure-dynamic-sessions==${version}"; 39 + hash = "sha256-tgvoOSr4tpi+tFBan+kw8FZUfUJHcQXv9e1nyeGP0so="; 40 }; 41 42 sourceRoot = "${src.name}/libs/partners/azure-dynamic-sessions";
+4 -2
pkgs/development/python-modules/langchain-chroma/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "langchain-chroma"; 15 - version = "0.1.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "langchain-ai"; 20 repo = "langchain"; 21 rev = "refs/tags/langchain-chroma==${version}"; 22 - hash = "sha256-PQ3bepiAqzWhQdKofQSzQKxRrwI6dxBfSNV91462aJE="; 23 }; 24 25 sourceRoot = "${src.name}/libs/partners/chroma"; 26 27 build-system = [ poetry-core ]; 28 29 dependencies = [ 30 langchain-core
··· 12 13 buildPythonPackage rec { 14 pname = "langchain-chroma"; 15 + version = "0.1.4"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "langchain-ai"; 20 repo = "langchain"; 21 rev = "refs/tags/langchain-chroma==${version}"; 22 + hash = "sha256-pU7H8OYXa+JjdkSO36xESPI6r3xA+9cFXxeJnfpYuHc="; 23 }; 24 25 sourceRoot = "${src.name}/libs/partners/chroma"; 26 27 build-system = [ poetry-core ]; 28 + 29 + pythonRelaxDeps = [ "chromadb" ]; 30 31 dependencies = [ 32 langchain-core
+6 -2
pkgs/development/python-modules/langchain-community/default.nix
··· 12 langchain-core, 13 langchain, 14 langsmith, 15 pyyaml, 16 requests, 17 sqlalchemy, ··· 37 38 buildPythonPackage rec { 39 pname = "langchain-community"; 40 - version = "0.2.16"; 41 pyproject = true; 42 43 src = fetchFromGitHub { 44 owner = "langchain-ai"; 45 repo = "langchain"; 46 rev = "refs/tags/langchain-community==${version}"; 47 - hash = "sha256-0FKbx/ZPX7sioof5pMdqpnVWc46+eOiTIseyxwYK49E="; 48 }; 49 50 sourceRoot = "${src.name}/libs/community"; 51 52 build-system = [ poetry-core ]; 53 54 dependencies = [ 55 aiohttp 56 dataclasses-json 57 langchain-core 58 langchain 59 langsmith 60 pyyaml 61 requests 62 sqlalchemy
··· 12 langchain-core, 13 langchain, 14 langsmith, 15 + pydantic-settings, 16 pyyaml, 17 requests, 18 sqlalchemy, ··· 38 39 buildPythonPackage rec { 40 pname = "langchain-community"; 41 + version = "0.3.0"; 42 pyproject = true; 43 44 src = fetchFromGitHub { 45 owner = "langchain-ai"; 46 repo = "langchain"; 47 rev = "refs/tags/langchain-community==${version}"; 48 + hash = "sha256-8kF7KlXcWbquRtp8EumkFYhGd0onxifVZsts0SU1dzE="; 49 }; 50 51 sourceRoot = "${src.name}/libs/community"; 52 53 build-system = [ poetry-core ]; 54 55 + pythonRelaxDeps = [ "pydantic-settings" ]; 56 + 57 dependencies = [ 58 aiohttp 59 dataclasses-json 60 langchain-core 61 langchain 62 langsmith 63 + pydantic-settings 64 pyyaml 65 requests 66 sqlalchemy
+8 -2
pkgs/development/python-modules/langchain-core/default.nix
··· 34 35 buildPythonPackage rec { 36 pname = "langchain-core"; 37 - version = "0.2.38"; 38 pyproject = true; 39 40 src = fetchFromGitHub { 41 owner = "langchain-ai"; 42 repo = "langchain"; 43 rev = "refs/tags/langchain-core==${version}"; 44 - hash = "sha256-3nRirzQe5KCVoeJ29fYelYuOD6r4adJof4NXreyfrzY="; 45 }; 46 47 sourceRoot = "${src.name}/libs/core"; ··· 102 # Compares with machine-specific timings 103 "test_rate_limit_invoke" 104 "test_rate_limit_stream" 105 ] 106 ++ lib.optionals stdenv.isDarwin [ 107 # Langchain-core the following tests due to the test comparing execution time with magic values.
··· 34 35 buildPythonPackage rec { 36 pname = "langchain-core"; 37 + version = "0.3.0"; 38 pyproject = true; 39 40 src = fetchFromGitHub { 41 owner = "langchain-ai"; 42 repo = "langchain"; 43 rev = "refs/tags/langchain-core==${version}"; 44 + hash = "sha256-BCqrJuy7R2jT3QmTvYwn8gHX7bc6Tq8HArK+F3PjBhw="; 45 }; 46 47 sourceRoot = "${src.name}/libs/core"; ··· 102 # Compares with machine-specific timings 103 "test_rate_limit_invoke" 104 "test_rate_limit_stream" 105 + # flaky: assert (1726352133.7419367 - 1726352132.2697523) < 1 106 + "test_benchmark_model" 107 + 108 + # TypeError: exceptions must be derived from Warning, not <class 'NoneType'> 109 + "test_chat_prompt_template_variable_names" 110 + "test_create_model_v2" 111 ] 112 ++ lib.optionals stdenv.isDarwin [ 113 # Langchain-core the following tests due to the test comparing execution time with magic values.
+13 -7
pkgs/development/python-modules/langchain-huggingface/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 - freezegun, 6 huggingface-hub, 7 langchain-core, 8 sentence-transformers, 9 tokenizers, 10 transformers, 11 lark, 12 pandas, 13 - poetry-core, 14 pytest-asyncio, 15 pytest-mock, 16 pytest-socket, 17 pytestCheckHook, 18 - pythonOlder, 19 requests-mock, 20 responses, 21 syrupy, 22 toml, 23 nix-update-script, 24 }: 25 26 buildPythonPackage rec { 27 pname = "langchain-huggingface"; 28 - version = "0.0.3"; 29 pyproject = true; 30 31 - disabled = pythonOlder "3.8"; 32 - 33 src = fetchFromGitHub { 34 owner = "langchain-ai"; 35 repo = "langchain"; 36 rev = "refs/tags/langchain-huggingface==${version}"; 37 - hash = "sha256-4k3C6T2N7SBM/wP8KAwMQqt9DkXDdYNt2i/OkZilWw0="; 38 }; 39 40 sourceRoot = "${src.name}/libs/partners/huggingface"; ··· 51 52 nativeCheckInputs = [ 53 freezegun 54 lark 55 pandas 56 pytest-asyncio
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + 6 + # build-system 7 + poetry-core, 8 + 9 + # dependencies 10 huggingface-hub, 11 langchain-core, 12 sentence-transformers, 13 tokenizers, 14 transformers, 15 + 16 + # tests 17 + freezegun, 18 + httpx, 19 lark, 20 pandas, 21 pytest-asyncio, 22 pytest-mock, 23 pytest-socket, 24 pytestCheckHook, 25 requests-mock, 26 responses, 27 syrupy, 28 toml, 29 + 30 nix-update-script, 31 }: 32 33 buildPythonPackage rec { 34 pname = "langchain-huggingface"; 35 + version = "0.1.0"; 36 pyproject = true; 37 38 src = fetchFromGitHub { 39 owner = "langchain-ai"; 40 repo = "langchain"; 41 rev = "refs/tags/langchain-huggingface==${version}"; 42 + hash = "sha256-ESWhhjWjCbBV/3KjeSwEQzvK6os1mmc3at+8gonfGt4="; 43 }; 44 45 sourceRoot = "${src.name}/libs/partners/huggingface"; ··· 56 57 nativeCheckInputs = [ 58 freezegun 59 + httpx 60 lark 61 pandas 62 pytest-asyncio
+17 -16
pkgs/development/python-modules/langchain-mongodb/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 freezegun, 6 langchain, 7 - langchain-core, 8 - pymongo, 9 lark, 10 pandas, 11 - poetry-core, 12 pytest-asyncio, 13 pytest-mock, 14 pytest-socket, 15 - pytestCheckHook, 16 - pythonOlder, 17 requests-mock, 18 responses, 19 syrupy, 20 toml, 21 nix-update-script, 22 }: 23 24 buildPythonPackage rec { 25 pname = "langchain-mongodb"; 26 - version = "0.1.8"; 27 pyproject = true; 28 - 29 - disabled = pythonOlder "3.8"; 30 31 src = fetchFromGitHub { 32 owner = "langchain-ai"; 33 repo = "langchain"; 34 rev = "refs/tags/langchain-mongodb==${version}"; 35 - hash = "sha256-fjSvn9O/CrKBexcwuILXFR7AGx/tZtGDWjA0L6XV4Hk="; 36 }; 37 38 sourceRoot = "${src.name}/libs/partners/mongodb"; ··· 41 42 dependencies = [ 43 langchain-core 44 pymongo 45 ]; 46 47 nativeCheckInputs = [ 48 freezegun 49 langchain 50 - lark 51 - pandas 52 pytest-asyncio 53 - pytest-mock 54 - pytest-socket 55 pytestCheckHook 56 - requests-mock 57 - responses 58 syrupy 59 - toml 60 ]; 61 62 pytestFlagsArray = [ "tests/unit_tests" ];
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + 6 + # build-system 7 + poetry-core, 8 + 9 + # dependencies 10 + langchain-core, 11 + numpy, 12 + pymongo, 13 + 14 freezegun, 15 + httpx, 16 langchain, 17 lark, 18 pandas, 19 pytest-asyncio, 20 + pytestCheckHook, 21 pytest-mock, 22 pytest-socket, 23 requests-mock, 24 responses, 25 syrupy, 26 toml, 27 + 28 nix-update-script, 29 }: 30 31 buildPythonPackage rec { 32 pname = "langchain-mongodb"; 33 + version = "0.2.0"; 34 pyproject = true; 35 36 src = fetchFromGitHub { 37 owner = "langchain-ai"; 38 repo = "langchain"; 39 rev = "refs/tags/langchain-mongodb==${version}"; 40 + hash = "sha256-Jd9toXkS9dGtSIrJQ/5W+swV1z2BJOJKBtkyGzj3oSc="; 41 }; 42 43 sourceRoot = "${src.name}/libs/partners/mongodb"; ··· 46 47 dependencies = [ 48 langchain-core 49 + numpy 50 pymongo 51 ]; 52 53 nativeCheckInputs = [ 54 freezegun 55 + httpx 56 langchain 57 pytest-asyncio 58 pytestCheckHook 59 + pytest-mock 60 syrupy 61 ]; 62 63 pytestFlagsArray = [ "tests/unit_tests" ];
+14 -10
pkgs/development/python-modules/langchain-openai/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 - freezegun, 6 langchain-core, 7 - langchain-standard-tests, 8 openai, 9 tiktoken, 10 lark, 11 pandas, 12 - poetry-core, 13 pytest-asyncio, 14 pytest-mock, 15 pytest-socket, 16 - pytestCheckHook, 17 - pythonOlder, 18 requests-mock, 19 responses, 20 syrupy, 21 toml, 22 nix-update-script, 23 }: 24 25 buildPythonPackage rec { 26 pname = "langchain-openai"; 27 - version = "0.1.23"; 28 pyproject = true; 29 30 - disabled = pythonOlder "3.8"; 31 - 32 src = fetchFromGitHub { 33 owner = "langchain-ai"; 34 repo = "langchain"; 35 rev = "refs/tags/langchain-openai==${version}"; 36 - hash = "sha256-j+oaC0xmvDBsAREXwKF+kmFlplN43ROH6n9j1+H1ufk="; 37 }; 38 39 sourceRoot = "${src.name}/libs/partners/openai"; ··· 57 lark 58 pandas 59 pytest-asyncio 60 pytest-mock 61 pytest-socket 62 - pytestCheckHook 63 requests-mock 64 responses 65 syrupy
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + 6 + # build-system 7 + poetry-core, 8 + 9 + # dependencies 10 langchain-core, 11 openai, 12 tiktoken, 13 + 14 + # tests 15 + freezegun, 16 + langchain-standard-tests, 17 lark, 18 pandas, 19 pytest-asyncio, 20 + pytestCheckHook, 21 pytest-mock, 22 pytest-socket, 23 requests-mock, 24 responses, 25 syrupy, 26 toml, 27 + 28 nix-update-script, 29 }: 30 31 buildPythonPackage rec { 32 pname = "langchain-openai"; 33 + version = "0.2.0"; 34 pyproject = true; 35 36 src = fetchFromGitHub { 37 owner = "langchain-ai"; 38 repo = "langchain"; 39 rev = "refs/tags/langchain-openai==${version}"; 40 + hash = "sha256-3wTSvvPOMZciEqPxpcjrcqEpK//qwsEmvZnlZBfjltQ="; 41 }; 42 43 sourceRoot = "${src.name}/libs/partners/openai"; ··· 61 lark 62 pandas 63 pytest-asyncio 64 + pytestCheckHook 65 pytest-mock 66 pytest-socket 67 requests-mock 68 responses 69 syrupy
+11 -1
pkgs/development/python-modules/langchain-standard-tests/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 poetry-core, 5 httpx, 6 langchain-core, 7 pytest, 8 numpy, 9 pytest-asyncio, 10 pytestCheckHook, ··· 23 build-system = [ poetry-core ]; 24 25 dependencies = [ 26 langchain-core 27 - httpx 28 ]; 29 30 buildInputs = [ pytest ];
··· 1 { 2 lib, 3 buildPythonPackage, 4 + 5 + # build-system 6 poetry-core, 7 + 8 + # dependencies 9 httpx, 10 langchain-core, 11 + syrupy, 12 + 13 + # buildInputs 14 pytest, 15 + 16 + # tests 17 numpy, 18 pytest-asyncio, 19 pytestCheckHook, ··· 32 build-system = [ poetry-core ]; 33 34 dependencies = [ 35 + httpx 36 langchain-core 37 + syrupy 38 ]; 39 40 buildInputs = [ pytest ];
+7 -3
pkgs/development/python-modules/langchain-text-splitters/default.nix
··· 10 langchain-core, 11 12 # tests 13 pytest-asyncio, 14 pytestCheckHook, 15 }: 16 17 buildPythonPackage rec { 18 pname = "langchain-text-splitters"; 19 - version = "0.2.4"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "langchain-ai"; 24 repo = "langchain"; 25 rev = "refs/tags/langchain-text-splitters==${version}"; 26 - hash = "sha256-8n5eImRXOG/3tN/59Gd2/GpoGpt7P2ABj0T4pJi6xrk="; 27 }; 28 29 sourceRoot = "${src.name}/libs/text-splitters"; 30 31 build-system = [ poetry-core ]; 32 33 - dependencies = [ langchain-core ]; 34 35 pythonImportsCheck = [ "langchain_text_splitters" ]; 36 37 nativeCheckInputs = [ 38 pytest-asyncio 39 pytestCheckHook 40 ];
··· 10 langchain-core, 11 12 # tests 13 + httpx, 14 pytest-asyncio, 15 pytestCheckHook, 16 }: 17 18 buildPythonPackage rec { 19 pname = "langchain-text-splitters"; 20 + version = "0.3.0"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "langchain-ai"; 25 repo = "langchain"; 26 rev = "refs/tags/langchain-text-splitters==${version}"; 27 + hash = "sha256-Z0UAUhOjC0wgCY/f1aWsnjFyOPYz/6JnloEKT6b6Ii0="; 28 }; 29 30 sourceRoot = "${src.name}/libs/text-splitters"; 31 32 build-system = [ poetry-core ]; 33 34 + dependencies = [ 35 + langchain-core 36 + ]; 37 38 pythonImportsCheck = [ "langchain_text_splitters" ]; 39 40 nativeCheckInputs = [ 41 + httpx 42 pytest-asyncio 43 pytestCheckHook 44 ];
+4 -2
pkgs/development/python-modules/langchain/default.nix
··· 27 28 # tests 29 freezegun, 30 lark, 31 pandas, 32 pytest-asyncio, ··· 41 42 buildPythonPackage rec { 43 pname = "langchain"; 44 - version = "0.2.16"; 45 pyproject = true; 46 47 src = fetchFromGitHub { 48 owner = "langchain-ai"; 49 repo = "langchain"; 50 rev = "refs/tags/langchain==${version}"; 51 - hash = "sha256-8n5eImRXOG/3tN/59Gd2/GpoGpt7P2ABj0T4pJi6xrk="; 52 }; 53 54 sourceRoot = "${src.name}/libs/langchain"; ··· 75 76 nativeCheckInputs = [ 77 freezegun 78 lark 79 pandas 80 pytest-asyncio
··· 27 28 # tests 29 freezegun, 30 + httpx, 31 lark, 32 pandas, 33 pytest-asyncio, ··· 42 43 buildPythonPackage rec { 44 pname = "langchain"; 45 + version = "0.3.0"; 46 pyproject = true; 47 48 src = fetchFromGitHub { 49 owner = "langchain-ai"; 50 repo = "langchain"; 51 rev = "refs/tags/langchain==${version}"; 52 + hash = "sha256-2dHsZWn1MN/gLnUdYp84gbtWkvB0j0iieij4W9tzPzY="; 53 }; 54 55 sourceRoot = "${src.name}/libs/langchain"; ··· 76 77 nativeCheckInputs = [ 78 freezegun 79 + httpx 80 lark 81 pandas 82 pytest-asyncio
+2 -2
pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "langgraph-checkpoint-sqlite"; 16 - version = "1.0.2"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "langchain-ai"; 23 repo = "langgraph"; 24 rev = "refs/tags/checkpointsqlite==${version}"; 25 - hash = "sha256-TUiZOf34jhs+nkeTsprtTdoVqDt7kZd8NxYLKX4l0kQ="; 26 }; 27 28 sourceRoot = "${src.name}/libs/checkpoint-sqlite";
··· 13 14 buildPythonPackage rec { 15 pname = "langgraph-checkpoint-sqlite"; 16 + version = "1.0.3"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "langchain-ai"; 23 repo = "langgraph"; 24 rev = "refs/tags/checkpointsqlite==${version}"; 25 + hash = "sha256-/pHJtK691anqn2It4ZstCGXJS0JGtdKZvqS9f3ly+FQ="; 26 }; 27 28 sourceRoot = "${src.name}/libs/checkpoint-sqlite";
+5
pkgs/development/python-modules/langgraph-checkpoint/default.nix
··· 39 pytestCheckHook 40 ]; 41 42 passthru = { 43 updateScript = langgraph-sdk.updateScript; 44 };
··· 39 pytestCheckHook 40 ]; 41 42 + disabledTests = [ 43 + # AssertionError 44 + "test_serde_jsonplus" 45 + ]; 46 + 47 passthru = { 48 updateScript = langgraph-sdk.updateScript; 49 };
+7 -2
pkgs/development/python-modules/langgraph/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 ··· 35 36 buildPythonPackage rec { 37 pname = "langgraph"; 38 - version = "0.2.19"; 39 pyproject = true; 40 41 src = fetchFromGitHub { 42 owner = "langchain-ai"; 43 repo = "langgraph"; 44 rev = "refs/tags/${version}"; 45 - hash = "sha256-qJIZAHftIKyWK0A/MjilalmmB8b8E7JtLnFn156hE08="; 46 }; 47 48 postgresqlTestSetupPost = '' ··· 60 ]; 61 62 pythonImportsCheck = [ "langgraph" ]; 63 64 nativeCheckInputs = [ 65 aiosqlite
··· 1 { 2 lib, 3 + stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 ··· 36 37 buildPythonPackage rec { 38 pname = "langgraph"; 39 + version = "0.2.21"; 40 pyproject = true; 41 42 src = fetchFromGitHub { 43 owner = "langchain-ai"; 44 repo = "langgraph"; 45 rev = "refs/tags/${version}"; 46 + hash = "sha256-1Ch2V85omAKnXK9rMihNtyjIoOvmVUm8Dbdo5GBoik4="; 47 }; 48 49 postgresqlTestSetupPost = '' ··· 61 ]; 62 63 pythonImportsCheck = [ "langgraph" ]; 64 + 65 + # postgresql doesn't play nicely with the darwin sandbox: 66 + # FATAL: could not create shared memory segment: Operation not permitted 67 + doCheck = !stdenv.isDarwin; 68 69 nativeCheckInputs = [ 70 aiosqlite
+18 -15
pkgs/development/python-modules/langsmith/default.nix
··· 1 { 2 lib, 3 stdenv, 4 - anthropic, 5 - attr, 6 buildPythonPackage, 7 dataclasses-json, 8 fastapi, 9 - fetchFromGitHub, 10 freezegun, 11 httpx, 12 instructor, 13 - orjson, 14 - poetry-core, 15 - pydantic, 16 pytest-asyncio, 17 pytestCheckHook, 18 - pythonOlder, 19 - requests, 20 uvicorn, 21 }: 22 23 buildPythonPackage rec { 24 pname = "langsmith"; 25 - version = "0.1.99"; 26 pyproject = true; 27 - 28 - disabled = pythonOlder "3.8"; 29 30 src = fetchFromGitHub { 31 owner = "langchain-ai"; 32 repo = "langsmith-sdk"; 33 rev = "refs/tags/v${version}"; 34 - hash = "sha256-aN5HiQAXX7ZlVBzkit4DAw+7KQHI3ck1DLvBPDSKVhM="; 35 }; 36 37 sourceRoot = "${src.name}/python"; ··· 89 90 __darwinAllowLocalNetworking = true; 91 92 - meta = with lib; { 93 description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform"; 94 homepage = "https://github.com/langchain-ai/langsmith-sdk"; 95 changelog = "https://github.com/langchain-ai/langsmith-sdk/releases/tag/v${version}"; 96 - license = licenses.mit; 97 - maintainers = with maintainers; [ natsukium ]; 98 mainProgram = "langsmith"; 99 }; 100 }
··· 1 { 2 lib, 3 stdenv, 4 buildPythonPackage, 5 + fetchFromGitHub, 6 + 7 + # build-system 8 + poetry-core, 9 + 10 + # dependencies 11 + orjson, 12 + pydantic, 13 + requests, 14 + 15 + # tests 16 + anthropic, 17 dataclasses-json, 18 fastapi, 19 freezegun, 20 httpx, 21 instructor, 22 pytest-asyncio, 23 pytestCheckHook, 24 uvicorn, 25 + attr, 26 }: 27 28 buildPythonPackage rec { 29 pname = "langsmith"; 30 + version = "0.1.120"; 31 pyproject = true; 32 33 src = fetchFromGitHub { 34 owner = "langchain-ai"; 35 repo = "langsmith-sdk"; 36 rev = "refs/tags/v${version}"; 37 + hash = "sha256-K8QIlyQnaTKCBoRCsTQ26KovIIw8uK6HBynEplrB6wI="; 38 }; 39 40 sourceRoot = "${src.name}/python"; ··· 92 93 __darwinAllowLocalNetworking = true; 94 95 + meta = { 96 description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform"; 97 homepage = "https://github.com/langchain-ai/langsmith-sdk"; 98 changelog = "https://github.com/langchain-ai/langsmith-sdk/releases/tag/v${version}"; 99 + license = lib.licenses.mit; 100 + maintainers = with lib.maintainers; [ natsukium ]; 101 mainProgram = "langsmith"; 102 }; 103 }
+22 -13
pkgs/development/python-modules/obspy/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 - fetchPypi, 5 decorator, 6 - future, 7 lxml, 8 matplotlib, 9 numpy, ··· 14 15 buildPythonPackage rec { 16 pname = "obspy"; 17 - version = "1.2.2"; 18 - format = "setuptools"; 19 20 - src = fetchPypi { 21 - inherit pname version; 22 - extension = "zip"; 23 - sha256 = "a0f2b0915beeb597762563fa0358aa1b4d6b09ffda49909c760b5cdf5bdc419e"; 24 }; 25 26 - propagatedBuildInputs = [ 27 decorator 28 - future 29 lxml 30 matplotlib 31 numpy ··· 39 40 pythonImportsCheck = [ "obspy" ]; 41 42 - meta = with lib; { 43 description = "Python framework for seismological observatories"; 44 homepage = "https://www.obspy.org"; 45 - license = licenses.lgpl3; 46 - maintainers = [ maintainers.ametrine ]; 47 }; 48 }
··· 1 { 2 lib, 3 buildPythonPackage, 4 + fetchFromGitHub, 5 + 6 + # build-system 7 + setuptools, 8 + 9 + # dependencies 10 decorator, 11 lxml, 12 matplotlib, 13 numpy, ··· 18 19 buildPythonPackage rec { 20 pname = "obspy"; 21 + version = "1.4.1"; 22 + pyproject = true; 23 24 + src = fetchFromGitHub { 25 + owner = "obspy"; 26 + repo = "obspy"; 27 + rev = "refs/tags/${version}"; 28 + hash = "sha256-Y833OWWBDYduyky0+MRbPoBtATTytak87hgh68QAgfw="; 29 }; 30 31 + build-system = [ setuptools ]; 32 + 33 + pythonRelaxDeps = [ "sqlalchemy" ]; 34 + 35 + dependencies = [ 36 decorator 37 lxml 38 matplotlib 39 numpy ··· 47 48 pythonImportsCheck = [ "obspy" ]; 49 50 + meta = { 51 description = "Python framework for seismological observatories"; 52 homepage = "https://www.obspy.org"; 53 + changelog = "https://github.com/obspy/obspy/releases/tag/${version}"; 54 + license = lib.licenses.lgpl3Only; 55 + maintainers = [ lib.maintainers.ametrine ]; 56 }; 57 }
+13 -9
pkgs/development/python-modules/particle/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "particle"; 18 - version = "0.25.0"; 19 - format = "pyproject"; 20 21 disabled = pythonOlder "3.9"; 22 23 src = fetchPypi { 24 inherit pname version; 25 - hash = "sha256-ji1fo2VV5q8hi2bpe5WFsdT1IIV4XZbAZ3NvCy5X9a0="; 26 }; 27 28 postPatch = '' ··· 32 --replace '"--benchmark-disable",' "" 33 ''; 34 35 - nativeBuildInputs = [ 36 hatch-vcs 37 hatchling 38 ]; 39 40 - propagatedBuildInputs = [ 41 attrs 42 deprecated 43 hepunits ··· 51 52 pythonImportsCheck = [ "particle" ]; 53 54 - disabledTestPaths = [ "tests/particle/test_performance.py" ]; 55 56 - meta = with lib; { 57 description = "Package to deal with particles, the PDG particle data table and others"; 58 homepage = "https://github.com/scikit-hep/particle"; 59 changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}"; 60 - license = licenses.bsd3; 61 - maintainers = with maintainers; [ doronbehar ]; 62 }; 63 }
··· 15 16 buildPythonPackage rec { 17 pname = "particle"; 18 + version = "0.25.1"; 19 + pyproject = true; 20 21 disabled = pythonOlder "3.9"; 22 23 src = fetchPypi { 24 inherit pname version; 25 + hash = "sha256-lwZ0jpWnBt/9SUJts5MpgZf+GvgZchxdLG5RV2Sh+wE="; 26 }; 27 28 postPatch = '' ··· 32 --replace '"--benchmark-disable",' "" 33 ''; 34 35 + build-system = [ 36 hatch-vcs 37 hatchling 38 ]; 39 40 + dependencies = [ 41 attrs 42 deprecated 43 hepunits ··· 51 52 pythonImportsCheck = [ "particle" ]; 53 54 + disabledTestPaths = [ 55 + # Requires pytest-benchmark and pytest-cov which we want to avoid using, as 56 + # it doesn't really test functionality. 57 + "tests/particle/test_performance.py" 58 + ]; 59 60 + meta = { 61 description = "Package to deal with particles, the PDG particle data table and others"; 62 homepage = "https://github.com/scikit-hep/particle"; 63 changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}"; 64 + license = lib.licenses.bsd3; 65 + maintainers = with lib.maintainers; [ doronbehar ]; 66 }; 67 }
+7 -4
pkgs/development/python-modules/pymupdf/default.nix
··· 187 188 pythonImportsCheck = [ "fitz" ]; 189 190 - meta = with lib; { 191 description = "Python bindings for MuPDF's rendering library"; 192 homepage = "https://github.com/pymupdf/PyMuPDF"; 193 changelog = "https://github.com/pymupdf/PyMuPDF/releases/tag/${version}"; 194 - license = licenses.agpl3Only; 195 - maintainers = with maintainers; [ teto ]; 196 - platforms = platforms.unix; 197 }; 198 }
··· 187 188 pythonImportsCheck = [ "fitz" ]; 189 190 + meta = { 191 description = "Python bindings for MuPDF's rendering library"; 192 homepage = "https://github.com/pymupdf/PyMuPDF"; 193 changelog = "https://github.com/pymupdf/PyMuPDF/releases/tag/${version}"; 194 + license = lib.licenses.agpl3Only; 195 + maintainers = with lib.maintainers; [ teto ]; 196 + platforms = lib.platforms.unix; 197 + # ImportError: cannot import name '_mupdf' from partially initialized module 'mupdf' 198 + # (most likely due to a circular import) 199 + broken = true; 200 }; 201 }
+2 -2
pkgs/development/python-modules/sqlmap/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "sqlmap"; 13 - version = "1.8.8"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-TtJF6IHQdpx9OZ6wACmON1HQXhvvi67QZU/gI+zsy2Q="; 21 }; 22 23 postPatch = ''
··· 10 11 buildPythonPackage rec { 12 pname = "sqlmap"; 13 + version = "1.8.9"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-0ARkSUzmrqyRSPl3EXU7NzcnaWf+Zbt4zQZ626gvfEs="; 21 }; 22 23 postPatch = ''
+2 -2
pkgs/development/python-modules/wikitextparser/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "wikitextparser"; 14 - version = "0.55.13"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "5j9"; 19 repo = "wikitextparser"; 20 rev = "v${version}"; 21 - hash = "sha256-qLctOX0BsKAn2JzfmV2sTLJ/KcNfaJFAjOB3pxd5LQI="; 22 }; 23 24 nativeBuildInputs = [ setuptools ];
··· 11 12 buildPythonPackage rec { 13 pname = "wikitextparser"; 14 + version = "0.56.2"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "5j9"; 19 repo = "wikitextparser"; 20 rev = "v${version}"; 21 + hash = "sha256-g0Hvxw8evmCebM2joGT7XMnakVjDG74VJmZhlvUiQMU="; 22 }; 23 24 nativeBuildInputs = [ setuptools ];
+3 -3
pkgs/development/tools/bacon/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "bacon"; 10 - version = "2.20.0"; 11 12 src = fetchFromGitHub { 13 owner = "Canop"; 14 repo = pname; 15 rev = "refs/tags/v${version}"; 16 - hash = "sha256-pfILpDJbHLAwv/hUoMBjQSEyFAmU5VmVYY8lyf6j6NQ="; 17 }; 18 19 - cargoHash = "sha256-5LwWTmka13Pht7lgBH50AnEC0Y71v1OCuaqloMlr/20="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 CoreServices
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "bacon"; 10 + version = "2.21.0"; 11 12 src = fetchFromGitHub { 13 owner = "Canop"; 14 repo = pname; 15 rev = "refs/tags/v${version}"; 16 + hash = "sha256-WIjTFP5koNQeHiTcVxQ18eZEdHzmpBFinvfNtirG+pg="; 17 }; 18 19 + cargoHash = "sha256-YaVnfwf0jyZTe6B35z9Zm9247kGU/G6nu23sHg9lnAk="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 CoreServices
+3 -3
pkgs/development/tools/lurk/default.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "lurk"; 9 - version = "0.3.6"; 10 11 src = fetchFromGitHub { 12 owner = "jakwai01"; 13 repo = pname; 14 rev = "v${version}"; 15 - hash = "sha256-u37q5AJe6zsPNe5L+k3uVP7r92X4v3qhApPKYndZif4="; 16 }; 17 18 - cargoHash = "sha256-1hKyrlCDsOe+F88lg4+I5JMxG44CN2MOLi4GlaDBctk="; 19 20 postPatch = '' 21 substituteInPlace src/lib.rs \
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "lurk"; 9 + version = "0.3.7"; 10 11 src = fetchFromGitHub { 12 owner = "jakwai01"; 13 repo = pname; 14 rev = "v${version}"; 15 + hash = "sha256-99WdRyE2avoH5Ea277Dx/HNcOdWxOamR41W7dQQadpo="; 16 }; 17 18 + cargoHash = "sha256-BUIMtJCzK//bZuvn9iptBd7lVMGyWFNJ/0oTfwPu0DE="; 19 20 postPatch = '' 21 substituteInPlace src/lib.rs \
+2 -2
pkgs/development/tools/misc/strace/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "strace"; 5 - version = "6.10"; 6 7 src = fetchurl { 8 url = "https://strace.io/files/${version}/${pname}-${version}.tar.xz"; 9 - hash = "sha256-dl7HGqHeL+NzY8HkDHt2afwdQMRLtdOLqOjNgsTtzwc="; 10 }; 11 12 depsBuildBuild = [ buildPackages.stdenv.cc ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "strace"; 5 + version = "6.11"; 6 7 src = fetchurl { 8 url = "https://strace.io/files/${version}/${pname}-${version}.tar.xz"; 9 + hash = "sha256-gyYlg6NSnwLDUBqouKx3K0y8A9yTTpi6tuSINibig6U="; 10 }; 11 12 depsBuildBuild = [ buildPackages.stdenv.cc ];
+3 -3
pkgs/development/tools/sqldef/default.nix
··· 2 3 buildGoModule rec { 4 pname = "sqldef"; 5 - version = "0.17.18"; 6 7 src = fetchFromGitHub { 8 owner = "k0kubun"; 9 repo = "sqldef"; 10 rev = "v${version}"; 11 - hash = "sha256-mFQ8E56qlS6UDaXZFsWQBy71Q8DOIMo1Qcmyg1vde5M="; 12 }; 13 14 proxyVendor = true; 15 16 - vendorHash = "sha256-Bvo+1o4eTJi9zjF/NQ6zBfoAFFlq4egi2nRE8BtaOfM="; 17 18 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 19
··· 2 3 buildGoModule rec { 4 pname = "sqldef"; 5 + version = "0.17.19"; 6 7 src = fetchFromGitHub { 8 owner = "k0kubun"; 9 repo = "sqldef"; 10 rev = "v${version}"; 11 + hash = "sha256-euIP6ev1qc+75MA9vlTZHY7LT03AM8hya+sPWohvCWI="; 12 }; 13 14 proxyVendor = true; 15 16 + vendorHash = "sha256-+5vfQoTRCbwY/Ydq21VG/xt6CeOWHIup8bxWI/2v24A="; 17 18 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 19
+2 -2
pkgs/development/tools/supabase-cli/default.nix
··· 9 10 buildGoModule rec { 11 pname = "supabase-cli"; 12 - version = "1.191.3"; 13 14 src = fetchFromGitHub { 15 owner = "supabase"; 16 repo = "cli"; 17 rev = "v${version}"; 18 - hash = "sha256-8T58CrXbLxrw8TNRNB48w3zGOgBW+L/zWpsaGyWnLy8="; 19 }; 20 21 vendorHash = "sha256-RiSZaNbMwOmKGzgFpeLmAjsiNg1ADMNAtMH7wHj/vlw=";
··· 9 10 buildGoModule rec { 11 pname = "supabase-cli"; 12 + version = "1.192.5"; 13 14 src = fetchFromGitHub { 15 owner = "supabase"; 16 repo = "cli"; 17 rev = "v${version}"; 18 + hash = "sha256-heGW7SS4OOZrKCdVHoGlYS4NAu29jncwE1cMwHDYB4c="; 19 }; 20 21 vendorHash = "sha256-RiSZaNbMwOmKGzgFpeLmAjsiNg1ADMNAtMH7wHj/vlw=";
+3 -3
pkgs/development/tools/typos/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "typos"; 5 - version = "1.24.4"; 6 7 src = fetchFromGitHub { 8 owner = "crate-ci"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-nXWa8+kOIXCYgBB6lunb3kAqOPrCREdjWDd0ZIAHknQ="; 12 }; 13 14 - cargoHash = "sha256-j0eTXgjukYNxJrga1MJLPJDnM6UJjoNXZdu8E5Efe0k="; 15 16 meta = with lib; { 17 description = "Source code spell checker";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "typos"; 5 + version = "1.24.5"; 6 7 src = fetchFromGitHub { 8 owner = "crate-ci"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-WuiLtAC+2ZkQUb7v2Jm3GfjyJkuTo+JAz0CiRVBWqGE="; 12 }; 13 14 + cargoHash = "sha256-twr87xoynfJ8e7xh0B0z7HDKasKoTYZ+CxIlu4xWS4I="; 15 16 meta = with lib; { 17 description = "Source code spell checker";
+3 -3
pkgs/development/web/function-runner/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "function-runner"; 5 - version = "6.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "Shopify"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-ccj34BtP+KdfOr0jIGsSVtwbYRouv93kDORgOLPFXKk="; 12 }; 13 14 - cargoHash = "sha256-Hs2xWGBlMLZlVMPByDVWNAytxMC7Nd3BUQLz1DJlTl4="; 15 16 meta = with lib; { 17 description = "CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "function-runner"; 5 + version = "6.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "Shopify"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-5X/d6phYXmJcCacHvGkk5o/J91SdlFamxJrqc5X/Y4Y="; 12 }; 13 14 + cargoHash = "sha256-D6BTP/a3wOpcOLnGUASyBL3pzAieAllLzEZuaEv2Oco="; 15 16 meta = with lib; { 17 description = "CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure";
+1
pkgs/os-specific/linux/systemd/default.nix
··· 266 (musl-patches + "/0018-pass-correct-parameters-to-getdents64.patch") 267 (musl-patches + "/0019-Adjust-for-musl-headers.patch") 268 (musl-patches + "/0020-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch") 269 (musl-patches + "/0022-sd-event-Make-malloc_trim-conditional-on-glibc.patch") 270 (musl-patches + "/0023-shared-Do-not-use-malloc_info-on-musl.patch") 271 (musl-patches + "/0024-avoid-missing-LOCK_EX-declaration.patch")
··· 266 (musl-patches + "/0018-pass-correct-parameters-to-getdents64.patch") 267 (musl-patches + "/0019-Adjust-for-musl-headers.patch") 268 (musl-patches + "/0020-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch") 269 + (musl-patches + "/0021-errno-util-Make-STRERROR-portable-for-musl.patch") 270 (musl-patches + "/0022-sd-event-Make-malloc_trim-conditional-on-glibc.patch") 271 (musl-patches + "/0023-shared-Do-not-use-malloc_info-on-musl.patch") 272 (musl-patches + "/0024-avoid-missing-LOCK_EX-declaration.patch")
+2 -7
pkgs/os-specific/linux/tcp-wrappers/default.nix
··· 2 3 let 4 vanillaVersion = "7.6.q"; 5 - patchLevel = "26"; 6 in stdenv.mkDerivation rec { 7 pname = "tcp-wrappers"; 8 version = "${vanillaVersion}-${patchLevel}"; ··· 14 15 debian = fetchurl { 16 url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${version}.debian.tar.xz"; 17 - sha256 = "1dcdhi9lwzv7g19ggwxms2msq9fy14rl09rjqb10hwv0jix7z8j8"; 18 }; 19 20 prePatch = '' ··· 27 28 # Fix __BEGIN_DECLS usage (even if it wasn't non-standard, this doesn't include sys/cdefs.h) 29 patches = [ ./cdecls.patch ]; 30 - 31 - postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' 32 - substituteInPlace Makefile \ 33 - --replace '-DNETGROUP' '-DUSE_GETDOMAIN' 34 - ''; 35 36 buildInputs = [ libnsl ]; 37
··· 2 3 let 4 vanillaVersion = "7.6.q"; 5 + patchLevel = "33"; 6 in stdenv.mkDerivation rec { 7 pname = "tcp-wrappers"; 8 version = "${vanillaVersion}-${patchLevel}"; ··· 14 15 debian = fetchurl { 16 url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${version}.debian.tar.xz"; 17 + hash = "sha256-Lykjyu4hKDS/DqQ8JAFhKDffHrbJ9W1gjBKNpdaNRew="; 18 }; 19 20 prePatch = '' ··· 27 28 # Fix __BEGIN_DECLS usage (even if it wasn't non-standard, this doesn't include sys/cdefs.h) 29 patches = [ ./cdecls.patch ]; 30 31 buildInputs = [ libnsl ]; 32
+3 -3
pkgs/servers/tailscale/default.nix
··· 15 }: 16 17 let 18 - version = "1.72.1"; 19 in 20 buildGoModule { 21 pname = "tailscale"; ··· 25 owner = "tailscale"; 26 repo = "tailscale"; 27 rev = "v${version}"; 28 - hash = "sha256-b1o3UHotVs5/+cpMx9q8bvt6BSM2QamLDUNyBNfb58A="; 29 }; 30 31 patches = [ ··· 37 }) 38 ]; 39 40 - vendorHash = "sha256-M5e5dE1gGW3ly94r3SxCsBmVwbBmhVtaVDW691vxG/8="; 41 42 nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper ] ++ [ installShellFiles ]; 43
··· 15 }: 16 17 let 18 + version = "1.74.0"; 19 in 20 buildGoModule { 21 pname = "tailscale"; ··· 25 owner = "tailscale"; 26 repo = "tailscale"; 27 rev = "v${version}"; 28 + hash = "sha256-KTg1rxyCgvZAwkGxhFXLff5UggKlqa6VLMItK81JV2k="; 29 }; 30 31 patches = [ ··· 37 }) 38 ]; 39 40 + vendorHash = "sha256-HJEgBs2GOzXvRa95LdwySQmG4/+QwupFDBGrQT6Y2vE="; 41 42 nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper ] ++ [ installShellFiles ]; 43
+10 -8
pkgs/tools/misc/github-backup/default.nix
··· 1 { lib 2 - , python3 3 - , fetchPypi 4 , git 5 , git-lfs 6 }: 7 8 - python3.pkgs.buildPythonApplication rec { 9 pname = "github-backup"; 10 - version = "0.45.2"; 11 pyproject = true; 12 13 - src = fetchPypi { 14 - inherit pname version; 15 - hash = "sha256-wn2JRMLfqhhTREeYM+mcs68xlkRWKMlxKXToa83pu2g="; 16 }; 17 18 - nativeBuildInputs = with python3.pkgs; [ 19 setuptools 20 ]; 21
··· 1 { lib 2 + , python3Packages 3 + , fetchFromGitHub 4 , git 5 , git-lfs 6 }: 7 8 + python3Packages.buildPythonApplication rec { 9 pname = "github-backup"; 10 + version = "0.46.0"; 11 pyproject = true; 12 13 + src = fetchFromGitHub { 14 + owner = "josegonzalez"; 15 + repo = "python-github-backup"; 16 + rev = "refs/tags/${version}"; 17 + hash = "sha256-kSxkD8vWBvaT7C0sS9rs3CEP2yeWsAJ0kjPlrGezoLU="; 18 }; 19 20 + build-system = with python3Packages; [ 21 setuptools 22 ]; 23
+200
pkgs/tools/networking/curl/CVE-2024-8096.patch
···
··· 1 + From aeb1a281cab13c7ba791cb104e556b20e713941f Mon Sep 17 00:00:00 2001 2 + From: Daniel Stenberg <daniel@haxx.se> 3 + Date: Tue, 20 Aug 2024 16:14:39 +0200 4 + Subject: [PATCH] gtls: fix OCSP stapling management 5 + 6 + Reported-by: Hiroki Kurosawa 7 + Closes #14642 8 + --- 9 + lib/vtls/gtls.c | 146 ++++++++++++++++++++++++------------------------ 10 + 1 file changed, 73 insertions(+), 73 deletions(-) 11 + 12 + diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c 13 + index 03d6fcc038aac3..c7589d9d39bc81 100644 14 + --- a/lib/vtls/gtls.c 15 + +++ b/lib/vtls/gtls.c 16 + @@ -850,6 +850,13 @@ static CURLcode gtls_client_init(struct Curl_cfilter *cf, 17 + init_flags |= GNUTLS_NO_TICKETS; 18 + #endif 19 + 20 + +#if defined(GNUTLS_NO_STATUS_REQUEST) 21 + + if(!config->verifystatus) 22 + + /* Disable the "status_request" TLS extension, enabled by default since 23 + + GnuTLS 3.8.0. */ 24 + + init_flags |= GNUTLS_NO_STATUS_REQUEST; 25 + +#endif 26 + + 27 + rc = gnutls_init(&gtls->session, init_flags); 28 + if(rc != GNUTLS_E_SUCCESS) { 29 + failf(data, "gnutls_init() failed: %d", rc); 30 + @@ -1321,104 +1328,97 @@ Curl_gtls_verifyserver(struct Curl_easy *data, 31 + infof(data, " server certificate verification SKIPPED"); 32 + 33 + if(config->verifystatus) { 34 + - if(gnutls_ocsp_status_request_is_checked(session, 0) == 0) { 35 + - gnutls_datum_t status_request; 36 + - gnutls_ocsp_resp_t ocsp_resp; 37 + + gnutls_datum_t status_request; 38 + + gnutls_ocsp_resp_t ocsp_resp; 39 + + gnutls_ocsp_cert_status_t status; 40 + + gnutls_x509_crl_reason_t reason; 41 + 42 + - gnutls_ocsp_cert_status_t status; 43 + - gnutls_x509_crl_reason_t reason; 44 + + rc = gnutls_ocsp_status_request_get(session, &status_request); 45 + 46 + - rc = gnutls_ocsp_status_request_get(session, &status_request); 47 + + if(rc == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) { 48 + + failf(data, "No OCSP response received"); 49 + + return CURLE_SSL_INVALIDCERTSTATUS; 50 + + } 51 + 52 + - infof(data, " server certificate status verification FAILED"); 53 + + if(rc < 0) { 54 + + failf(data, "Invalid OCSP response received"); 55 + + return CURLE_SSL_INVALIDCERTSTATUS; 56 + + } 57 + 58 + - if(rc == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) { 59 + - failf(data, "No OCSP response received"); 60 + - return CURLE_SSL_INVALIDCERTSTATUS; 61 + - } 62 + + gnutls_ocsp_resp_init(&ocsp_resp); 63 + 64 + - if(rc < 0) { 65 + - failf(data, "Invalid OCSP response received"); 66 + - return CURLE_SSL_INVALIDCERTSTATUS; 67 + - } 68 + + rc = gnutls_ocsp_resp_import(ocsp_resp, &status_request); 69 + + if(rc < 0) { 70 + + failf(data, "Invalid OCSP response received"); 71 + + return CURLE_SSL_INVALIDCERTSTATUS; 72 + + } 73 + 74 + - gnutls_ocsp_resp_init(&ocsp_resp); 75 + + (void)gnutls_ocsp_resp_get_single(ocsp_resp, 0, NULL, NULL, NULL, NULL, 76 + + &status, NULL, NULL, NULL, &reason); 77 + 78 + - rc = gnutls_ocsp_resp_import(ocsp_resp, &status_request); 79 + - if(rc < 0) { 80 + - failf(data, "Invalid OCSP response received"); 81 + - return CURLE_SSL_INVALIDCERTSTATUS; 82 + - } 83 + + switch(status) { 84 + + case GNUTLS_OCSP_CERT_GOOD: 85 + + break; 86 + 87 + - (void)gnutls_ocsp_resp_get_single(ocsp_resp, 0, NULL, NULL, NULL, NULL, 88 + - &status, NULL, NULL, NULL, &reason); 89 + + case GNUTLS_OCSP_CERT_REVOKED: { 90 + + const char *crl_reason; 91 + 92 + - switch(status) { 93 + - case GNUTLS_OCSP_CERT_GOOD: 94 + + switch(reason) { 95 + + default: 96 + + case GNUTLS_X509_CRLREASON_UNSPECIFIED: 97 + + crl_reason = "unspecified reason"; 98 + break; 99 + 100 + - case GNUTLS_OCSP_CERT_REVOKED: { 101 + - const char *crl_reason; 102 + - 103 + - switch(reason) { 104 + - default: 105 + - case GNUTLS_X509_CRLREASON_UNSPECIFIED: 106 + - crl_reason = "unspecified reason"; 107 + - break; 108 + - 109 + - case GNUTLS_X509_CRLREASON_KEYCOMPROMISE: 110 + - crl_reason = "private key compromised"; 111 + - break; 112 + - 113 + - case GNUTLS_X509_CRLREASON_CACOMPROMISE: 114 + - crl_reason = "CA compromised"; 115 + - break; 116 + - 117 + - case GNUTLS_X509_CRLREASON_AFFILIATIONCHANGED: 118 + - crl_reason = "affiliation has changed"; 119 + - break; 120 + + case GNUTLS_X509_CRLREASON_KEYCOMPROMISE: 121 + + crl_reason = "private key compromised"; 122 + + break; 123 + 124 + - case GNUTLS_X509_CRLREASON_SUPERSEDED: 125 + - crl_reason = "certificate superseded"; 126 + - break; 127 + + case GNUTLS_X509_CRLREASON_CACOMPROMISE: 128 + + crl_reason = "CA compromised"; 129 + + break; 130 + 131 + - case GNUTLS_X509_CRLREASON_CESSATIONOFOPERATION: 132 + - crl_reason = "operation has ceased"; 133 + - break; 134 + + case GNUTLS_X509_CRLREASON_AFFILIATIONCHANGED: 135 + + crl_reason = "affiliation has changed"; 136 + + break; 137 + 138 + - case GNUTLS_X509_CRLREASON_CERTIFICATEHOLD: 139 + - crl_reason = "certificate is on hold"; 140 + - break; 141 + + case GNUTLS_X509_CRLREASON_SUPERSEDED: 142 + + crl_reason = "certificate superseded"; 143 + + break; 144 + 145 + - case GNUTLS_X509_CRLREASON_REMOVEFROMCRL: 146 + - crl_reason = "will be removed from delta CRL"; 147 + - break; 148 + + case GNUTLS_X509_CRLREASON_CESSATIONOFOPERATION: 149 + + crl_reason = "operation has ceased"; 150 + + break; 151 + 152 + - case GNUTLS_X509_CRLREASON_PRIVILEGEWITHDRAWN: 153 + - crl_reason = "privilege withdrawn"; 154 + - break; 155 + + case GNUTLS_X509_CRLREASON_CERTIFICATEHOLD: 156 + + crl_reason = "certificate is on hold"; 157 + + break; 158 + 159 + - case GNUTLS_X509_CRLREASON_AACOMPROMISE: 160 + - crl_reason = "AA compromised"; 161 + - break; 162 + - } 163 + + case GNUTLS_X509_CRLREASON_REMOVEFROMCRL: 164 + + crl_reason = "will be removed from delta CRL"; 165 + + break; 166 + 167 + - failf(data, "Server certificate was revoked: %s", crl_reason); 168 + + case GNUTLS_X509_CRLREASON_PRIVILEGEWITHDRAWN: 169 + + crl_reason = "privilege withdrawn"; 170 + break; 171 + - } 172 + 173 + - default: 174 + - case GNUTLS_OCSP_CERT_UNKNOWN: 175 + - failf(data, "Server certificate status is unknown"); 176 + + case GNUTLS_X509_CRLREASON_AACOMPROMISE: 177 + + crl_reason = "AA compromised"; 178 + break; 179 + } 180 + 181 + - gnutls_ocsp_resp_deinit(ocsp_resp); 182 + + failf(data, "Server certificate was revoked: %s", crl_reason); 183 + + break; 184 + + } 185 + 186 + - return CURLE_SSL_INVALIDCERTSTATUS; 187 + + default: 188 + + case GNUTLS_OCSP_CERT_UNKNOWN: 189 + + failf(data, "Server certificate status is unknown"); 190 + + break; 191 + } 192 + - else 193 + - infof(data, " server certificate status verification OK"); 194 + + 195 + + gnutls_ocsp_resp_deinit(ocsp_resp); 196 + + if(status != GNUTLS_OCSP_CERT_GOOD) 197 + + return CURLE_SSL_INVALIDCERTSTATUS; 198 + } 199 + else 200 + infof(data, " server certificate status verification SKIPPED");
+3
pkgs/tools/networking/curl/default.nix
··· 63 # fixes https://github.com/curl/curl/issues/14344 64 # https://github.com/curl/curl/pull/14390 65 ./fix-sigpipe-leak.patch 66 ]; 67 68 # this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion
··· 63 # fixes https://github.com/curl/curl/issues/14344 64 # https://github.com/curl/curl/pull/14390 65 ./fix-sigpipe-leak.patch 66 + ] ++ lib.optionals gnutlsSupport [ 67 + # https://curl.se/docs/CVE-2024-8096.html 68 + ./CVE-2024-8096.patch 69 ]; 70 71 # this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion
+1 -1
pkgs/tools/networking/netbird/default.nix
··· 110 changelog = "https://github.com/netbirdio/netbird/releases/tag/v${version}"; 111 description = "Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls"; 112 license = licenses.bsd3; 113 - maintainers = with maintainers; [ misuzu vrifox ]; 114 mainProgram = "netbird"; 115 }; 116 }
··· 110 changelog = "https://github.com/netbirdio/netbird/releases/tag/v${version}"; 111 description = "Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls"; 112 license = licenses.bsd3; 113 + maintainers = with maintainers; [ vrifox ]; 114 mainProgram = "netbird"; 115 }; 116 }
+2 -2
pkgs/tools/security/clamav/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "clamav"; 9 - version = "1.4.0"; 10 11 src = fetchurl { 12 url = "https://www.clamav.net/downloads/production/${pname}-${version}.tar.gz"; 13 - hash = "sha256-1nqymeXKBdrT2imaXqc9YCCTcqW+zX8TuaM8KQM4pOY="; 14 }; 15 16 patches = [
··· 6 7 stdenv.mkDerivation rec { 8 pname = "clamav"; 9 + version = "1.4.1"; 10 11 src = fetchurl { 12 url = "https://www.clamav.net/downloads/production/${pname}-${version}.tar.gz"; 13 + hash = "sha256-oxjngKw5prPWxGlxOC+W7d6Xzki442HrgOY0Fe1Batg="; 14 }; 15 16 patches = [
+3 -3
pkgs/tools/system/automatic-timezoned/default.nix
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "automatic-timezoned"; 8 - version = "2.0.31"; 9 10 src = fetchFromGitHub { 11 owner = "maxbrunet"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-jMQpnob6J3lPkrjsh8abNA5/8FVYk/xtWiylWFPk1WM="; 15 }; 16 17 - cargoHash = "sha256-55nfiC8tWZNgK0il+N9NMzq525xqWd2IdDHhPLMYaXU="; 18 19 meta = with lib; { 20 description = "Automatically update system timezone based on location";
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "automatic-timezoned"; 8 + version = "2.0.32"; 9 10 src = fetchFromGitHub { 11 owner = "maxbrunet"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-J8DAHwbpcSQtOWOkWjya3zXRhr9Dje2QzumDmeq2rR0="; 15 }; 16 17 + cargoHash = "sha256-M0MX2ZjVsJuWQ6nuxpF1VDYIlGPAsebRbxZ40oSYVO0="; 18 19 meta = with lib; { 20 description = "Automatically update system timezone based on location";
+12 -3
pkgs/top-level/aliases.nix
··· 243 citra = throw "citra has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 244 citra-nightly = throw "citra-nightly has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 245 citra-canary = throw "citra-canary has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 246 clang-ocl = throw "'clang-ocl' has been replaced with 'rocmPackages.clang-ocl'"; # Added 2023-10-08 247 inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17 248 clpm = throw "'clpm' has been removed from nixpkgs"; # Added 2024-04-01 ··· 510 garage_0_7_3 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10 511 garmin-plugin = throw "garmin-plugin has been removed, as it is unmaintained upstream and no longer works with modern browsers."; # Added 2024-01-12 512 garmindev = throw "'garmindev' has been removed as the dependent software 'qlandkartegt' has been removed"; # Added 2023-04-17 513 - gcc48 = throw "'gcc48' has been removed from nixpkgs"; # Added 2024-09-10 514 - gcc49 = throw "'gcc49' has been removed from nixpkgs"; # Added 2024-09-11 515 - gcc49Stdenv = throw "'gcc49Stdenv' has been removed from nixpkgs"; # Added 2024-09-11 516 gcc10StdenvCompat = if stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11" then gcc10Stdenv else stdenv; # Added 2024-03-21 517 gcl_2_6_13_pre = throw "'gcl_2_6_13_pre' has been removed in favor of 'gcl'"; # Added 2024-01-11 518 geekbench4 = throw "'geekbench4' has been renamed to 'geekbench_4'"; # Added 2023-03-10 519 geekbench5 = throw "'geekbench5' has been renamed to 'geekbench_5'"; # Added 2023-03-10 ··· 702 ipfs-migrator = kubo-migrator; # Added 2022-09-27 703 iproute = iproute2; # moved from top-level 2021-03-14 704 irrlichtmt = throw "irrlichtmt has been removed because it was moved into the Minetest repo"; # Added 2024-08-12 705 iso-flags-png-320x420 = lib.warn "iso-flags-png-320x420 has been renamed to iso-flags-png-320x240" iso-flags-png-320x240; # Added 2024-07-17 706 707 ### J ###
··· 243 citra = throw "citra has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 244 citra-nightly = throw "citra-nightly has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 245 citra-canary = throw "citra-canary has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 246 + cloog = throw "cloog has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 247 + cloog_0_18_0 = throw "cloog_0_18_0 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 248 + cloogppl = throw "cloogppl has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 249 clang-ocl = throw "'clang-ocl' has been replaced with 'rocmPackages.clang-ocl'"; # Added 2023-10-08 250 inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17 251 clpm = throw "'clpm' has been removed from nixpkgs"; # Added 2024-04-01 ··· 513 garage_0_7_3 = throw "garage 0.7.x has been removed as it is EOL. Please upgrade to 0.8 series."; # Added 2023-10-10 514 garmin-plugin = throw "garmin-plugin has been removed, as it is unmaintained upstream and no longer works with modern browsers."; # Added 2024-01-12 515 garmindev = throw "'garmindev' has been removed as the dependent software 'qlandkartegt' has been removed"; # Added 2023-04-17 516 + gcc48 = throw "gcc48 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-10 517 + gcc49 = throw "gcc49 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-11 518 + gcc49Stdenv = throw "gcc49Stdenv has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-11 519 + gcc6 = throw "gcc6 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 520 + gcc6Stdenv = throw "gcc6Stdenv has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 521 gcc10StdenvCompat = if stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11" then gcc10Stdenv else stdenv; # Added 2024-03-21 522 + gcj = gcj6; # Added 2024-09-13 523 + gcj6 = throw "gcj6 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 524 gcl_2_6_13_pre = throw "'gcl_2_6_13_pre' has been removed in favor of 'gcl'"; # Added 2024-01-11 525 geekbench4 = throw "'geekbench4' has been renamed to 'geekbench_4'"; # Added 2023-03-10 526 geekbench5 = throw "'geekbench5' has been renamed to 'geekbench_5'"; # Added 2023-03-10 ··· 709 ipfs-migrator = kubo-migrator; # Added 2022-09-27 710 iproute = iproute2; # moved from top-level 2021-03-14 711 irrlichtmt = throw "irrlichtmt has been removed because it was moved into the Minetest repo"; # Added 2024-08-12 712 + isl_0_11 = throw "isl_0_11 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 713 + isl_0_14 = throw "isl_0_14 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 714 iso-flags-png-320x420 = lib.warn "iso-flags-png-320x420 has been renamed to iso-flags-png-320x240" iso-flags-png-320x240; # Added 2024-07-17 715 716 ### J ###
+4 -27
pkgs/top-level/all-packages.nix
··· 6753 6754 clolcat = callPackage ../tools/misc/clolcat { }; 6755 6756 - cloog = callPackage ../development/libraries/cloog { 6757 - isl = isl_0_14; 6758 - }; 6759 - 6760 - cloog_0_18_0 = callPackage ../development/libraries/cloog/0.18.0.nix { 6761 - isl = isl_0_11; 6762 - }; 6763 - 6764 - cloogppl = callPackage ../development/libraries/cloog-ppl { }; 6765 - 6766 cloud-utils = callPackage ../tools/misc/cloud-utils { }; 6767 6768 cloudlist = callPackage ../tools/security/cloudlist { }; ··· 8950 ised = callPackage ../tools/misc/ised { }; 8951 8952 isl = isl_0_20; 8953 - isl_0_11 = callPackage ../development/libraries/isl/0.11.1.nix { }; 8954 - isl_0_14 = callPackage ../development/libraries/isl/0.14.1.nix { }; 8955 isl_0_17 = callPackage ../development/libraries/isl/0.17.1.nix { }; 8956 isl_0_20 = callPackage ../development/libraries/isl/0.20.0.nix { }; 8957 isl_0_24 = callPackage ../development/libraries/isl/0.24.0.nix { }; ··· 14907 extraBuildInputs = lib.optional stdenv.hostPlatform.isDarwin clang.cc; 14908 }; 14909 14910 - gcc6Stdenv = overrideCC gccStdenv buildPackages.gcc6; 14911 gcc7Stdenv = overrideCC gccStdenv buildPackages.gcc7; 14912 gcc8Stdenv = overrideCC gccStdenv buildPackages.gcc8; 14913 gcc9Stdenv = overrideCC gccStdenv buildPackages.gcc9; ··· 15001 }; 15002 15003 inherit (callPackage ../development/compilers/gcc/all.nix { inherit noSysDirs; }) 15004 - gcc6 gcc7 gcc8 gcc9 gcc10 gcc11 gcc12 gcc13 gcc14; 15005 15006 gcc_latest = gcc14; 15007 ··· 15014 langJit = true; 15015 enableLTO = false; 15016 }; 15017 - 15018 - gcj = gcj6; 15019 - gcj6 = wrapCC (gcc6.cc.override { 15020 - name = "gcj"; 15021 - langJava = true; 15022 - langFortran = false; 15023 - langCC = false; 15024 - langC = false; 15025 - profiledCompiler = false; 15026 - inherit zip unzip zlib boehmgc gettext pkg-config perl; 15027 - inherit (gnome2) libart_lgpl; 15028 - }); 15029 15030 gnat = gnat12; # When changing this, update also gnatPackages 15031 ··· 25760 25761 systemd-journal2gelf = callPackage ../tools/system/systemd-journal2gelf { }; 25762 25763 - tailscale = callPackage ../servers/tailscale { }; 25764 25765 tailscale-systray = callPackage ../applications/misc/tailscale-systray { }; 25766
··· 6753 6754 clolcat = callPackage ../tools/misc/clolcat { }; 6755 6756 cloud-utils = callPackage ../tools/misc/cloud-utils { }; 6757 6758 cloudlist = callPackage ../tools/security/cloudlist { }; ··· 8940 ised = callPackage ../tools/misc/ised { }; 8941 8942 isl = isl_0_20; 8943 isl_0_17 = callPackage ../development/libraries/isl/0.17.1.nix { }; 8944 isl_0_20 = callPackage ../development/libraries/isl/0.20.0.nix { }; 8945 isl_0_24 = callPackage ../development/libraries/isl/0.24.0.nix { }; ··· 14895 extraBuildInputs = lib.optional stdenv.hostPlatform.isDarwin clang.cc; 14896 }; 14897 14898 gcc7Stdenv = overrideCC gccStdenv buildPackages.gcc7; 14899 gcc8Stdenv = overrideCC gccStdenv buildPackages.gcc8; 14900 gcc9Stdenv = overrideCC gccStdenv buildPackages.gcc9; ··· 14988 }; 14989 14990 inherit (callPackage ../development/compilers/gcc/all.nix { inherit noSysDirs; }) 14991 + gcc7 gcc8 gcc9 gcc10 gcc11 gcc12 gcc13 gcc14; 14992 14993 gcc_latest = gcc14; 14994 ··· 15001 langJit = true; 15002 enableLTO = false; 15003 }; 15004 15005 gnat = gnat12; # When changing this, update also gnatPackages 15006 ··· 25735 25736 systemd-journal2gelf = callPackage ../tools/system/systemd-journal2gelf { }; 25737 25738 + tailscale = callPackage ../servers/tailscale { 25739 + buildGoModule = buildGo123Module; 25740 + }; 25741 25742 tailscale-systray = callPackage ../applications/misc/tailscale-systray { }; 25743