Merge staging-next into staging
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
vimUtils,
|
||||
vectorcode,
|
||||
vimPlugins,
|
||||
}:
|
||||
let
|
||||
inherit (vectorcode) src version;
|
||||
in
|
||||
vimUtils.buildVimPlugin {
|
||||
inherit src version;
|
||||
|
||||
pname = "vectorcode.nvim";
|
||||
|
||||
# nixpkgs-update: no auto update
|
||||
# This is built from the same source as vectorcode and will rebuild automatically
|
||||
|
||||
sourceRoot = "${src.name}/plugin";
|
||||
|
||||
dependencies = [
|
||||
vimPlugins.plenary-nvim
|
||||
];
|
||||
|
||||
buildInputs = [ vectorcode ];
|
||||
|
||||
postPatch = ''
|
||||
cp -r ../lua .
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Index and navigate your code repository using vectorcode";
|
||||
homepage = "https://github.com/Davidyz/VectorCode/blob/main/docs/neovim.md";
|
||||
inherit (vectorcode.meta) changelog license;
|
||||
maintainers = with lib.maintainers; [ sarahec ];
|
||||
};
|
||||
}
|
||||
@@ -38,14 +38,14 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "1.7.7";
|
||||
version = "1.7.8";
|
||||
pname = "syncthingtray";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Martchus";
|
||||
repo = "syncthingtray";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-q7qGL89gPlFLV+lJgO7ruBPI2pBzoHqiF/FD5KP3cnM=";
|
||||
hash = "sha256-aUIZJ+nSLs1W0zycu6Mz2pknJw4e+jNxaFLUpSP6EKA=";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
|
||||
+397
-397
File diff suppressed because it is too large
Load Diff
@@ -22,17 +22,17 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "aaaaxy";
|
||||
version = "1.6.194";
|
||||
version = "1.6.241";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "divVerent";
|
||||
repo = "aaaaxy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4iL3+GeyOZoZN8IXo0jjSq3hYHKBTpytk8owXMdfACo=";
|
||||
hash = "sha256-pfvz5qaGLhFw+UD4OL6R88Qw6Ml3Pn66ZMQI3f923JA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorHash = "sha256-XBcrs6G3Kq9WsODegy2KxqSp+qwr+NpdLJLa3qmW9kA=";
|
||||
vendorHash = "sha256-ojgI4HgNp2pbFAWeucdU8n3qW7ittAvp+ptDndCQlEI=";
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
|
||||
@@ -22,16 +22,16 @@ let
|
||||
in
|
||||
buildNpmPackage' rec {
|
||||
pname = "balena-cli";
|
||||
version = "21.1.14";
|
||||
version = "22.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "balena-io";
|
||||
repo = "balena-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6KiH7hgyltvWv/ZALnYZ9LkkTEp5aJ6X/3fNwcj0qck=";
|
||||
hash = "sha256-CJZY7mcWKYzB3+ifsm8/g+XcKPaIc7ca2Za7Qb/GbBE=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-jBxF179wdnH5j6cZLzuFm2XKd2n0iEjc+W1X+HGdJPg=";
|
||||
npmDepsHash = "sha256-x9pQqX/nLL4rykA6jgL4f0tHKWEJmR2QUeg3Lfy78D0=";
|
||||
|
||||
postPatch = ''
|
||||
ln -s npm-shrinkwrap.json package-lock.json
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-insta";
|
||||
version = "1.42.2";
|
||||
version = "1.43.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mitsuhiko";
|
||||
repo = "insta";
|
||||
rev = "e81bae9b7b7f536bd9057158fe5a219facced116";
|
||||
hash = "sha256-5IGp4WuC34wRB7xSiDWzScLvV26yjsdw/LT/7CN9hWc=";
|
||||
rev = version;
|
||||
hash = "sha256-8yFbf0MF5zDuMqG1AsCOvQhJc8D8cBH1WqCGulcXVH0=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-Vx26ArAcsW0NNVNZa4M5hqz/sm1gecrun/bbRWMu07Q=";
|
||||
cargoHash = "sha256-atPSV+dZgywgS+9M0LRtMqH4JP4UpYGjb2hyGAEwhkw=";
|
||||
|
||||
checkFlags = [
|
||||
# Depends on `rustfmt` and does not matter for packaging.
|
||||
|
||||
@@ -1,26 +1,5 @@
|
||||
{
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
python = python3.override {
|
||||
self = python3;
|
||||
packageOverrides = _: super: {
|
||||
amaranth = super.amaranth.overridePythonAttrs rec {
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amaranth-lang";
|
||||
repo = "amaranth";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-VMgycvxkphdpWIib7aZwh588En145RgYlG2Zfi6nnDo=";
|
||||
};
|
||||
|
||||
postPatch = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
python.pkgs.toPythonApplication python.pkgs.cynthion
|
||||
python3.pkgs.toPythonApplication python3.pkgs.cynthion
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "evil-helix";
|
||||
version = "20250413";
|
||||
version = "20250601";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "usagi-flow";
|
||||
repo = "evil-helix";
|
||||
rev = "release-${version}";
|
||||
hash = "sha256-0dXDAhnkkr5rh4UK0zkT3xYthk01VbNnRrYe5rD3oh4=";
|
||||
hash = "sha256-bsl9ltPXEhkcnnHFAXQMyBCh1qd+UBV0XK2EcJOe+eg=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
nixosTests,
|
||||
|
||||
arrow-glib,
|
||||
bison,
|
||||
c-ares,
|
||||
cmake,
|
||||
curl,
|
||||
fetchFromGitHub,
|
||||
flex,
|
||||
jemalloc,
|
||||
libbacktrace,
|
||||
libbpf,
|
||||
libnghttp2,
|
||||
libpq,
|
||||
libyaml,
|
||||
luajit,
|
||||
msgpack-c,
|
||||
nghttp2,
|
||||
nix-update-script,
|
||||
nixosTests,
|
||||
openssl,
|
||||
pkg-config,
|
||||
rdkafka,
|
||||
sqlite,
|
||||
systemd,
|
||||
versionCheckHook,
|
||||
zlib,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fluent-bit";
|
||||
# FIXME: We are deliberately on 3.2.6 as 3.2.7 and above are causing segfaults (https://github.com/fluent/fluent-bit/issues/10139)
|
||||
version = "3.2.6";
|
||||
version = "4.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fluent";
|
||||
repo = "fluent-bit";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-S0sb954n17z+zrVNkYd6yiV01aNbOLJLOV+34PRkSXQ=";
|
||||
hash = "sha256-hxlvidzrEE/5xzka414CerGQ/Vi2jXUnNvO/oSxrHQQ=";
|
||||
};
|
||||
|
||||
# The source build documentation covers some dependencies and CMake options.
|
||||
@@ -49,15 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Fortunately, there's the undocumented `FLB_PREFER_SYSTEM_LIBS` CMake option to link against system libraries for
|
||||
# some dependencies.
|
||||
#
|
||||
# See https://github.com/fluent/fluent-bit/blob/v3.2.6/CMakeLists.txt#L211-L218.
|
||||
#
|
||||
# Like `FLB_PREFER_SYSTEM_LIBS`, several CMake options aren't documented.
|
||||
#
|
||||
# See https://github.com/fluent/fluent-bit/blob/v3.2.6/CMakeLists.txt#L111-L157.
|
||||
#
|
||||
# The CMake options may differ across target platforms. We'll stick to the minimum.
|
||||
#
|
||||
# See https://github.com/fluent/fluent-bit/tree/v3.2.6/packaging/distros.
|
||||
# https://github.com/fluent/fluent-bit/blob/v4.0.2/CMakeLists.txt#L245
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -72,19 +64,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
arrow-glib
|
||||
c-ares
|
||||
# Needed by rdkafka.
|
||||
curl
|
||||
jemalloc
|
||||
libbacktrace
|
||||
libnghttp2
|
||||
libpq
|
||||
libyaml
|
||||
luajit
|
||||
msgpack-c
|
||||
nghttp2.dev
|
||||
openssl
|
||||
rdkafka
|
||||
# Needed by rdkafka.
|
||||
zlib
|
||||
# Needed by rdkafka.
|
||||
sqlite.dev
|
||||
zstd
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
|
||||
@@ -8,17 +8,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-cliff";
|
||||
version = "2.8.0";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "orhun";
|
||||
repo = "git-cliff";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-B421xXt7TrBJVwi04vygnw9t5o7/KLVpuItQtwV4E24=";
|
||||
hash = "sha256-ZxMwQBhU+49+MaId16tH2np2slgCmq4yKi6PI9Dy+o4=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-GGEKQgnSB2HW3VIj4CfxzUZaWYE2/nHJPN9ZMmHY5Ns=";
|
||||
cargoHash = "sha256-QPxrdmuQINzuZXyRRYDA+HguRdt6n++XuLj/OF0ceKU=";
|
||||
|
||||
# attempts to run the program on .git in src which is not deterministic
|
||||
doCheck = false;
|
||||
|
||||
@@ -10,17 +10,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hexpatch";
|
||||
version = "1.11.2";
|
||||
version = "1.11.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Etto48";
|
||||
repo = "HexPatch";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-xeHOViakCRMXQqmuUCeekL0tyYyh61OnU0zDk767NPU=";
|
||||
hash = "sha256-hGHvu727PbpqIFzfmBscD9kdwuXR0SRFZ3lbgXPxR24=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-3eaEgzGVSz6MjNqRGjzP8GoOZ/3eYOkI4Gd6+n+6vDg=";
|
||||
cargoHash = "sha256-zRNXGGpREk5xRODbGQ0SlYpU+bLPdXhlchQAc/nTsbs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
||||
@@ -28,13 +28,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "homepage-dashboard";
|
||||
version = "1.2.0";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gethomepage";
|
||||
repo = "homepage";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-B6hgQWAILfZNRFN4APX/3T2LcVj2FQPS/CAUdUA+drU=";
|
||||
hash = "sha256-45Z2XS+ij6J6WSCb9/oDQa2eC9wKu+D7ncYwcB6K5gQ=";
|
||||
};
|
||||
|
||||
# This patch ensures that the cache implementation respects the env
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src
|
||||
patches
|
||||
;
|
||||
hash = "sha256-1WsiSG+dZVpd28bBjf3EYn95sxMCXsQPd27/otWW0nI=";
|
||||
hash = "sha256-aPkXHKG3vDsfYqYx9q9+2wZhuFqmPcXdoBqOfAvW9oA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,11 +1,26 @@
|
||||
diff --git c/patches/next.patch i/patches/next.patch
|
||||
diff --git a/package.json b/package.json
|
||||
index bb093c43..deeb4b8b 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -66,6 +66,9 @@
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"sharp"
|
||||
- ]
|
||||
+ ],
|
||||
+ "patchedDependencies": {
|
||||
+ "next": "patches/next.patch"
|
||||
+ }
|
||||
}
|
||||
}
|
||||
diff --git a/patches/next.patch b/patches/next.patch
|
||||
new file mode 100644
|
||||
index 00000000..f4e808ed
|
||||
index 00000000..dd1d8b7c
|
||||
--- /dev/null
|
||||
+++ i/patches/next.patch
|
||||
+++ b/patches/next.patch
|
||||
@@ -0,0 +1,13 @@
|
||||
+diff --git a/dist/server/lib/incremental-cache/file-system-cache.js b/dist/server/lib/incremental-cache/file-system-cache.js
|
||||
+index cbf9f0ce142ecf2202ec957ccb5dffc7d176bed7..6a19329d33e471e9d49b4a80ccb712ab5b6f39a6 100644
|
||||
+index c5bbdefd8aa2e97df91df00d1686d63fe54c8c0d..4dcdd8760e5ed135f7509c289abb33b5005ed470 100644
|
||||
+--- a/dist/server/lib/incremental-cache/file-system-cache.js
|
||||
++++ b/dist/server/lib/incremental-cache/file-system-cache.js
|
||||
+@@ -24,7 +24,7 @@ class FileSystemCache {
|
||||
@@ -17,17 +32,17 @@ index 00000000..f4e808ed
|
||||
+ this.revalidatedTags = ctx.revalidatedTags;
|
||||
+ this.debug = !!process.env.NEXT_PRIVATE_DEBUG_CACHE;
|
||||
+ if (ctx.maxMemoryCacheSize) {
|
||||
diff --git c/pnpm-lock.yaml i/pnpm-lock.yaml
|
||||
index 170e380e..a6b1df1b 100644
|
||||
--- c/pnpm-lock.yaml
|
||||
+++ i/pnpm-lock.yaml
|
||||
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
|
||||
index e3387dea..05918fa6 100644
|
||||
--- a/pnpm-lock.yaml
|
||||
+++ b/pnpm-lock.yaml
|
||||
@@ -4,6 +4,11 @@ settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
+patchedDependencies:
|
||||
+ next:
|
||||
+ hash: 183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f
|
||||
+ hash: 9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab
|
||||
+ path: patches/next.patch
|
||||
+
|
||||
importers:
|
||||
@@ -36,17 +51,17 @@ index 170e380e..a6b1df1b 100644
|
||||
@@ -52,10 +57,10 @@ importers:
|
||||
version: 1.2.2
|
||||
next:
|
||||
specifier: ^15.2.4
|
||||
- version: 15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
+ version: 15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
specifier: ^15.3.1
|
||||
- version: 15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
+ version: 15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
next-i18next:
|
||||
specifier: ^12.1.0
|
||||
- version: 12.1.0(next@15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
+ version: 12.1.0(next@15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
- version: 12.1.0(next@15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
+ version: 12.1.0(next@15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
ping:
|
||||
specifier: ^0.4.4
|
||||
version: 0.4.4
|
||||
@@ -101,10 +106,6 @@ importers:
|
||||
@@ -98,10 +103,6 @@ importers:
|
||||
xml-js:
|
||||
specifier: ^1.6.11
|
||||
version: 1.6.11
|
||||
@@ -57,7 +72,7 @@ index 170e380e..a6b1df1b 100644
|
||||
devDependencies:
|
||||
'@tailwindcss/forms':
|
||||
specifier: ^0.5.10
|
||||
@@ -154,6 +155,10 @@ importers:
|
||||
@@ -151,6 +152,10 @@ importers:
|
||||
typescript:
|
||||
specifier: ^5.7.3
|
||||
version: 5.7.3
|
||||
@@ -68,37 +83,29 @@ index 170e380e..a6b1df1b 100644
|
||||
|
||||
packages:
|
||||
|
||||
@@ -4905,7 +4910,7 @@ snapshots:
|
||||
@@ -4901,7 +4906,7 @@ snapshots:
|
||||
|
||||
natural-compare@1.4.0: {}
|
||||
|
||||
- next-i18next@12.1.0(next@15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
+ next-i18next@12.1.0(next@15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
- next-i18next@12.1.0(next@15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
+ next-i18next@12.1.0(next@15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
dependencies:
|
||||
'@babel/runtime': 7.26.9
|
||||
'@types/hoist-non-react-statics': 3.3.6
|
||||
@@ -4913,14 +4918,14 @@ snapshots:
|
||||
@@ -4909,14 +4914,14 @@ snapshots:
|
||||
hoist-non-react-statics: 3.3.2
|
||||
i18next: 21.10.0
|
||||
i18next-fs-backend: 1.2.0
|
||||
- next: 15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
+ next: 15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
- next: 15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
+ next: 15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
react: 18.3.1
|
||||
react-i18next: 11.18.6(i18next@21.10.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
transitivePeerDependencies:
|
||||
- react-dom
|
||||
- react-native
|
||||
|
||||
- next@15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
+ next@15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
- next@15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
+ next@15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
dependencies:
|
||||
'@next/env': 15.2.4
|
||||
'@next/env': 15.3.1
|
||||
'@swc/counter': 0.1.3
|
||||
diff --git c/pnpm-workspace.yaml i/pnpm-workspace.yaml
|
||||
new file mode 100644
|
||||
index 00000000..fc500af5
|
||||
--- /dev/null
|
||||
+++ i/pnpm-workspace.yaml
|
||||
@@ -0,0 +1,2 @@
|
||||
+patchedDependencies:
|
||||
+ next: patches/next.patch
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "karmor";
|
||||
version = "1.3.4";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubearmor";
|
||||
repo = "kubearmor-client";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3WPelRhvK/9LY+TFDExcltszE1wVRr1MMY9Xjijj0so=";
|
||||
hash = "sha256-gFcv2VxKTozEAJvcncOc6X1Pn7HWomHgemCfyddZSJs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-HH3U1reZXG9w7uwnXbY33hsKlPCxbVb2yvw4KmBfOa0=";
|
||||
vendorHash = "sha256-4F/q6vYOGtLef+rrJXKhLwjM71NMNI4es4dKe1pohZU=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "manifold";
|
||||
version = "3.1.0";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elalish";
|
||||
repo = "manifold";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-GymlaLs6LIG/252suYnFrgeT1jwrYeIXMo++LCjFHD4=";
|
||||
hash = "sha256-dCCTjWRjXSyuEDxGI9ZS2UTmLdZVSmDOmHFnhox3N+4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -4,17 +4,16 @@
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
testers,
|
||||
notation,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "notation";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "notaryproject";
|
||||
repo = "notation";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-l9A5AwKJ/atN92Oral6PRH2nCbMJ+/ST9weXYRZXWms=";
|
||||
};
|
||||
|
||||
@@ -30,7 +29,7 @@ buildGoModule rec {
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/notaryproject/notation/internal/version.Version=${version}"
|
||||
"-X github.com/notaryproject/notation/internal/version.Version=${finalAttrs.version}"
|
||||
"-X github.com/notaryproject/notation/internal/version.BuildMetadata="
|
||||
];
|
||||
|
||||
@@ -42,7 +41,7 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = notation;
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "notation version";
|
||||
};
|
||||
|
||||
@@ -53,4 +52,4 @@ buildGoModule rec {
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
mainProgram = "notation";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -111,11 +111,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "petsc";
|
||||
version = "3.23.2";
|
||||
version = "3.23.3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-I/vxSo0CVvkcEPmbSahPog1MiyyG4IyNorrZUAPSTYw=";
|
||||
hash = "sha256-1ycMyER09PIN5JyT5nQxUe3GnaVC6WFUUiuug9aXyKc=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
{
|
||||
version = "1.22.1";
|
||||
version = "1.22.2";
|
||||
|
||||
x86_64-linux = {
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.1/linux/amd64/sysdig-cli-scanner";
|
||||
hash = "sha256-ogQ7NhpU0KZkcZXWSBX4VaTWwXz5WWMXhqZ9abHX6+Y=";
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.2/linux/amd64/sysdig-cli-scanner";
|
||||
hash = "sha256-YQxTMOqwtqEXfjRsEfpFGaFJIHox/CSNTUJ5YuFTMvk=";
|
||||
};
|
||||
|
||||
aarch64-linux = {
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.1/linux/arm64/sysdig-cli-scanner";
|
||||
hash = "sha256-apj4GqN7sdZSzpk+FvqcYJLgh+UlcJgPUdXhhurFENQ=";
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.2/linux/arm64/sysdig-cli-scanner";
|
||||
hash = "sha256-pz31MLVFn8Pv94wAGujuQK7b0AMjIQn+hTrTFpR5DeM=";
|
||||
};
|
||||
|
||||
x86_64-darwin = {
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.1/darwin/amd64/sysdig-cli-scanner";
|
||||
hash = "sha256-o5AYd3/8Ot7+EtQ2SXaV72JbR/hI/5Pu7g2jdHZYepo=";
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.2/darwin/amd64/sysdig-cli-scanner";
|
||||
hash = "sha256-Op8Z06UZIDOnjB6Vv4/TKMcRbseA/b+Z96sAbINSB04=";
|
||||
};
|
||||
|
||||
aarch64-darwin = {
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.1/darwin/arm64/sysdig-cli-scanner";
|
||||
hash = "sha256-FDkqWstWMTtF0QLWk+iadJr7aRHRnpiatqAeoHftVDk=";
|
||||
url = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/1.22.2/darwin/arm64/sysdig-cli-scanner";
|
||||
hash = "sha256-hink42tCUHCa7vHJzfLgMseofp+YaBdVX2HO7T8NFJo=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
diff --git a/tail-tray.desktop.in b/tail-tray.desktop.in
|
||||
index 2d1c7be..5e859ae 100644
|
||||
--- a/tail-tray.desktop.in
|
||||
+++ b/tail-tray.desktop.in
|
||||
@@ -2,8 +2,8 @@
|
||||
Name=Tail Tray
|
||||
GenericName=Tail Tray
|
||||
Comment=Tailscale Tray Application
|
||||
-Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/tail-tray
|
||||
-Icon=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@/icons/hicolor/128x128/apps/tailscale.png
|
||||
+Exec=@CMAKE_INSTALL_PREFIX@/bin/tail-tray
|
||||
+Icon=@CMAKE_INSTALL_PREFIX@/share/icons/hicolor/128x128/apps/tailscale.png
|
||||
Type=Application
|
||||
Categories=Qt;KDE;Utility;X-Networking;X-Internet;X-VPN;
|
||||
StartupNotify=true
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
davfs2,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
@@ -11,15 +12,24 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tail-tray";
|
||||
version = "0.2.22";
|
||||
version = "0.2.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SneWs";
|
||||
repo = "tail-tray";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-1tYuZBJFIGwub3wJR/Ms1Dybhn3KMzKYrpgzZEXwqWU=";
|
||||
hash = "sha256-fnr7EheVG3G4oLAe9liAy5qCDED/7eL0mUiE0qXsco4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/SneWs/tail-tray/pull/82
|
||||
(fetchpatch {
|
||||
name = "dont-use-absoulte-paths-in-desktop-file.patch";
|
||||
url = "https://github.com/SneWs/tail-tray/commit/08aa4a4e061f21c2dcd07c94249f2eb15c4e4416.patch";
|
||||
hash = "sha256-6YOJes40e2rgVabYns55M5h1FGyFG+gjSewCaXesT8U=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = with kdePackages; [
|
||||
wrapQtAppsHook
|
||||
qttools
|
||||
@@ -39,14 +49,10 @@ stdenv.mkDerivation rec {
|
||||
"-DDAVFS_ENABLED=ON"
|
||||
];
|
||||
|
||||
patches = [
|
||||
./desktop.patch
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Tray icon to manage Tailscale";
|
||||
homepage = "https://github.com/SneWs/tail-tray";
|
||||
changelog = "https://github.com/SneWs/tail-tray/releases/tag/${version}";
|
||||
changelog = "https://github.com/SneWs/tail-tray/releases/tag/${src.tag}";
|
||||
mainProgram = "tail-tray";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ Svenum ];
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vapoursynth";
|
||||
version = "71";
|
||||
version = "72";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vapoursynth";
|
||||
repo = "vapoursynth";
|
||||
rev = "R${version}";
|
||||
hash = "sha256-gFfkZaYIpQnDckYk6a8hGJCjBQxjjMIgzPZ4k2sVab4=";
|
||||
hash = "sha256-LRRz4471Rl/HwJ14zAkU/f2Acuofja8c0pGkuWihhsM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
libjpeg,
|
||||
libjxl,
|
||||
librsvg,
|
||||
libspng,
|
||||
libpng,
|
||||
libtiff,
|
||||
libwebp,
|
||||
matio,
|
||||
@@ -105,7 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libjpeg
|
||||
libjxl
|
||||
librsvg
|
||||
libspng
|
||||
libpng
|
||||
libtiff
|
||||
libwebp
|
||||
matio
|
||||
@@ -125,6 +125,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
(lib.mesonEnable "pdfium" false)
|
||||
(lib.mesonEnable "nifti" false)
|
||||
(lib.mesonEnable "spng" false) # we want to use libpng
|
||||
(lib.mesonEnable "introspection" withIntrospection)
|
||||
]
|
||||
++ lib.optional (!stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isFreeBSD) (
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wgpu-utils";
|
||||
version = "24.0.3";
|
||||
version = "25.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gfx-rs";
|
||||
repo = "wgpu";
|
||||
tag = "wgpu-v${version}";
|
||||
hash = "sha256-MoHpMdOKwCdQ2iO4O8WDskOQXgeFwpsD/UhQOhSbF70=";
|
||||
hash = "sha256-Na8UWMEzY0mvw8YERZ86PH79Z5YlXITPdOYha7Ahn7k=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-l7V8awY17YxVyBzWV+BHRva7FczZQxJy8c6xve27gjs=";
|
||||
cargoHash = "sha256-9o1Tb0pVTc3iWPjNlAPBQX72djcx3EPJhxuUW6xZfCs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
x264,
|
||||
x265,
|
||||
libavif,
|
||||
libspng,
|
||||
openh264,
|
||||
libyuv,
|
||||
xauth,
|
||||
@@ -166,7 +165,6 @@ buildPythonApplication rec {
|
||||
x264
|
||||
x265
|
||||
libavif
|
||||
libspng
|
||||
openh264
|
||||
libyuv
|
||||
xxHash
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
mkCoqDerivation,
|
||||
coq,
|
||||
rocqPackages,
|
||||
stdlib,
|
||||
coq-elpi,
|
||||
version ? null,
|
||||
@@ -96,4 +97,20 @@ hb.overrideAttrs (
|
||||
// lib.optionalAttrs (o.version != null && o.version == "1.8.1") {
|
||||
propagatedBuildInputs = o.propagatedBuildInputs ++ [ stdlib ];
|
||||
}
|
||||
# this is just a wrapper for rocqPackages.hierarchy-builder for Rocq >= 9.0
|
||||
//
|
||||
lib.optionalAttrs
|
||||
(coq.version != null && (coq.version == "dev" || lib.versions.isGe "9.0" coq.version))
|
||||
{
|
||||
configurePhase = ''
|
||||
echo no configuration
|
||||
'';
|
||||
buildPhase = ''
|
||||
echo building nothing
|
||||
'';
|
||||
installPhase = ''
|
||||
echo installing nothing
|
||||
'';
|
||||
propagatedBuildInputs = o.propagatedBuildInputs ++ [ rocqPackages.hierarchy-builder ];
|
||||
}
|
||||
)
|
||||
|
||||
@@ -573,24 +573,24 @@ self: super:
|
||||
|
||||
# Manually maintained
|
||||
cachix-api = overrideCabal (drv: {
|
||||
version = "1.7.8";
|
||||
version = "1.7.9";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "cachix";
|
||||
repo = "cachix";
|
||||
tag = "v1.7.8";
|
||||
hash = "sha256-pb5aYkE8FOoa4n123slgHiOf1UbNSnKe5pEZC+xXD5g=";
|
||||
tag = "v1.7.9";
|
||||
hash = "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=";
|
||||
};
|
||||
postUnpack = "sourceRoot=$sourceRoot/cachix-api";
|
||||
}) super.cachix-api;
|
||||
cachix = (
|
||||
overrideCabal
|
||||
(drv: {
|
||||
version = "1.7.8";
|
||||
version = "1.7.9";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "cachix";
|
||||
repo = "cachix";
|
||||
tag = "v1.7.8";
|
||||
hash = "sha256-pb5aYkE8FOoa4n123slgHiOf1UbNSnKe5pEZC+xXD5g=";
|
||||
tag = "v1.7.9";
|
||||
hash = "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=";
|
||||
};
|
||||
postUnpack = "sourceRoot=$sourceRoot/cachix";
|
||||
})
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xdg-desktop-portal";
|
||||
version = "1.20.0";
|
||||
version = "1.20.3";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "flatpak";
|
||||
repo = "xdg-desktop-portal";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-FHMa8fTr8qNEM5WptuMjMs/XOsvmFxi8pDaCrwJ3/ww=";
|
||||
hash = "sha256-ntTGEsk8GlXkp3i9RtF+T7jqnNdL2GVbu05d68WVTYc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
diff --git a/src/validate-icon.c b/src/validate-icon.c
|
||||
index c42265b..320f028 100644
|
||||
--- a/src/validate-icon.c
|
||||
+++ b/src/validate-icon.c
|
||||
@@ -254,7 +254,7 @@ flatpak_get_bwrap (void)
|
||||
@@ -12,9 +10,9 @@ index c42265b..320f028 100644
|
||||
g_autofree char* arg_input_fd = NULL;
|
||||
char validate_icon[PATH_MAX + 1];
|
||||
@@ -276,8 +276,7 @@ rerun_in_sandbox (int input_fd)
|
||||
"--unshare-ipc",
|
||||
"--unshare-net",
|
||||
"--unshare-pid",
|
||||
"--tmpfs", "/tmp",
|
||||
"--proc", "/proc",
|
||||
"--dev", "/dev",
|
||||
- "--ro-bind", "/usr", "/usr",
|
||||
- "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache",
|
||||
+ "--ro-bind", "@storeDir@", "@storeDir@",
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
diff --git a/src/validate-sound.c b/src/validate-sound.c
|
||||
index 7348d46..8b87c78 100644
|
||||
--- a/src/validate-sound.c
|
||||
+++ b/src/validate-sound.c
|
||||
@@ -234,7 +234,7 @@ flatpak_get_bwrap (void)
|
||||
@@ -12,9 +10,9 @@ index 7348d46..8b87c78 100644
|
||||
g_autoptr(GPtrArray) args = g_ptr_array_new_with_free_func (g_free);
|
||||
char validate_sound[PATH_MAX + 1];
|
||||
@@ -255,8 +255,7 @@ rerun_in_sandbox (int input_fd)
|
||||
"--unshare-ipc",
|
||||
"--unshare-net",
|
||||
"--unshare-pid",
|
||||
"--tmpfs", "/tmp",
|
||||
"--proc", "/proc",
|
||||
"--dev", "/dev",
|
||||
- "--ro-bind", "/usr", "/usr",
|
||||
- "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache",
|
||||
+ "--ro-bind", "@storeDir@", "@storeDir@",
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
diff --git a/src/xdp-portal-impl.c b/src/xdp-portal-impl.c
|
||||
index 770c265..a34ca8e 100644
|
||||
--- a/src/xdp-portal-impl.c
|
||||
+++ b/src/xdp-portal-impl.c
|
||||
@@ -277,6 +277,8 @@ load_installed_portals (gboolean opt_verbose)
|
||||
@@ -8,6 +6,6 @@ index 770c265..a34ca8e 100644
|
||||
portal_dir = g_getenv ("XDG_DESKTOP_PORTAL_DIR");
|
||||
+ if (portal_dir == NULL)
|
||||
+ portal_dir = g_getenv ("NIX_XDG_DESKTOP_PORTAL_DIR");
|
||||
if (portal_dir == NULL)
|
||||
portal_dir = DATADIR "/xdg-desktop-portal/portals";
|
||||
if (portal_dir != NULL)
|
||||
{
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coiled";
|
||||
version = "1.96.1";
|
||||
version = "1.100.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-iyjZGg7RNaguHVZFMSS65OiO0HC3bqZL7yeOaSGr+IE=";
|
||||
hash = "sha256-kB5kWIFQPxTcozVqfjMt58b9tAx9upTga4NdfplbbtI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -28,15 +27,14 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "cynthion";
|
||||
version = "0.1.8";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greatscottgadgets";
|
||||
repo = "cynthion";
|
||||
tag = version;
|
||||
hash = "sha256-twkCv47Goob2cO7FeHegvab3asf8fqbY9qg97Vw4ZCo=";
|
||||
hash = "sha256-rbvw2eieZwTxStwCRuvIx/f4vdPsOFnV/U80Ga+fNPA=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/cynthion/python";
|
||||
@@ -75,11 +73,10 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "cynthion" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/greatscottgadgets/cynthion/releases/tag/${version}";
|
||||
changelog = "https://github.com/greatscottgadgets/cynthion/releases/tag/${src.tag}";
|
||||
description = "Python package and utilities for the Great Scott Gadgets Cynthion USB Test Instrument";
|
||||
homepage = "https://github.com/greatscottgadgets/cynthion";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ carlossless ];
|
||||
broken = lib.versionAtLeast amaranth.version "0.5";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,19 +20,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "granian";
|
||||
version = "2.3.1";
|
||||
version = "2.3.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emmett-framework";
|
||||
repo = "granian";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-LDO5lyEk9ZJOfccVNYU6mIGJV952Z7NgMweQWclxQ9o=";
|
||||
hash = "sha256-qJ65ILj7xLqOWmpn1UzNQHUnzFg714gntVSmYHpI65I=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
hash = "sha256-NYOORW3OQXSqmDMsFWjNl6UmN1RO/hAz+nuLfm/y6Uk=";
|
||||
hash = "sha256-swfqKp8AsxNAUc7dlce6J4dNQbNGWrCcUDc31AhuMmI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -13,15 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "luna-soc";
|
||||
version = "0.2.2";
|
||||
version = "0.3.2";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greatscottgadgets";
|
||||
repo = "luna-soc";
|
||||
tag = version;
|
||||
hash = "sha256-fP2Pg0H/Aj3nFP0WG1yZjfZMqLutLwmibTohWUbgG34=";
|
||||
hash = "sha256-Rks1wC0CR5FSu4TrE1thzolT3QBd0yh7q+SxZ1U+pB4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -21,15 +20,14 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "luna-usb";
|
||||
version = "0.1.3";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greatscottgadgets";
|
||||
repo = "luna";
|
||||
tag = version;
|
||||
hash = "sha256-BKFfEkhgOH0lYfkAE94h27pb+T/uJxKFmMeVJI9I3qg=";
|
||||
hash = "sha256-SVpAPq77IH2/2WZrc25j7q6qTMW2ToPY5lYQcYUlJfs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -70,6 +68,5 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/greatscottgadgets/luna";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ carlossless ];
|
||||
broken = lib.versionAtLeast amaranth.version "0.5";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "manifold3d";
|
||||
version = "3.1.0";
|
||||
version = "3.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elalish";
|
||||
repo = "manifold";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-GymlaLs6LIG/252suYnFrgeT1jwrYeIXMo++LCjFHD4=";
|
||||
hash = "sha256-dCCTjWRjXSyuEDxGI9ZS2UTmLdZVSmDOmHFnhox3N+4=";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "netbox-contract";
|
||||
version = "2.4.0";
|
||||
version = "2.3.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonAtLeast "3.13";
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "mlebreuil";
|
||||
repo = "netbox-contract";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-duA53cuJ3q6CRp239xNMXQhGZHGn7IBIGNLoxt7hZh8=";
|
||||
hash = "sha256-e3N0m+oj2CMUXwI4dF/tXA+Lz+9+ZlbJAy+zHoRDNtw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Contract plugin for netbox";
|
||||
homepage = "https://github.com/mlebreuil/netbox-contract";
|
||||
changelog = "https://github.com/mlebreuil/netbox-contract/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/mlebreuil/netbox-contract/releases/tag/${src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ felbinger ];
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "owslib";
|
||||
version = "0.33.0";
|
||||
version = "0.34.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "geopython";
|
||||
repo = "OWSLib";
|
||||
tag = version;
|
||||
hash = "sha256-Qp8Ow39r6u/6h9+2Qa7WMzrs6Lyek07tWYtxtvVgM/Y=";
|
||||
hash = "sha256-6jY5QvNObAV7+eJP0cB5PSmVQ3Z+Bs4OoCJIlggcFW0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
future,
|
||||
hypothesis,
|
||||
packaging,
|
||||
parameterized,
|
||||
@@ -53,7 +52,6 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
future
|
||||
hypothesis
|
||||
parameterized
|
||||
pytest-cov-stub
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# build-system
|
||||
cymem,
|
||||
cython_0,
|
||||
cython,
|
||||
murmurhash,
|
||||
numpy,
|
||||
preshed,
|
||||
@@ -47,19 +47,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spacy";
|
||||
version = "3.8.6";
|
||||
version = "3.8.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
repo = "spaCy";
|
||||
tag = "release-v${version}";
|
||||
hash = "sha256-Zy2RLib/B9fLtcqO24ltvn1PUD68l9Rf7nHH4XuT6to=";
|
||||
hash = "sha256-mRra5/4W3DFVI/KbReTg2Ey9mOC6eQQ31/QDt7Pw0fU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cymem
|
||||
cython_0
|
||||
cython
|
||||
murmurhash
|
||||
numpy
|
||||
preshed
|
||||
@@ -129,7 +129,7 @@ buildPythonPackage rec {
|
||||
]
|
||||
}
|
||||
|
||||
nix-update python3Packages.spacy
|
||||
nix-update python3Packages.spacy --version-regex 'release-v([0-9.]+)'
|
||||
|
||||
# update spacy models as well
|
||||
echo | nix-shell maintainers/scripts/update.nix --argstr package python3Packages.spacy-models.en_core_web_sm
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "trl";
|
||||
version = "0.15.2";
|
||||
version = "0.17.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "trl";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-HsSmFXFqDOWVLa6VXdPZVS9C3bjYcsliR0TwNpPiQx4=";
|
||||
hash = "sha256-kRZhtrKGNTJ9TJypRG9dABNn00w77dwx+JxT+2PUrfY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -46,7 +46,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Train transformer language models with reinforcement learning";
|
||||
homepage = "https://github.com/huggingface/trl";
|
||||
changelog = "https://github.com/huggingface/trl/releases/tag/v${version}";
|
||||
changelog = "https://github.com/huggingface/trl/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ hoh ];
|
||||
};
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
datasets,
|
||||
hf-transfer,
|
||||
huggingface-hub,
|
||||
msgspec,
|
||||
packaging,
|
||||
peft,
|
||||
psutil,
|
||||
@@ -26,14 +27,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unsloth-zoo";
|
||||
version = "2025.4.1";
|
||||
version = "2025.5.11";
|
||||
pyproject = true;
|
||||
|
||||
# no tags on GitHub
|
||||
src = fetchPypi {
|
||||
pname = "unsloth_zoo";
|
||||
inherit version;
|
||||
hash = "sha256-mRs/NMCNJWT52S7mtbQI332IQR6+/IaL29XmtMOz3fE=";
|
||||
hash = "sha256-QRKcFkNlr7pICEy3il+za6hDYjvsSxHIBM6VaB1c5mk=";
|
||||
};
|
||||
|
||||
# pyproject.toml requires an obsolete version of protobuf,
|
||||
@@ -41,6 +42,7 @@ buildPythonPackage rec {
|
||||
# Upstream issue: https://github.com/unslothai/unsloth-zoo/pull/68
|
||||
pythonRelaxDeps = [
|
||||
"protobuf"
|
||||
"transformers"
|
||||
];
|
||||
|
||||
patches = [
|
||||
@@ -59,6 +61,7 @@ buildPythonPackage rec {
|
||||
datasets
|
||||
hf-transfer
|
||||
huggingface-hub
|
||||
msgspec
|
||||
packaging
|
||||
peft
|
||||
psutil
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
diff --git a/unsloth_zoo/__init__.py b/unsloth_zoo/__init__.py
|
||||
index a629854..06014b1 100644
|
||||
--- a/unsloth_zoo/__init__.py
|
||||
+++ b/unsloth_zoo/__init__.py
|
||||
@@ -17,14 +17,10 @@
|
||||
__version__ = "2025.3.17"
|
||||
@@ -17,8 +17,6 @@
|
||||
__version__ = "2025.5.11"
|
||||
|
||||
from importlib.util import find_spec
|
||||
-if find_spec("unsloth") is None:
|
||||
@@ -10,6 +11,17 @@ diff --git a/unsloth_zoo/__init__.py b/unsloth_zoo/__init__.py
|
||||
pass
|
||||
del find_spec
|
||||
|
||||
@@ -28,13 +26,14 @@ def get_device_type():
|
||||
return "cuda"
|
||||
elif hasattr(torch, "xpu") and torch.xpu.is_available():
|
||||
return "xpu"
|
||||
+ else:
|
||||
+ # Allow import during tests
|
||||
+ return None
|
||||
raise NotImplementedError("Unsloth currently only works on NVIDIA GPUs and Intel GPUs.")
|
||||
pass
|
||||
DEVICE_TYPE : str = get_device_type()
|
||||
|
||||
import os
|
||||
-if not ("UNSLOTH_IS_PRESENT" in os.environ):
|
||||
- raise ImportError("Please install Unsloth via `pip install unsloth`!")
|
||||
|
||||
@@ -31,14 +31,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unsloth";
|
||||
version = "2025.4.1";
|
||||
version = "2025.5.9";
|
||||
pyproject = true;
|
||||
|
||||
# Tags on the GitHub repo don't match
|
||||
src = fetchPypi {
|
||||
pname = "unsloth";
|
||||
inherit version;
|
||||
hash = "sha256-9LtDGfdWH7R3U/xi+aK3V4zA+vs83S6Cp0F2NQKvSdY=";
|
||||
hash = "sha256-ud4+6BmyNvtvJz56dhS9SIXxTDw740rSfxxoi5itw4U=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -73,6 +73,7 @@ buildPythonPackage rec {
|
||||
# Upstream issue: https://github.com/unslothai/unsloth-zoo/pull/68
|
||||
pythonRelaxDeps = [
|
||||
"protobuf"
|
||||
"transformers"
|
||||
];
|
||||
|
||||
# The source repository contains no test
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
mkRocqDerivation,
|
||||
rocq-core,
|
||||
rocq-elpi,
|
||||
version ? null,
|
||||
}:
|
||||
|
||||
let
|
||||
hb = mkRocqDerivation {
|
||||
pname = "hierarchy-builder";
|
||||
owner = "math-comp";
|
||||
inherit version;
|
||||
defaultVersion =
|
||||
with lib.versions;
|
||||
lib.switch rocq-core.rocq-version [
|
||||
{
|
||||
case = range "9.0" "9.0";
|
||||
out = "1.9.1";
|
||||
}
|
||||
] null;
|
||||
release."1.9.1".sha256 = "sha256-AiS0ezMyfIYlXnuNsVLz1GlKQZzJX+ilkrKkbo0GrF0=";
|
||||
releaseRev = v: "v${v}";
|
||||
|
||||
propagatedBuildInputs = [ rocq-elpi ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High level commands to declare a hierarchy based on packed classes";
|
||||
maintainers = with maintainers; [
|
||||
cohencyril
|
||||
siraben
|
||||
];
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
in
|
||||
hb.overrideAttrs (
|
||||
o:
|
||||
lib.optionalAttrs (o.version == "1.9.1") { installFlags = [ "DESTDIR=$(out)" ] ++ o.installFlags; }
|
||||
)
|
||||
@@ -16,16 +16,16 @@ let
|
||||
variants = {
|
||||
# ./update-zen.py zen
|
||||
zen = {
|
||||
version = "6.14.7"; # zen
|
||||
version = "6.14.9"; # zen
|
||||
suffix = "zen1"; # zen
|
||||
sha256 = "04vcy71wjs6n1ahnva55i0czayn96w8qq0b0v0qymcq9lrbms2mr"; # zen
|
||||
sha256 = "1v28cdv8dyn5181z242f63ns6b472jx8a7wmw77n5wijj8fv5ba1"; # zen
|
||||
isLqx = false;
|
||||
};
|
||||
# ./update-zen.py lqx
|
||||
lqx = {
|
||||
version = "6.14.7"; # lqx
|
||||
version = "6.14.9"; # lqx
|
||||
suffix = "lqx1"; # lqx
|
||||
sha256 = "0in1ymvnac9kic974r5sqkk730fm71d49q0cgzk7lj1ykd9jzxpp"; # lqx
|
||||
sha256 = "1f8sram3xabv119pznpixpm5igyxf33wkg4v8fm5nh9c9g91q19j"; # lqx
|
||||
isLqx = true;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "auto-entities";
|
||||
version = "1.15.1";
|
||||
version = "1.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thomasloven";
|
||||
repo = "lovelace-auto-entities";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-dGTbF7KO59Flw470i5U+0/ROEZYKe0KH9Y2R4JVyvd8=";
|
||||
hash = "sha256-yMqf4LA/fBTIrrYwacUTb2fL758ZB1k471vdsHAiOj8=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-OvXlCqD9KI4D9xsTY7morOzXsB+3w12METm2uvcO9h8=";
|
||||
npmDepsHash = "sha256-XLhTLK08zW1BFj/PI8/61FWzoyvWi5X5sEkGlF1IuZU=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -37,6 +37,7 @@ let
|
||||
mkRocqDerivation = lib.makeOverridable (callPackage ../build-support/rocq { });
|
||||
|
||||
bignums = callPackage ../development/rocq-modules/bignums { };
|
||||
hierarchy-builder = callPackage ../development/rocq-modules/hierarchy-builder { };
|
||||
rocq-elpi = callPackage ../development/rocq-modules/rocq-elpi { };
|
||||
stdlib = callPackage ../development/rocq-modules/stdlib { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user