mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-25 01:50:40 +00:00
Compare commits
51 Commits
r-updates
...
wip-gcc-16
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a06d109d48 | ||
|
|
c465430f82 | ||
|
|
1e10b67e35 | ||
|
|
6aa36277ff | ||
|
|
d457a15860 | ||
|
|
75c304b0e0 | ||
|
|
2012d325a3 | ||
|
|
1dd0a5d9e5 | ||
|
|
fb7e01a3b6 | ||
|
|
80c9a1708e | ||
|
|
b57ec0fcb2 | ||
|
|
f7b16131d9 | ||
|
|
6c37551652 | ||
|
|
aab37bd258 | ||
|
|
017fed1d63 | ||
|
|
f46e80f6c5 | ||
|
|
8c8bcc8565 | ||
|
|
335f0738cb | ||
|
|
2836fbbd41 | ||
|
|
596a0d7dc0 | ||
|
|
a515e75f6b | ||
|
|
c5a79bf94d | ||
|
|
33b11c7a18 | ||
|
|
4cb9d58ac0 | ||
|
|
4a02d63a72 | ||
|
|
c6b4f51ed2 | ||
|
|
11666f06dc | ||
|
|
1ce8afeba2 | ||
|
|
3d238b4d3b | ||
|
|
1ea2a247f0 | ||
|
|
f82c92cf1f | ||
|
|
2ffb4d3f41 | ||
|
|
c9b84ce04d | ||
|
|
f73579b2d5 | ||
|
|
9494ab4bd9 | ||
|
|
3addee54fd | ||
|
|
f107f71070 | ||
|
|
8751b9fd7c | ||
|
|
e25fe7a968 | ||
|
|
9494ef5d2c | ||
|
|
962224d36a | ||
|
|
60bf249d13 | ||
|
|
c73eaa6a58 | ||
|
|
a718e78415 | ||
|
|
87024b4b71 | ||
|
|
07b25d7bda | ||
|
|
3dc4b3fbc7 | ||
|
|
9b6be193ad | ||
|
|
6f508907ef | ||
|
|
2f7a8a8ae4 | ||
|
|
e4d9d6766f |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -27,6 +27,9 @@ tags
|
||||
.mypy_cache
|
||||
__pycache__
|
||||
|
||||
/AGENTS.md
|
||||
/CLAUDE.md
|
||||
|
||||
/pkgs/development/libraries/qt-5/*/tmp/
|
||||
/pkgs/desktops/kde-5/*/tmp/
|
||||
/pkgs/development/mobile/androidenv/xml/*
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
+nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
|
||||
```
|
||||
|
||||
- GCC has been updated from GCC 15 to GCC 16. This introduces some backwards-incompatible changes. Refer to the [upstream porting guide](https://gcc.gnu.org/gcc-16/porting_to.html) for details.
|
||||
|
||||
## Backward Incompatibilities {#sec-nixpkgs-release-26.11-incompatibilities}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
@@ -116,6 +116,8 @@ in
|
||||
packages = [ pkgs.xdg-desktop-portal ] ++ cfg.extraPortals;
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
programs.fuse.enable = true;
|
||||
|
||||
warnings = lib.optional (cfg.configPackages == [ ] && cfg.config == { }) ''
|
||||
xdg-desktop-portal 1.17 reworked how portal implementations are loaded, you
|
||||
should either set `xdg.portal.config` or `xdg.portal.configPackages`
|
||||
|
||||
@@ -92,8 +92,8 @@ rec {
|
||||
thunderbird-140 = common {
|
||||
applicationName = "Thunderbird ESR";
|
||||
|
||||
version = "140.12.1esr";
|
||||
sha512 = "24e795483ba7bc112c0debe1becdaf79cc2de95703b9ee726d0216bfc1db7b33c169503f83ac867e5998a8d1d0284a6ef12c7d35d98b10d6432497c2db237477";
|
||||
version = "140.13.0esr";
|
||||
sha512 = "778d2fc2837ba367e90c4336f3873da5a0823c182e2f50aa9373cd1ee9ee2b5310372ad9d33e1e11978791b67de4a6952d3036ff7d57b257a06f49c8cd4a830e";
|
||||
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "thunderbirdPackages.thunderbird-140";
|
||||
|
||||
@@ -42,6 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "ASSIMP_BUILD_ASSIMP_TOOLS" true)
|
||||
(lib.cmakeBool "ASSIMP_BUILD_TESTS" finalAttrs.finalPackage.doCheck)
|
||||
(lib.cmakeBool "ASSIMP_WARNINGS_AS_ERRORS" false)
|
||||
];
|
||||
|
||||
# Some matrix tests fail on non-86_64-linux:
|
||||
|
||||
@@ -71,18 +71,22 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
checkPhase =
|
||||
let
|
||||
excludedTests =
|
||||
lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"mock-log"
|
||||
]
|
||||
++ [
|
||||
"logging" # works around segfaults for now
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [
|
||||
# CHECK_STREQ failed: symbol == "non_inline_func" ((/build/source/build/symbolize_unittest+0x1000b840) vs. non_inline_func)
|
||||
# TestWithPCInsideNonInlineFunction doesn't use TEST(), so can't exclude via GTEST_FILTER
|
||||
"symbolize"
|
||||
];
|
||||
excludedTests = [
|
||||
"logging" # works around segfaults for now
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isGnu [
|
||||
# Test appears to make strong assumptions about compiler optimizations
|
||||
# that appear to be broken under GCC 16.
|
||||
"stacktrace"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"mock-log"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [
|
||||
# CHECK_STREQ failed: symbol == "non_inline_func" ((/build/source/build/symbolize_unittest+0x1000b840) vs. non_inline_func)
|
||||
# TestWithPCInsideNonInlineFunction doesn't use TEST(), so can't exclude via GTEST_FILTER
|
||||
"symbolize"
|
||||
];
|
||||
excludedTestsRegex = lib.optionalString (
|
||||
excludedTests != [ ]
|
||||
) "(${lib.concatStringsSep "|" excludedTests})";
|
||||
|
||||
@@ -583,6 +583,13 @@ stdenv.mkDerivation rec {
|
||||
url = "https://git.savannah.gnu.org/cgit/grub.git/patch/?id=ac1512b872af8567b408518a7efa01607a0219ae";
|
||||
hash = "sha256-deyp6Yatlgv86bYMt7WcWhKg8J6StDPUEy4UPHqJYIc=";
|
||||
})
|
||||
# Required to build grub2_efi with GCC 16, or fails with "error: 'regparm'
|
||||
# attribute ignored [-Werror=attributes]"
|
||||
(fetchpatch {
|
||||
name = "gcc16_make_regparm_attribute_more_conditional.patch";
|
||||
url = "https://git.savannah.gnu.org/cgit/grub.git/patch/?id=9922ed133c2c754ec9f37198da2b3e3e8a4fd5ff";
|
||||
hash = "sha256-V2vffDxL/qQ14YN5scc3CFPBFBWvkh57dc5/hWd/6F4=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch =
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gtkwave";
|
||||
version = "3.3.127";
|
||||
version = "3.3.128";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gtkwave/gtkwave-gtk3-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "sha256-8Z2i20Oye7zGaXJYQ0UZRaaMOkziMlYuNB1vY7gLVeQ=";
|
||||
sha256 = "sha256-gX4Zf8GAj4qsNUPCwvloPLATaMkRkrjq5a9YBw7x0fg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
# By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which
|
||||
# then stops downstream builds (mariadb in particular) from detecting it. This
|
||||
@@ -59,6 +60,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# A (longer) patch addressing the failure posted upstream at:
|
||||
# https://github.com/jemalloc/jemalloc/pull/2954
|
||||
./skip-extent-test-with-prof-active.patch
|
||||
|
||||
# the nonstandard `std::__throw_bad_alloc` is no longer exposed in gcc 16.
|
||||
# this makes it conditional on exceptions and defers to either
|
||||
# `throw std::bad_alloc()` or `std::terminate` as appropriate.
|
||||
# https://github.com/jemalloc/jemalloc/pull/2900
|
||||
(fetchpatch {
|
||||
name = "jemalloc-dont-use-nonstandard-throw-bad-alloc.patch";
|
||||
url = "https://github.com/jemalloc/jemalloc/commit/1a15fe33a48c52bfe26ea83e49f0d317a47da3ea.patch";
|
||||
hash = "sha256-pL9fo8UMSbFlHCo3LFFkw0qBsdrVHcEJIkLutZYa2Yg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -34,6 +34,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
patches = [
|
||||
./nix-store-date.patch
|
||||
|
||||
# GCC 16's unused variable analysis is more advanced than previous
|
||||
# versions, and detects that these variables are unused.
|
||||
# https://github.com/wolfcw/libfaketime/pull/528
|
||||
(fetchpatch {
|
||||
name = "libfaketime-silence-unused-variable-warning.patch";
|
||||
url = "https://github.com/wolfcw/libfaketime/commit/712733e5f01e45372f3160cfdbcfd91520cb093d.patch";
|
||||
hash = "sha256-Gu13gFhgvkncj8aowAnSRbHbUCctF5sakbX4uRwdy+A=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
(fetchpatch {
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
elfutils,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libsystemtap";
|
||||
version = "5.3";
|
||||
version = "5.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://sourceware.org/git/systemtap.git";
|
||||
rev = "release-5.3";
|
||||
hash = "sha256-W9iJ+hyowqgeq1hGcNQbvPfHpqY0Yt2W/Ng/4p6asxc=";
|
||||
rev = "release-${finalAttrs.version}";
|
||||
hash = "sha256-olN98hjIYZmQvI7Fn1v5ZwRl7yaCAPRGr2g33oMq7VQ=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
@@ -43,4 +43,4 @@ stdenv.mkDerivation {
|
||||
badPlatforms = elfutils.meta.badPlatforms or [ ];
|
||||
maintainers = [ lib.maintainers.workflow ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -14,19 +14,19 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "matrix-synapse";
|
||||
version = "1.156.0";
|
||||
version = "1.157.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "element-hq";
|
||||
repo = "synapse";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-x3EVmNPqcxtvt6ZaPsDCCcr7Z0LIO257s2gO3HCNmKA=";
|
||||
hash = "sha256-yDfBtcBvIoWUfD8bqwGgeMvq4XHrr9ptVB6yKJWFX0c=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-N/JWRFz9OKcxigjp86AVVZGK63MdZmEzwHhBgBuWZcY=";
|
||||
hash = "sha256-KM3j2O7J4Sad6jKF2Ca4qkRLj3w7+/UCnK6T6x8kMfs=";
|
||||
};
|
||||
|
||||
build-system =
|
||||
|
||||
@@ -185,7 +185,7 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
nativeCheckInputs =
|
||||
with pythonPackages;
|
||||
[
|
||||
pytestCheckHook
|
||||
pytest9_0CheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies
|
||||
|
||||
@@ -76,6 +76,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH" false)
|
||||
# Treating compiler errors as warnings creates churn each compiler update,
|
||||
# and provides little utility to us downstream.
|
||||
(lib.cmakeBool "TBB_STRICT" false)
|
||||
(lib.cmakeBool "TBB_TEST" finalAttrs.finalPackage.doCheck)
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
@@ -83,10 +86,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
env = {
|
||||
# Fix build with modern gcc
|
||||
# In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]',
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=stringop-overflow";
|
||||
|
||||
# Fix undefined reference errors with version script under LLVM.
|
||||
NIX_LDFLAGS = lib.optionalString (
|
||||
stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17"
|
||||
|
||||
@@ -118,6 +118,7 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
"drf-spectacular-sidecar"
|
||||
"python-dotenv"
|
||||
"gotenberg-client"
|
||||
"nltk"
|
||||
"redis"
|
||||
"scikit-learn"
|
||||
"tika-client"
|
||||
|
||||
@@ -36,7 +36,9 @@ buildGoModule (finalAttrs: {
|
||||
homepage = "https://github.com/jedisct1/piknik";
|
||||
changelog = "https://github.com/jedisct1/piknik/blob/${finalAttrs.src.rev}/ChangeLog";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [
|
||||
sheeeng
|
||||
];
|
||||
mainProgram = "piknik";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -36,6 +36,21 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
zlib
|
||||
];
|
||||
|
||||
# The upstream macro is vendored from a very old autoconf archive:
|
||||
# https://github.com/protobuf-c/protobuf-c/commit/42612b4ba4b11d48b76e3643fa6d42f617e661b6
|
||||
# and the build system appears to arbitrarily require C++17 specifically:
|
||||
# https://github.com/protobuf-c/protobuf-c/blob/4719fdd7760624388c2c5b9d6759eb6a47490626/configure.ac#L72
|
||||
# However, the default standard version used by GCC continues to increase
|
||||
# (e.g. C++20 for GCC 16), and so protobuf-c's dependencies do as well. In
|
||||
# particular, abseil-cpp has headers that protobuf-c includes and are
|
||||
# sensitive to the standard version. While we could override the standard
|
||||
# version used by these dependents, it is simpler to drop the requirement and
|
||||
# allow the compiler default standard to be used.
|
||||
postPatch = ''
|
||||
substituteInPlace configure.ac --replace-fail \
|
||||
"AX_CXX_COMPILE_STDCXX(17, noext, mandatory)" ""
|
||||
'';
|
||||
|
||||
env.PROTOC = lib.getExe buildPackages.protobuf_33;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -61,6 +61,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
automake --add-missing -Wno-portability
|
||||
'';
|
||||
|
||||
# GCC 16's unused variable analysis is more advanced, leading to a build
|
||||
# failure since sbsigntool builds with -Wno-error.
|
||||
configureFlags = [ "CFLAGS=-Wno-error=unused-but-set-variable" ];
|
||||
|
||||
makeFlags = [
|
||||
"AR=${stdenv.cc.targetPrefix}ar"
|
||||
];
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
diff --git a/lib/tests/test_regexranges_main.cpp b/lib/tests/test_regexranges_main.cpp
|
||||
index 567d79230c..e28bba47e5 100644
|
||||
--- a/lib/tests/test_regexranges_main.cpp
|
||||
+++ b/lib/tests/test_regexranges_main.cpp
|
||||
@@ -12,26 +12,26 @@
|
||||
using namespace std;
|
||||
using namespace srchilite;
|
||||
|
||||
-RegexRanges ranges;
|
||||
+RegexRanges regexRanges;
|
||||
|
||||
void check_range_regex(const string &s, bool expectedTrue = true) {
|
||||
cout << "checking " << s << endl;
|
||||
if (expectedTrue)
|
||||
- assertTrue(ranges.addRegexRange(s));
|
||||
+ assertTrue(regexRanges.addRegexRange(s));
|
||||
else
|
||||
- assertFalse(ranges.addRegexRange(s));
|
||||
+ assertFalse(regexRanges.addRegexRange(s));
|
||||
}
|
||||
|
||||
void check_match(const string &line, const string &expected = "") {
|
||||
cout << "searching inside " << line;
|
||||
const boost::regex *matched = 0;
|
||||
if (expected != "") {
|
||||
- matched = ranges.matches(line);
|
||||
+ matched = regexRanges.matches(line);
|
||||
assertTrue(matched != 0);
|
||||
assertEquals(expected, matched->str());
|
||||
cout << " found " << *matched << endl;
|
||||
} else {
|
||||
- assertTrue(ranges.matches(line) == 0);
|
||||
+ assertTrue(regexRanges.matches(line) == 0);
|
||||
cout << " not found" << endl;
|
||||
}
|
||||
}
|
||||
@@ -39,9 +39,9 @@
|
||||
void check_in_range(const string &s, bool expectedTrue = true) {
|
||||
cout << "checking " << s << "... ";
|
||||
if (expectedTrue) {
|
||||
- assertTrue(ranges.isInRange(s));
|
||||
+ assertTrue(regexRanges.isInRange(s));
|
||||
} else {
|
||||
- assertFalse(ranges.isInRange(s));
|
||||
+ assertFalse(regexRanges.isInRange(s));
|
||||
}
|
||||
cout << expectedTrue << endl;
|
||||
}
|
||||
@@ -57,7 +57,7 @@
|
||||
check_range_regex("{notclosed");
|
||||
|
||||
// reset regular expressions
|
||||
- ranges.clear();
|
||||
+ regexRanges.clear();
|
||||
|
||||
check_range_regex("/// foo");
|
||||
check_range_regex("/// bar");
|
||||
@@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
|
||||
url = "https://git.savannah.gnu.org/cgit/src-highlite.git/patch/?id=ab9fe5cb9b85c5afab94f2a7f4b6d7d473c14ee9";
|
||||
hash = "sha256-wmSLgLnLuFE+IC6AjxzZp/HEnaOCS1VfY2cac0T7Y+w=";
|
||||
})
|
||||
|
||||
# GCC 16 detects ambiguity in the `ranges` name in a test (conflicts with
|
||||
# `namespace std::range { }` from GCC), so we rename the variable to
|
||||
# disambiguate.
|
||||
./gcc16-disambiguate-regex-ranges-test.patch
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
# Adds compatibility with C++17 by removing the `register` storage class specifier.
|
||||
|
||||
@@ -12,21 +12,14 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "systemtap";
|
||||
version = "5.4";
|
||||
version = "5.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://sourceware.org/git/systemtap.git";
|
||||
rev = "release-${finalAttrs.version}";
|
||||
hash = "sha256-11ecQFiBaWOZcbS5Qqf/41heiJM1wSttx0eMoVQImZc=";
|
||||
hash = "sha256-olN98hjIYZmQvI7Fn1v5ZwRl7yaCAPRGr2g33oMq7VQ=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.hostPlatform.is32bit [
|
||||
# Fix 32bit build
|
||||
# https://sourceware.org/git/?p=systemtap.git;a=commit;h=94efb7c4eb02de0e3565cb165b53963602d3dcb6
|
||||
# does not apply with fetchpatch because of gitweb encoding issues
|
||||
./systemtap-elaborate-fix-32bit-build.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cpio
|
||||
|
||||
@@ -1,102 +0,0 @@
|
||||
From 94efb7c4eb02de0e3565cb165b53963602d3dcb6 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyich@gmail.com>
|
||||
Date: Sun, 30 Nov 2025 20:58:01 +0000
|
||||
Subject: [PATCH] elaborate.cxx: fix 32-bit build
|
||||
|
||||
Without the change the build fails on i686-linux as:
|
||||
|
||||
elaborate.cxx:5119:33: error:
|
||||
format '%ld' expects argument of type 'long int',
|
||||
but argument 2 has type 'int64_t' {aka 'long long int'} [-Werror=format=]
|
||||
5119 | session.print_warning (_F("Collapsing unresolved @define to %ld [stapprobes]", value), e->tok);
|
||||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
---
|
||||
elaborate.cxx | 2 +-
|
||||
po/cs.po | 2 +-
|
||||
po/en.po | 2 +-
|
||||
po/fr.po | 2 +-
|
||||
po/pl.po | 2 +-
|
||||
po/systemtap.pot | 2 +-
|
||||
6 files changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/elaborate.cxx b/elaborate.cxx
|
||||
index 93ecffa1a..3ad3614e7 100644
|
||||
--- a/elaborate.cxx
|
||||
+++ b/elaborate.cxx
|
||||
@@ -5116,7 +5116,7 @@ const_folder::visit_defined_op (defined_op* e)
|
||||
// Don't be greedy... we'll only collapse one at a time so type
|
||||
// resolution can have another go at it.
|
||||
relaxed_p = false;
|
||||
- session.print_warning (_F("Collapsing unresolved @define to %ld [stapprobes]", value), e->tok);
|
||||
+ session.print_warning (_F("Collapsing unresolved @define to %lld [stapprobes]", (long long)value), e->tok);
|
||||
literal_number* n = new literal_number (value);
|
||||
n->tok = e->tok;
|
||||
n->visit (this);
|
||||
diff --git a/po/cs.po b/po/cs.po
|
||||
index df6412772..92fdef7ad 100644
|
||||
--- a/po/cs.po
|
||||
+++ b/po/cs.po
|
||||
@@ -2039,7 +2039,7 @@ msgstr "Zahazuji kontrolu '@defined' bez vedlejších účinků "
|
||||
|
||||
#: elaborate.cxx:5119
|
||||
#, fuzzy, c-format
|
||||
-msgid "Collapsing unresolved @define to %ld [stapprobes]"
|
||||
+msgid "Collapsing unresolved @define to %lld [stapprobes]"
|
||||
msgstr "Zahazuji kontrolu '@defined' bez vedlejších účinků "
|
||||
|
||||
#: elaborate.cxx:5127
|
||||
diff --git a/po/en.po b/po/en.po
|
||||
index 8847639e8..1db2292bd 100644
|
||||
--- a/po/en.po
|
||||
+++ b/po/en.po
|
||||
@@ -2050,7 +2050,7 @@ msgstr ""
|
||||
|
||||
#: elaborate.cxx:5119
|
||||
#, c-format
|
||||
-msgid "Collapsing unresolved @define to %ld [stapprobes]"
|
||||
+msgid "Collapsing unresolved @define to %lld [stapprobes]"
|
||||
msgstr ""
|
||||
|
||||
#: elaborate.cxx:5127
|
||||
diff --git a/po/fr.po b/po/fr.po
|
||||
index b8677707b..55e409919 100644
|
||||
--- a/po/fr.po
|
||||
+++ b/po/fr.po
|
||||
@@ -2090,7 +2090,7 @@ msgstr ""
|
||||
|
||||
#: elaborate.cxx:5119
|
||||
#, c-format
|
||||
-msgid "Collapsing unresolved @define to %ld [stapprobes]"
|
||||
+msgid "Collapsing unresolved @define to %lld [stapprobes]"
|
||||
msgstr ""
|
||||
|
||||
#: elaborate.cxx:5127
|
||||
diff --git a/po/pl.po b/po/pl.po
|
||||
index e3b6700ee..0b35880c1 100644
|
||||
--- a/po/pl.po
|
||||
+++ b/po/pl.po
|
||||
@@ -1977,7 +1977,7 @@ msgstr ""
|
||||
|
||||
#: elaborate.cxx:5119
|
||||
#, c-format
|
||||
-msgid "Collapsing unresolved @define to %ld [stapprobes]"
|
||||
+msgid "Collapsing unresolved @define to %lld [stapprobes]"
|
||||
msgstr ""
|
||||
|
||||
#: elaborate.cxx:5127
|
||||
diff --git a/po/systemtap.pot b/po/systemtap.pot
|
||||
index 32ddb2290..4ec0d9a8c 100644
|
||||
--- a/po/systemtap.pot
|
||||
+++ b/po/systemtap.pot
|
||||
@@ -1973,7 +1973,7 @@ msgstr ""
|
||||
|
||||
#: elaborate.cxx:5119
|
||||
#, c-format
|
||||
-msgid "Collapsing unresolved @define to %ld [stapprobes]"
|
||||
+msgid "Collapsing unresolved @define to %lld [stapprobes]"
|
||||
msgstr ""
|
||||
|
||||
#: elaborate.cxx:5127
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "temporal-cli";
|
||||
version = "1.8.0";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "temporalio";
|
||||
repo = "cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Z5Ba4oVQR6g/HyaBd/0iLIWq6Ht2SJAdylTVaErRFL0=";
|
||||
hash = "sha256-RswHPnaWN3bLerhttVb/3G//cyz9Fr+x/B4h+/SSSqA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-9lO9uhy1n85QYyoh27cKhdlcuL4GT98aCNWwe8tOwoQ=";
|
||||
|
||||
@@ -37,6 +37,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
];
|
||||
cmakeFlags = [
|
||||
# GCC 16 warns that various uses of `fmt` in value.hpp are used
|
||||
# uninitialized. This may be a true failure, but it does not seem like a
|
||||
# major concern, so we silence it for now.
|
||||
# https://github.com/ToruNiina/toml11/issues/313
|
||||
(lib.cmakeFeature "CMAKE_CXX_FLAGS" "-Wno-error=maybe-uninitialized")
|
||||
(lib.cmakeBool "TOML11_BUILD_TOML_TESTS" finalAttrs.finalPackage.doCheck)
|
||||
];
|
||||
checkInputs = [
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "tpnote";
|
||||
version = "1.26.6";
|
||||
version = "1.26.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getreu";
|
||||
repo = "tp-note";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ELRR2nIbkbD/WWS93lyHHYoPY/KLUBO9+/13UUFhA6Y=";
|
||||
hash = "sha256-dg6IFozGnvCOHbqZ9p0Eu7CPAv7W1Yf+MqAAFxghBEg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-gFfESz0yn9AJ4QCujaUyXrFnxyHzqi3IX5Gg0Gma0DQ=";
|
||||
cargoHash = "sha256-Lu4NBYxplYk5Y3IbfiCv61whW9Dk6fIScZUIB5yBdCk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
||||
@@ -38,6 +38,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# GCC 16's unused variable analysis is more advanced, leading to a build
|
||||
# failure since usrsctp builds with -Wno-error.
|
||||
# https://github.com/sctplab/usrsctp/pull/744
|
||||
cmakeFlags = [ (lib.cmakeFeature "CMAKE_C_FLAGS" "-Wno-error=unused-but-set-variable") ];
|
||||
|
||||
# https://github.com/sctplab/usrsctp/issues/662
|
||||
postPatch = ''
|
||||
substituteInPlace usrsctplib/CMakeLists.txt \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
abseil-cpp,
|
||||
abseil-cpp_202601,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
@@ -46,7 +46,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
abseil-cpp
|
||||
# webrtc-audio-processing specifies C++17, so abseil must match. Otherwise,
|
||||
# abseil exposes a different (incompatible) interface based on the default
|
||||
# C++ standard of the compiler.
|
||||
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/d0569cfa50c1858ee279d77b3fc8870be6902441/meson.build#L7
|
||||
(abseil-cpp_202601.override { cxxStandard = "17"; })
|
||||
];
|
||||
|
||||
mesonFlags =
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
}:
|
||||
mkYaziPlugin {
|
||||
pname = "diff.yazi";
|
||||
version = "0-unstable-2026-07-01";
|
||||
version = "0-unstable-2026-07-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yazi-rs";
|
||||
repo = "plugins";
|
||||
rev = "65559fd3edc33cb0fd24ec92874c763fa5f68e3e";
|
||||
hash = "sha256-SLfwFGOcmlZIUqlSSMk7dEEUZQbKqPMidknS3vtFzPo=";
|
||||
rev = "bbac5e75b22a2893ef7cdd2bd6814b15f2abb91e";
|
||||
hash = "sha256-lio4pvrqK575q7M+GtRr/5EdA4h2J/7gIvXK8c5rq1U=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
}:
|
||||
mkYaziPlugin {
|
||||
pname = "gvfs.yazi";
|
||||
version = "0-unstable-2026-07-13";
|
||||
version = "0-unstable-2026-07-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boydaihungst";
|
||||
repo = "gvfs.yazi";
|
||||
rev = "c5a0bb924eceeeb8b44bfc00aba0a97ba0287fa3";
|
||||
hash = "sha256-hSHEN/F4uc1FFScB5lLRAKryLwP+O7I9vgEgobGbQyw=";
|
||||
rev = "364b0a811d722a1fdb3c2bde36aa640591437967";
|
||||
hash = "sha256-bQDcT04m1WvMRCiVIyer4WHgjYMaamMfolmH49lVSig=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
}:
|
||||
mkYaziPlugin {
|
||||
pname = "restore.yazi";
|
||||
version = "0-unstable-2026-04-04";
|
||||
version = "0-unstable-2026-07-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boydaihungst";
|
||||
repo = "restore.yazi";
|
||||
rev = "0e0870460b9b74c5ae98b7f96c7c26a9a274ce6d";
|
||||
hash = "sha256-rDsyMF5IEBHx+fJ0oYTCCQAlTSquUcOkFLC4Lmbuz6k=";
|
||||
rev = "7bfcfcbda078b7e51d1ff9a62db9c654a3952fa4";
|
||||
hash = "sha256-pmyS1rU5C6U9LloGoDFB8s6GwoMqG1Jve5OFooI64tU=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -4,8 +4,25 @@
|
||||
fetchpatch,
|
||||
python3Packages,
|
||||
qt6,
|
||||
linkFarm,
|
||||
hunspellDictsChromium,
|
||||
dictionaries ? [
|
||||
hunspellDictsChromium.en-us
|
||||
hunspellDictsChromium.en-gb
|
||||
hunspellDictsChromium.de-de
|
||||
hunspellDictsChromium.fr-fr
|
||||
hunspellDictsChromium.sv-se
|
||||
],
|
||||
}:
|
||||
|
||||
let
|
||||
qtwebengineDictionaries = linkFarm "zapzap-qtwebengine-dictionaries" (
|
||||
map (d: {
|
||||
name = d.dictFileName;
|
||||
path = d;
|
||||
}) dictionaries
|
||||
);
|
||||
in
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "zapzap";
|
||||
version = "7.0";
|
||||
@@ -55,7 +72,12 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
dontWrapQtApps = true;
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||
makeWrapperArgs+=(
|
||||
"''${qtWrapperArgs[@]}"
|
||||
${lib.optionalString (dictionaries != [ ]) ''
|
||||
--set-default QTWEBENGINE_DICTIONARIES_PATH "${qtwebengineDictionaries}"
|
||||
''}
|
||||
)
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
|
||||
@@ -46,6 +46,7 @@ mkCoqDerivation {
|
||||
|
||||
releaseRev = v: "v${v}";
|
||||
|
||||
release."3.5".hash = "sha256-ur6XGhTUQ1XdcyC6RERYaTwyzL58mWwdihY/yemjfQg=";
|
||||
release."3.4".hash = "sha256-AnyiM5B7JJZI5LR0vSi6baVIx9SibYRiho7UBg1uV5w=";
|
||||
release."3.3".hash = "sha256-Zn9245fr0OhgaXjWlIO1QwSxrQYetj7qPHwZAXTdqNc=";
|
||||
release."3.2".hash = "sha256-4HOFFQzKbHIq+ktjJaS5b2Qr8WL1eQ26YxF4vt1FdWM=";
|
||||
@@ -72,7 +73,7 @@ mkCoqDerivation {
|
||||
lib.switch
|
||||
[ coq.coq-version mathcomp.version ]
|
||||
[
|
||||
(case (range "8.16" "9.1") (isGe "2.0") "3.4")
|
||||
(case (range "8.16" "9.1") (isGe "2.0") "3.5")
|
||||
(case (range "8.12" "8.20") (range "1.12" "1.19") "2.4")
|
||||
]
|
||||
null;
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
[ coq.coq-version mathcomp-boot.version ]
|
||||
[
|
||||
(case (range "8.20" "9.1") (range "2.3.0" "2.5.0") "0.3.1")
|
||||
(case (range "8.18" "9.1") (range "2.3.0" "2.4.0") "0.2.4")
|
||||
(case (range "8.18" "8.20") (range "2.3.0" "2.3.0") "0.2.3")
|
||||
(case (range "8.18" "8.20") (range "2.1.0" "2.2.0") "0.2.2")
|
||||
# This is the original dependency:
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
defusedxml,
|
||||
joblib,
|
||||
regex,
|
||||
setuptools,
|
||||
@@ -23,49 +24,53 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "nltk";
|
||||
version = "3.9.4";
|
||||
version = "3.10.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nltk";
|
||||
repo = "nltk";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-kDfMiqXgLq91zzDjv/qDn0XwQkYRn2sITI6E4pgWe/8=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-1iflqb3cOyaviW3IostFCuJtZ9KBZI0n9dfKfqqbcO0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# In the nix store we trust
|
||||
substituteInPlace nltk/pathsec.py \
|
||||
--replace-fail 'if not (target == scoped_root or target.is_relative_to(scoped_root)):' 'if not (target == scoped_root or target.is_relative_to(scoped_root) or target.is_relative_to("/nix/store")):'
|
||||
--replace-fail 'if not (target == scoped_root or target.is_relative_to(scoped_root)):' \
|
||||
'if not (target == scoped_root or target.is_relative_to(scoped_root) or target.is_relative_to("/nix/store")):' \
|
||||
--replace-fail ' "/usr/share/nltk_data", ' ' "/usr/share/nltk_data", "/nix/store", '
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
defusedxml
|
||||
joblib
|
||||
regex
|
||||
tqdm
|
||||
];
|
||||
|
||||
# Use new passthru function to pass dependencies required for testing
|
||||
preInstallCheck = ''
|
||||
export NLTK_DATA=${
|
||||
nltk.dataDir (
|
||||
d: with d; [
|
||||
averaged-perceptron-tagger-eng
|
||||
averaged-perceptron-tagger-rus
|
||||
bcp47
|
||||
brown
|
||||
cess-cat
|
||||
cess-esp
|
||||
conll2007
|
||||
floresta
|
||||
gutenberg
|
||||
ieer
|
||||
inaugural
|
||||
indian
|
||||
large-grammars
|
||||
nombank-1-0
|
||||
omw-1-4
|
||||
omw-2-0
|
||||
pl196x
|
||||
porter-test
|
||||
ptb
|
||||
@@ -114,9 +119,10 @@ buildPythonPackage (finalAttrs: {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/nltk/nltk/blob/${finalAttrs.src.tag}/ChangeLog";
|
||||
description = "Natural Language Processing ToolKit";
|
||||
mainProgram = "nltk";
|
||||
homepage = "http://nltk.org/";
|
||||
homepage = "https://nltk.org/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.bengsparks ];
|
||||
};
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
poetry-core,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pinecone-plugin-assistant";
|
||||
version = "3.0.3";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pinecone_plugin_assistant";
|
||||
inherit version;
|
||||
hash = "sha256-U/VI7eYKldef9I14ZaPQr9Zlztnnd1gnLmK6DGxjvSY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.pinecone.io/";
|
||||
maintainers = with lib.maintainers; [ codgician ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
description = "Assistant plugin for Pinecone SDK";
|
||||
};
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pinecone-plugin-interface";
|
||||
version = "0.0.7";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pinecone_plugin_interface";
|
||||
inherit version;
|
||||
hash = "sha256-uOZnXkGEczOqE5I8xE2qP4VnbXFXMkaC3BZAWIqYKEY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.pinecone.io/";
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
description = "Plugin interface for the Pinecone python client";
|
||||
};
|
||||
}
|
||||
@@ -1,47 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
buildPackages,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
httpx,
|
||||
msgspec,
|
||||
orjson,
|
||||
pinecone-plugin-assistant,
|
||||
pinecone-plugin-interface,
|
||||
python-dateutil,
|
||||
typing-extensions,
|
||||
urllib3,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pinecone";
|
||||
version = "8.1.2";
|
||||
version = "9.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pinecone-io";
|
||||
repo = "pinecone-python-client";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-VfoSW17Bx/eFlnSxUiQZsfY/y210/sKIF5df/kb2kTc=";
|
||||
hash = "sha256-yWGW9qx4zb4FnDLXvtXREYXRO7e5Jk/KJoaQlpKMwpg=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-I3pIy9by+OHo6iU6OZp3VvJJPZOmJ/CYhkzoV8xHoMY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
];
|
||||
|
||||
env.PROTOC = "${lib.getExe buildPackages.protobuf}";
|
||||
|
||||
dependencies = [
|
||||
certifi
|
||||
httpx
|
||||
msgspec
|
||||
orjson
|
||||
pinecone-plugin-assistant
|
||||
pinecone-plugin-interface
|
||||
python-dateutil
|
||||
typing-extensions
|
||||
urllib3
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pinecone" ];
|
||||
|
||||
meta = {
|
||||
description = "Pinecone python client";
|
||||
description = "Pinecone Python SDK";
|
||||
homepage = "https://www.pinecone.io/";
|
||||
changelog = "https://github.com/pinecone-io/pinecone-python-client/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/pinecone-io/python-sdk/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ happysalada ];
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
}:
|
||||
let
|
||||
pname = "gcc";
|
||||
version = "15.3.0";
|
||||
version = "16.1.0";
|
||||
linkerName =
|
||||
{
|
||||
i686-linux = "ld-linux.so.2";
|
||||
@@ -32,7 +32,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.xz";
|
||||
hash = "sha256-+lnBvu+JlfJ8TXHB3yJ1hxiTFdPm+v8btDBuYbDFMOs=";
|
||||
hash = "sha256-UO+02Uwzl6/zsNYaWr10i03THZ0/Kre+BbFx02pRD3k=";
|
||||
};
|
||||
|
||||
gmpVersion = "6.3.0";
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
}:
|
||||
let
|
||||
pname = "gcc";
|
||||
version = "15.3.0";
|
||||
version = "16.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.xz";
|
||||
hash = "sha256-+lnBvu+JlfJ8TXHB3yJ1hxiTFdPm+v8btDBuYbDFMOs=";
|
||||
hash = "sha256-UO+02Uwzl6/zsNYaWr10i03THZ0/Kre+BbFx02pRD3k=";
|
||||
};
|
||||
|
||||
gmpVersion = "6.3.0";
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
}:
|
||||
let
|
||||
base = {
|
||||
version = "0-unstable-2024-07-29";
|
||||
version = "0-unstable-2026-07-01";
|
||||
nativeBuildInputs = [ unzip ];
|
||||
dontBuild = true;
|
||||
dontFixup = true;
|
||||
@@ -30,9 +30,10 @@ let
|
||||
}:
|
||||
let
|
||||
src = fetchFromGitHub {
|
||||
name = "nltk-${location}";
|
||||
owner = "nltk";
|
||||
repo = "nltk_data";
|
||||
rev = "cfe82914f3c2d24363687f1db3b05e8b9f687e2b";
|
||||
rev = "550b6625bcef1f2abff2ff770a5a0d272c9c6b2a";
|
||||
inherit hash;
|
||||
sparseCheckout = [ "packages/${location}/${pname}.zip" ];
|
||||
};
|
||||
@@ -60,7 +61,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "chunkers";
|
||||
hash = "sha256-kemjqaCM9hlKAdMw8oVJnp62EAC9rMQ50dKg7wlAwEc=";
|
||||
hash = "sha256-+n0TkS+/NHk0OqFZNQBLIcO/9uw56Mn7/AyNkRDGZEQ=";
|
||||
};
|
||||
|
||||
makeCorpus =
|
||||
@@ -68,7 +69,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "corpora";
|
||||
hash = "sha256-8lMjW5YI8h6dHJ/83HVY2OYGDyKPpgkUAKPISiAKqqk=";
|
||||
hash = "sha256-7uiTXZ+eMyBtH135NsYoAjLV6R/DG2hVV+RJwYDmu50=";
|
||||
};
|
||||
|
||||
makeGrammar =
|
||||
@@ -76,7 +77,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "grammars";
|
||||
hash = "sha256-pyLEcX3Azv8j1kCGvVYonuiNgVJxtWt7veU0S/yNbIM=";
|
||||
hash = "sha256-KoZ1q0F2X7bSFdbw1qK/jzZ3iuMJXTYHfogylO7nHEY=";
|
||||
};
|
||||
|
||||
makeHelp =
|
||||
@@ -84,7 +85,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "help";
|
||||
hash = "sha256-97mYLNES5WujLF5gD8Ul4cJ6LqSzz+jDzclUsdBeHNE=";
|
||||
hash = "sha256-2x3kemPdipHAj0TGYCm6Il5Aapx+fuo/jlNT9+XWbss=";
|
||||
};
|
||||
|
||||
makeMisc =
|
||||
@@ -92,7 +93,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "misc";
|
||||
hash = "sha256-XtizfEsc8TYWqvvC/eSFdha2ClC5/ZiJM8nue0vXLb4=";
|
||||
hash = "sha256-edBgrWM+eQgEGWq7oBHTebtvJPZcofCzzXSu3S9Fa1o=";
|
||||
};
|
||||
|
||||
makeModel =
|
||||
@@ -100,7 +101,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "models";
|
||||
hash = "sha256-iq3weEgCci6rgLW2j28F2eRLprJtInGXKe/awJPSVG4=";
|
||||
hash = "sha256-uTRr9pBfL1KZ7z8WTQPAiWlMn/os4ISa9tj/Si/RmtI=";
|
||||
};
|
||||
|
||||
makeTagger =
|
||||
@@ -108,7 +109,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "taggers";
|
||||
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
||||
hash = "sha256-V5bs0JUQgr4ijs2NaF5JXzVwT1e/ZYnlU0TZXeoqfM4=";
|
||||
};
|
||||
|
||||
makeTokenizer =
|
||||
@@ -116,7 +117,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "tokenizers";
|
||||
hash = "sha256-OzMkruoYbFKqzuimOXIpE5lhHz8tmSqOFoLT+fjdTVg=";
|
||||
hash = "sha256-V/Qs8wJbCZB8gp5pAAM1JK8aAfcHorNyvAkHUat56uY=";
|
||||
};
|
||||
|
||||
makeStemmer =
|
||||
@@ -124,7 +125,7 @@ let
|
||||
makeNltkDataPackage {
|
||||
inherit pname;
|
||||
location = "stemmers";
|
||||
hash = "sha256-mNefwOPVJGz9kXV3LV4DuV7FJpNir/Nwg4ujd0CogEk=";
|
||||
hash = "sha256-6sQQCA8r8jWRFImpiBovUt/IzHjh13W6X8yLpn61cs0=";
|
||||
};
|
||||
in
|
||||
lib.makeScope newScope (self: {
|
||||
@@ -152,6 +153,7 @@ lib.makeScope newScope (self: {
|
||||
crubadan = makeCorpus "crubadan";
|
||||
dependency-treebank = makeCorpus "dependency_treebank";
|
||||
dolch = makeCorpus "dolch";
|
||||
english_wordnet = makeCorpus "english_wordnet";
|
||||
europarl-raw = makeCorpus "europarl_raw";
|
||||
extended-omw = makeCorpus "extended_omw";
|
||||
floresta = makeCorpus "floresta";
|
||||
@@ -170,6 +172,7 @@ lib.makeScope newScope (self: {
|
||||
mac-morpho = makeCorpus "mac_morpho";
|
||||
machado = makeCorpus "machado";
|
||||
masc-tagged = makeCorpus "masc_tagged";
|
||||
mock_corpus = makeCorpus "mock_corpus";
|
||||
movie-reviews = makeCorpus "movie_reviews";
|
||||
mte-teip5 = makeCorpus "mte_teip5";
|
||||
names = makeCorpus "names";
|
||||
@@ -178,6 +181,7 @@ lib.makeScope newScope (self: {
|
||||
nps-chat = makeCorpus "nps_chat";
|
||||
omw = makeCorpus "omw";
|
||||
omw-1-4 = makeCorpus "omw-1.4";
|
||||
omw-2-0 = makeCorpus "omw-2.0";
|
||||
opinion-lexicon = makeCorpus "opinion_lexicon";
|
||||
panlex-swadesh = makeCorpus "panlex_swadesh";
|
||||
paradigms = makeCorpus "paradigms";
|
||||
|
||||
@@ -3266,7 +3266,7 @@ with pkgs;
|
||||
gerbilPackages-unstable = pkgs.gerbil-support.gerbilPackages-unstable; # NB: don't recurseIntoAttrs for (unstable!) libraries
|
||||
glow-lang = pkgs.gerbilPackages-unstable.glow-lang;
|
||||
|
||||
default-gcc-version = 15;
|
||||
default-gcc-version = 16;
|
||||
gcc = pkgs.${"gcc${toString default-gcc-version}"};
|
||||
gccFun = callPackage ../development/compilers/gcc;
|
||||
gcc-unwrapped = gcc.cc;
|
||||
|
||||
@@ -439,6 +439,8 @@ mapAliases {
|
||||
pilight = throw "'pilight' has been removed, because it is unmaintained since 2019 and the integration was removed from Home Assistant."; # added 2026-05-06
|
||||
pillow-avif-plugin = throw "'pillow-avif-plugin' has been removed because 'pillow' has native avif support since 11.3"; # added 2025-11-26
|
||||
pinecone-client = warnAlias "'pinecone-client' has been renamed to 'pinecone'" pinecone; # added 2026-07-22
|
||||
pinecone-plugin-assistant = throw "'pinecone-plugin-assistant' has been integrated into 'pinecone-client'"; # Added 2026-07-22
|
||||
pinecone-plugin-interface = throw "'pinecone-plugin-interface' has been removed because the plugin discovery system was retired in 'pinecone-client' 9"; # Added 2026-07-22
|
||||
pizzapi = throw "pizzapi was removed because it no longer works"; # added 2025-12-03
|
||||
pkuseg = throw "'pkuseg' has been removed because it was not supported on newer versions of Python"; # added 2026-01-20
|
||||
ploomber-extension = throw "'ploomber-extension' has been removed since the upstream repo was archived"; # added 2026-02-16
|
||||
|
||||
@@ -13199,10 +13199,6 @@ self: super: with self; {
|
||||
|
||||
pinecone = callPackage ../development/python-modules/pinecone { };
|
||||
|
||||
pinecone-plugin-assistant = callPackage ../development/python-modules/pinecone-plugin-assistant { };
|
||||
|
||||
pinecone-plugin-interface = callPackage ../development/python-modules/pinecone-plugin-interface { };
|
||||
|
||||
ping3 = callPackage ../development/python-modules/ping3 { };
|
||||
|
||||
pingouin = callPackage ../development/python-modules/pingouin { };
|
||||
|
||||
Reference in New Issue
Block a user