mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-25 18:10:37 +00:00
Compare commits
91 Commits
nixpkgs-un
...
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 | ||
|
|
aa7157b3f1 | ||
|
|
e220185ff6 | ||
|
|
73c5f78e27 | ||
|
|
c57500ad3e | ||
|
|
e702484147 | ||
|
|
c9b84ce04d | ||
|
|
f73579b2d5 | ||
|
|
9494ab4bd9 | ||
|
|
3addee54fd | ||
|
|
95bde44920 | ||
|
|
76bffde6ac | ||
|
|
36e02b4b99 | ||
|
|
ed4769576d | ||
|
|
444d7450c7 | ||
|
|
1506daf43d | ||
|
|
23ba2205c8 | ||
|
|
7474c5c868 | ||
|
|
fac37c4c35 | ||
|
|
c4c5631f12 | ||
|
|
49bf18108b | ||
|
|
b19ed873ce | ||
|
|
2ec3ef4e6b | ||
|
|
cbd4eedd14 | ||
|
|
498fffc48d | ||
|
|
f107f71070 | ||
|
|
8751b9fd7c | ||
|
|
f7497ede29 | ||
|
|
e25fe7a968 | ||
|
|
9494ef5d2c | ||
|
|
962224d36a | ||
|
|
34fd91c99c | ||
|
|
60bf249d13 | ||
|
|
c73eaa6a58 | ||
|
|
f200b2e380 | ||
|
|
a718e78415 | ||
|
|
87024b4b71 | ||
|
|
07b25d7bda | ||
|
|
1a0ca244f5 | ||
|
|
3dc4b3fbc7 | ||
|
|
b2e5b60488 | ||
|
|
10d5cd9553 | ||
|
|
c9193839c3 | ||
|
|
36e9c8af39 | ||
|
|
9b6be193ad | ||
|
|
6f508907ef | ||
|
|
dc5da543ff | ||
|
|
fd874ff11f | ||
|
|
087a32bcd9 | ||
|
|
2f7a8a8ae4 | ||
|
|
057fe69464 | ||
|
|
58fc186602 | ||
|
|
f28dc95c58 | ||
|
|
78b2be91ee | ||
|
|
7abf4cd10e | ||
|
|
5652a17cb0 | ||
|
|
c438dab486 | ||
|
|
e4d9d6766f | ||
|
|
59c4d804cb | ||
|
|
d4aeb8b3d1 |
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. -->
|
||||
|
||||
@@ -19943,6 +19943,12 @@
|
||||
name = "neo";
|
||||
email = "chojs990222@gmail.com";
|
||||
};
|
||||
neobrain = {
|
||||
github = "neobrain";
|
||||
githubId = 4840017;
|
||||
matrix = "@neobrain:matrix.org";
|
||||
name = "Tony Wasserka";
|
||||
};
|
||||
neonvoid = {
|
||||
email = "me@neonvoid.dev";
|
||||
github = "neonvoidx";
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -2346,8 +2346,8 @@ let
|
||||
mktplcRef = {
|
||||
name = "vscode-vibrancy-continued";
|
||||
publisher = "illixion";
|
||||
version = "1.1.84";
|
||||
hash = "sha256-NijfD83LfEAsYsZtKwj/sBVqzpXht6pvtVZCQUUdfq0=";
|
||||
version = "1.1.85";
|
||||
hash = "sha256-hHbBg7h8iab8ArbiuEx+a5zqr02hIu8DGHnvh0XwH9g=";
|
||||
};
|
||||
meta = {
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued";
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"chromium": {
|
||||
"version": "150.0.7871.181",
|
||||
"version": "150.0.7871.186",
|
||||
"chromedriver": {
|
||||
"version": "150.0.7871.182",
|
||||
"hash_darwin_aarch64": "sha256-JddVyl8sX2ab0M5qWoHslf1r+u8tkzkCZePR4M+eNMA="
|
||||
"version": "150.0.7871.187",
|
||||
"hash_darwin_aarch64": "sha256-+C3GByBglQ49VI/zJ5PqzYdo1bQUDNmHVtjPWx0A4ks="
|
||||
},
|
||||
"deps": {
|
||||
"depot_tools": {
|
||||
@@ -20,8 +20,8 @@
|
||||
"DEPS": {
|
||||
"src": {
|
||||
"url": "https://chromium.googlesource.com/chromium/src.git",
|
||||
"rev": "24b04c927b23c39cf9c5227cc8dc6f64a744c8e9",
|
||||
"hash": "sha256-F52wmxyNPEV26v8YgAz+MRhyEGyV7YUX+/wj95H4Lf0=",
|
||||
"rev": "0fcdce5f4fdec8d442d7df760cb541f1ca6e446d",
|
||||
"hash": "sha256-6coAYewN8RC5kx0PmmiV6mXQhLqWF3BZP320PmOcPvw=",
|
||||
"recompress": true
|
||||
},
|
||||
"src/third_party/clang-format/script": {
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
openvpn,
|
||||
stunnel,
|
||||
|
||||
gtk2,
|
||||
libayatana-indicator,
|
||||
|
||||
mono,
|
||||
@@ -70,7 +69,6 @@ buildDotnetModule (finalAttrs: {
|
||||
];
|
||||
|
||||
runtimeInputs = lib.makeLibraryPath [
|
||||
gtk2
|
||||
gtk3
|
||||
libayatana-indicator
|
||||
];
|
||||
|
||||
@@ -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})";
|
||||
|
||||
@@ -179,11 +179,11 @@ let
|
||||
|
||||
linux = stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit pname meta passthru;
|
||||
version = "150.0.7871.181";
|
||||
version = "150.0.7871.186";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${finalAttrs.version}-1_amd64.deb";
|
||||
hash = "sha256-/sUJBfexI1pECXeoM0duAWKHT1ynnlBs30C3GvZNkvQ=";
|
||||
hash = "sha256-QZPgC21dWWnuY/emlZaGj1RqoOjLB3s+C/nMHixxnQA=";
|
||||
};
|
||||
|
||||
# With strictDeps on, some shebangs were not being patched correctly
|
||||
@@ -289,11 +289,11 @@ let
|
||||
|
||||
darwin = stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit pname meta passthru;
|
||||
version = "150.0.7871.182";
|
||||
version = "150.0.7871.187";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dl.google.com/release2/chrome/mb6usb7722qbv5pqtlgpq72utm_150.0.7871.182/GoogleChrome-150.0.7871.182.dmg";
|
||||
hash = "sha256-eNrCQqKqd+6cuvGDbQ0VM5JpolHusOZou2elsAh0TD4=";
|
||||
url = "http://dl.google.com/release2/chrome/ecziwrw2etq4lm3vlbpv5wzvce_150.0.7871.187/GoogleChrome-150.0.7871.187.dmg";
|
||||
hash = "sha256-I1a+wR5zNfOSYyns2ehDek5DP1xccRQvmBLymxB/R7A=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
}:
|
||||
buildGo125Module (finalAttrs: {
|
||||
pname = "gotosocial";
|
||||
version = "0.22.0";
|
||||
version = "0.22.1";
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "superseriousbusiness";
|
||||
repo = "gotosocial";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-rslzi9WqPqN/wm9PN6SWdXtLdMRJJV6Hhb3whJ0RicU=";
|
||||
hash = "sha256-fRMQISOYf0rGcnNBpdlDeYWO0vvVwW0UPXdeT1y0+Ec=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
gtk-engine-murrine,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -30,8 +29,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/themes
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lexbor";
|
||||
version = "3.0.0-unstable-2026-05-26";
|
||||
version = "3.0.0-unstable-2026-07-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lexbor";
|
||||
repo = "lexbor";
|
||||
rev = "393e96313aed03c1d83f441479fc7507b9db9804";
|
||||
hash = "sha256-k/5JtruXdIHZZ/7Mg66yydslpxNxXKSmlaCNcRf/bXE='";
|
||||
rev = "de1d07a7765aad37090cc36f7fac3bb59e21467d";
|
||||
hash = "sha256-e8NcTvLCbyCLeGdmmZBM4fmTirWYrQ/46nNqAjAnDzM=";
|
||||
};
|
||||
|
||||
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 =
|
||||
|
||||
125
pkgs/by-name/mo/moonshine/package.nix
Normal file
125
pkgs/by-name/mo/moonshine/package.nix
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
lib,
|
||||
libevdev,
|
||||
libgbm,
|
||||
libGL,
|
||||
libopus,
|
||||
libx11,
|
||||
libxkbcommon,
|
||||
libxres,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
vulkan-loader,
|
||||
wayland,
|
||||
}:
|
||||
|
||||
let
|
||||
# Fetch the C++ sources of inputtino explicitly since the inputtino-sys crate requires them to be present.
|
||||
# Revision matches Cargo.lock
|
||||
inputtino-src = fetchFromGitHub {
|
||||
owner = "games-on-whales";
|
||||
repo = "inputtino";
|
||||
rev = "f4ce2b0df536ef309e9ff318f75b460f7097d7c1";
|
||||
hash = "sha256-mAAXbIK7aNSLyN7OZX9YeesMvT6OZmT9uAx0md6pyRM=";
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "moonshine";
|
||||
version = "0.13.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hgaiser";
|
||||
repo = "moonshine";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-DwRUVMAm4fSqZu6jECeasiRpnwBt7thWkXzztNRIjcs=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
cargoHash = "sha256-M/VNPnccqK3koa0TeMd+tml79O7BKLxHmrGcGPemGhI=";
|
||||
|
||||
# Build Moonshine binary and Vulkan layer
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
"moonshine"
|
||||
"-p"
|
||||
"moonshine-wsi"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libevdev
|
||||
libgbm
|
||||
libopus
|
||||
libxkbcommon
|
||||
wayland
|
||||
];
|
||||
|
||||
# Patch build.rs from inputtino-sys with the C++ inputtino sources.
|
||||
# Also drop the unneeded libc++ dependency.
|
||||
postPatch = ''
|
||||
grep -q 'inputtino#${inputtino-src.rev}' Cargo.lock || {
|
||||
echo "ERROR: inputtino revision needs update (must match Cargo.lock)"
|
||||
exit 1
|
||||
}
|
||||
|
||||
substituteInPlace $cargoDepsCopy/*/inputtino-sys-*/build.rs \
|
||||
--replace-fail 'PathBuf::from("../../../")' 'PathBuf::from("${inputtino-src}")' \
|
||||
--replace-fail 'println!("cargo:rustc-link-lib=c++");' ""
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Setup implicit Vulkan layer manifest as required by Moonshine
|
||||
install -d "$out/share/vulkan/implicit_layer.d"
|
||||
substitute dist/VkLayer_moonshine_wsi.json \
|
||||
"$out/share/vulkan/implicit_layer.d/VkLayer_moonshine_wsi.json" \
|
||||
--replace-fail /usr/lib/moonshine/vulkan-layers/libmoonshine_wsi.so \
|
||||
"$out/lib/libmoonshine_wsi.so"
|
||||
|
||||
# udev rules for input
|
||||
install -Dm644 dist/60-moonshine.rules "$out/lib/udev/rules.d/60-moonshine.rules"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchelf --add-rpath ${
|
||||
lib.makeLibraryPath [
|
||||
libGL
|
||||
vulkan-loader
|
||||
# Required by Steam focus protocol (x11_focus.rs)
|
||||
libx11
|
||||
libxres
|
||||
]
|
||||
} "$out/bin/moonshine"
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
# NOTE: If upstream bumps inputtino, this must be manually updated above
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Headless streaming server for Moonlight clients";
|
||||
longDescription = ''
|
||||
Moonshine lets you stream games from your PC to any device running Moonlight.
|
||||
Your keyboard, mouse, and controller inputs are sent back to the host so you
|
||||
can play games remotely as if you were sitting in front of it.
|
||||
'';
|
||||
homepage = "https://github.com/hgaiser/moonshine";
|
||||
changelog = "https://github.com/hgaiser/moonshine/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ neobrain ];
|
||||
mainProgram = "moonshine";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -185,7 +185,7 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
nativeCheckInputs =
|
||||
with pythonPackages;
|
||||
[
|
||||
pytestCheckHook
|
||||
pytest9_0CheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nvc";
|
||||
version = "1.21.1";
|
||||
version = "1.22.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nickg";
|
||||
repo = "nvc";
|
||||
tag = "r${finalAttrs.version}";
|
||||
hash = "sha256-l4eGEDZrAXOhN5hPQLy2TcQEsQ+TTSNZVBFVwNsoQCo=";
|
||||
hash = "sha256-Z8N4TskOak7tU3Kp5BfUahoXsP/LnCLx5mhAuXwG7qI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
python3Packages.buildPythonPackage (finalAttrs: {
|
||||
pname = "overturemaps";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-yKl13Y9kRCGHzoqeZIQEac/PrByTCtCQFaz8sUgeVIs=";
|
||||
};
|
||||
|
||||
@@ -30,11 +30,24 @@ python3Packages.buildPythonPackage rec {
|
||||
tqdm
|
||||
];
|
||||
|
||||
# Drop once tqdm 4.67.3 reaches master
|
||||
pythonRelaxDeps = [ "tqdm" ];
|
||||
|
||||
pythonImportsCheck = [ "overturemaps" ];
|
||||
|
||||
preCheck = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace-fail "testpaths = tests benchmarks" "testpaths = tests"
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires network
|
||||
"tests/test_changelog.py"
|
||||
"tests/test_gers.py"
|
||||
"tests/test_releases.py"
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Official command-line tool of the Overture Maps Foundation";
|
||||
homepage = "https://overturemaps.org/";
|
||||
@@ -42,4 +55,4 @@ python3Packages.buildPythonPackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ crimeminister ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -31,7 +31,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "powershell";
|
||||
version = "7.6.3";
|
||||
version = "7.6.4";
|
||||
|
||||
src =
|
||||
passthru.sources.${stdenv.hostPlatform.system}
|
||||
@@ -96,15 +96,15 @@ stdenv.mkDerivation rec {
|
||||
sources = {
|
||||
aarch64-darwin = fetchurl {
|
||||
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-osx-arm64.tar.gz";
|
||||
hash = "sha256-8CY8IHL+fQlTeBxgSXpXS+qZs3I38lVKWc5LrQfejTY=";
|
||||
hash = "sha256-//NxNTB9OlcDittE7e1sO03NLiVDgvSRO8JTSZ7zRp0=";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-linux-arm64.tar.gz";
|
||||
hash = "sha256-ehSjheyn3FvtwciqPYt2X0Sa2jCqvleFqf0zEmbrBi0=";
|
||||
hash = "sha256-1O8jgvpFLyzL20igGtu86e1klUhyEjlwwWvm0IbRIks=";
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-linux-x64.tar.gz";
|
||||
hash = "sha256-hW0HZdIzI3f516Sup279/eTeUURudzjd4t/aQdup4qc=";
|
||||
hash = "sha256-RHG1o2v+hux6+FJdNrscrLoBKOeqwi0FzAZLwA5gRyE=";
|
||||
};
|
||||
};
|
||||
tests.version = testers.testVersion {
|
||||
|
||||
@@ -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
|
||||
|
||||
3
pkgs/by-name/zf/zfstools/Gemfile
Normal file
3
pkgs/by-name/zf/zfstools/Gemfile
Normal file
@@ -0,0 +1,3 @@
|
||||
source "http://rubygems.org"
|
||||
|
||||
gem "getoptlong"
|
||||
14
pkgs/by-name/zf/zfstools/Gemfile.lock
generated
Normal file
14
pkgs/by-name/zf/zfstools/Gemfile.lock
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
GEM
|
||||
remote: http://rubygems.org/
|
||||
specs:
|
||||
getoptlong (0.2.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
getoptlong
|
||||
|
||||
BUNDLED WITH
|
||||
2.6.9
|
||||
12
pkgs/by-name/zf/zfstools/gemset.nix
generated
Normal file
12
pkgs/by-name/zf/zfstools/gemset.nix
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
getoptlong = {
|
||||
groups = [ "default" ];
|
||||
platforms = [ ];
|
||||
source = {
|
||||
remotes = [ "http://rubygems.org" ];
|
||||
sha256 = "198vy9dxyzibqdbw9jg8p2ljj9iknkyiqlyl229vz55rjxrz08zx";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.2.1";
|
||||
};
|
||||
}
|
||||
@@ -1,25 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
bundlerEnv,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
ruby,
|
||||
zfs,
|
||||
freebsd,
|
||||
makeWrapper,
|
||||
}:
|
||||
let
|
||||
rubyEnv = bundlerEnv {
|
||||
name = "zfstools-gems";
|
||||
gemdir = ./.;
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zfstools";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "16lvw3xbmxp2pr8nixqn7lf4504zaaxvbbdnjkv4dggwd4lsdjyg";
|
||||
rev = "v${finalAttrs.version}";
|
||||
repo = "zfstools";
|
||||
owner = "bdrewery";
|
||||
repo = "zfstools";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-z8umKWn8vUb2lLattbtSn4BCHD0W92hRvuL2uvrgm5o=";
|
||||
};
|
||||
|
||||
buildInputs = [ ruby ];
|
||||
buildInputs = [ rubyEnv.wrappedRuby ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
@@ -36,9 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs) version;
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "OpenSolaris-compatible auto-snapshotting script for ZFS";
|
||||
homepage = "https://github.com/bdrewery/zfstools";
|
||||
longDescription = ''
|
||||
zfstools is an OpenSolaris-like and compatible auto snapshotting script
|
||||
for ZFS, which also supports auto snapshotting mysql databases.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
docopt,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
passlib,
|
||||
poetry-core,
|
||||
pytest-logdog,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
transitions,
|
||||
websockets,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "amqtt";
|
||||
version = "unstable-2022-05-29";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Yakifo";
|
||||
repo = "amqtt";
|
||||
rev = "09ac98d39a711dcff0d8f22686916e1c2495144b";
|
||||
hash = "sha256-8T1XhBSOiArlUQbQ41LsUogDgOurLhf+M8mjIrrAC4s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'transitions = "^0.8.0"' 'transitions = "*"' \
|
||||
--replace 'websockets = ">=9.0,<11.0"' 'websockets = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
passlib
|
||||
pyyaml
|
||||
setuptools
|
||||
transitions
|
||||
websockets
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest-logdog
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlags = [ "--asyncio-mode=auto" ];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.12") [
|
||||
# stuck in epoll
|
||||
"test_publish_qos0"
|
||||
"test_publish_qos1"
|
||||
"test_publish_qos1_retry"
|
||||
"test_publish_qos2"
|
||||
"test_publish_qos2_retry"
|
||||
"test_receive_qos0"
|
||||
"test_receive_qos1"
|
||||
"test_receive_qos2"
|
||||
"test_start_stop"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test are not ported from hbmqtt yet
|
||||
"tests/test_client.py"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# Some tests need amqtt
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "amqtt" ];
|
||||
|
||||
meta = {
|
||||
description = "Python MQTT client and broker implementation";
|
||||
homepage = "https://amqtt.readthedocs.io/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
python,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
@@ -23,10 +23,7 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
# tests directory is set up, but has no tests
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest
|
||||
'';
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ciscomobilityexpress" ];
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "langchain-aws";
|
||||
version = "1.6.2";
|
||||
version = "1.6.3";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -39,7 +39,7 @@ buildPythonPackage (finalAttrs: {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-aws";
|
||||
tag = "langchain-aws==${finalAttrs.version}";
|
||||
hash = "sha256-MFlC9/9ZC1b5jAkvLRy2alcSYU5+KETJ6rIW05nLR5I=";
|
||||
hash = "sha256-BSq8b5hNfBRp2PkLXSJRpGqJ5+T48x0zQUYlgzzcz7E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
numpy,
|
||||
packaging,
|
||||
protobuf,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
@@ -68,9 +69,18 @@ buildPythonPackage {
|
||||
+ ''
|
||||
substituteInPlace google/protobuf/internal/json_format_test.py \
|
||||
--replace-warn assertRaisesRegexp assertRaisesRegex
|
||||
''
|
||||
# setuptools 81 dropped pkg_resources, parse versions via packaging module
|
||||
+ ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "import pkg_resources" "import packaging.version" \
|
||||
--replace-fail "pkg_resources.parse_version" "packaging.version.parse"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optional isPyPy tzdata;
|
||||
nativeBuildInputs = [
|
||||
packaging
|
||||
]
|
||||
++ lib.optional isPyPy tzdata;
|
||||
|
||||
buildInputs = [ protobuf ];
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "selectolax";
|
||||
version = "0.4.10";
|
||||
version = "0.4.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rushter";
|
||||
repo = "selectolax";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kLzeAz5dEUnD9zMN2iWt2FOCoF7MFpkjloB35wnB7VU=";
|
||||
hash = "sha256-YNYgAWaAaK4L/GfSnI+pX3XQ9/hXc7/kjkKUb1orStM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
amqtt,
|
||||
buildPythonPackage,
|
||||
certifi,
|
||||
docopt,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
geopy,
|
||||
mock,
|
||||
pytest-asyncio_0,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "volvooncall";
|
||||
version = "0.10.4";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "molobrakos";
|
||||
repo = "volvooncall";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-xr3g93rt3jvxVZrZY7cFh5eBP3k0arsejsgvx8p5EV4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove asynctest, https://github.com/molobrakos/volvooncall/pull/92
|
||||
(fetchpatch {
|
||||
name = "remove-asnyc.patch";
|
||||
url = "https://github.com/molobrakos/volvooncall/commit/ef0df403250288c00ed4c600e9dfa79dcba8941e.patch";
|
||||
hash = "sha256-U+hM7vzD9JSEUumvjPSLpVQcc8jAuZHG3/1dQ3wnIcA=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
optional-dependencies = {
|
||||
console = [
|
||||
certifi
|
||||
docopt
|
||||
geopy
|
||||
];
|
||||
mqtt = [
|
||||
amqtt
|
||||
certifi
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest-asyncio_0
|
||||
pytestCheckHook
|
||||
]
|
||||
++ finalAttrs.passthru.optional-dependencies.mqtt;
|
||||
|
||||
pythonImportsCheck = [ "volvooncall" ];
|
||||
|
||||
meta = {
|
||||
description = "Retrieve information from the Volvo On Call web service";
|
||||
homepage = "https://github.com/molobrakos/volvooncall";
|
||||
changelog = "https://github.com/molobrakos/volvooncall/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.unlicense;
|
||||
mainProgram = "voc";
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
})
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"testing": {
|
||||
"version": "7.2-rc3",
|
||||
"hash": "sha256:1nf6znpalqikblq6g0yb3hp7i689frhlhb4j1yxj6nn8fvma4rwd",
|
||||
"version": "7.2-rc4",
|
||||
"hash": "sha256:02qab36m7xzfwqdrylpacvlkjaxfa0mlnmk38fix6anqi3hgjq3q",
|
||||
"lts": false
|
||||
},
|
||||
"6.1": {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -87,6 +87,7 @@ mapAliases {
|
||||
amazon-kclpy = throw "amazon-kclpy has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
|
||||
amazon_kclpy = throw "'amazon_kclpy' has been renamed to/replaced by 'amazon-kclpy'"; # Converted to throw 2025-10-29
|
||||
amqplib = throw "amqplib has been removed as it was unmaintained upstream"; # Added 2025-11-22
|
||||
amqtt = throw "'amqtt' has been removed because it was broken and no longer used"; # added 2026-07-20
|
||||
ancp-bids = ancpbids; # added 2026-06-18
|
||||
ansible-vault-rw = ansible-vault; # Added 2026-07-10
|
||||
ansiconv = throw "ansiconv has been removed because it was archived upstream"; # Added 2026-01-14
|
||||
@@ -438,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
|
||||
@@ -698,6 +701,7 @@ mapAliases {
|
||||
vega_datasets = throw "'vega_datasets' has been renamed to/replaced by 'vega-datasets'"; # Converted to throw 2025-10-29
|
||||
ViennaRNA = throw "'ViennaRNA' has been renamed to/replaced by 'viennarna'"; # Converted to throw 2025-10-29
|
||||
vncdo = vncdotool; # Added 2026-06-30
|
||||
volvooncall = "'volvooncall' was removed because Home Assistant dropped the integration"; # added 2026-07-20
|
||||
vulcan-api = throw "vulcan-api has been removed. Their API has changed and they don't allow access from unofficial software anymore."; # added 2025-09-05
|
||||
vxi11 = throw "'vxi11' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-27
|
||||
Wand = throw "'Wand' has been renamed to/replaced by 'wand'"; # Converted to throw 2025-10-29
|
||||
|
||||
@@ -1067,8 +1067,6 @@ self: super: with self; {
|
||||
|
||||
amqp = callPackage ../development/python-modules/amqp { };
|
||||
|
||||
amqtt = callPackage ../development/python-modules/amqtt { };
|
||||
|
||||
amshan = callPackage ../development/python-modules/amshan { };
|
||||
|
||||
anchor-kr = callPackage ../development/python-modules/anchor-kr { };
|
||||
@@ -13201,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 { };
|
||||
@@ -21871,8 +21865,6 @@ self: super: with self; {
|
||||
|
||||
volvocarsapi = callPackage ../development/python-modules/volvocarsapi { };
|
||||
|
||||
volvooncall = callPackage ../development/python-modules/volvooncall { };
|
||||
|
||||
vowpalwabbit = callPackage ../development/python-modules/vowpalwabbit { };
|
||||
|
||||
vpk = callPackage ../development/python-modules/vpk { };
|
||||
|
||||
Reference in New Issue
Block a user