Merge master into staging-next
This commit is contained in:
commit
636429202b
@ -772,6 +772,12 @@
|
||||
githubId = 1141462;
|
||||
name = "Vladyslav Pekker";
|
||||
};
|
||||
agvantibo = {
|
||||
email = "apicalium@gmail.com";
|
||||
github = "agvantibo-again";
|
||||
githubId = 207841739;
|
||||
name = "Savchenko Dmitriy";
|
||||
};
|
||||
aherrmann = {
|
||||
email = "andreash87@gmx.ch";
|
||||
github = "aherrmann";
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
{
|
||||
x86_64-linux = "/nix/store/pzwdmrz94mya45m1jnsf294c0g3cwy9m-nix-2.28.2";
|
||||
i686-linux = "/nix/store/vzqxry2dwq9nzr2y0jk1q7qv3ygv14m1-nix-2.28.2";
|
||||
aarch64-linux = "/nix/store/52zak9psh00w8c8iz8x0ny33in5wwr83-nix-2.28.2";
|
||||
riscv64-linux = "/nix/store/rkggav1j9wb55zc8jsl1vg81s831aqj8-nix-riscv64-unknown-linux-gnu-2.28.2";
|
||||
x86_64-darwin = "/nix/store/afwsvhzqf936zx5v4i7ynqah2qhq7qyj-nix-2.28.2";
|
||||
aarch64-darwin = "/nix/store/djcysgb0pgrigaqfnmraviv6nix786zi-nix-2.28.2";
|
||||
x86_64-linux = "/nix/store/pfh6bq2wxbpp3xz5sinymmp44n505zh8-nix-2.28.3";
|
||||
i686-linux = "/nix/store/nfxdfb9zcrm9sqkw8xhdqs7vcvrwp1k2-nix-2.28.3";
|
||||
aarch64-linux = "/nix/store/7w6fj8s7h4pcmx38m1f51xd93ywizm4i-nix-2.28.3";
|
||||
riscv64-linux = "/nix/store/nnynd5vfd6pf9jkp13bmj44rlrd61l3h-nix-riscv64-unknown-linux-gnu-2.28.3";
|
||||
x86_64-darwin = "/nix/store/rdxbh5m09c9i2s7zkh7b8g6mnrpmaa19-nix-2.28.3";
|
||||
aarch64-darwin = "/nix/store/wjrdsqbaial7pl9vfhqc7cpzd9lqcr6a-nix-2.28.3";
|
||||
}
|
||||
|
||||
@ -408,13 +408,12 @@ let
|
||||
return
|
||||
fi
|
||||
|
||||
if [ ! -z "$k_user" ]; then
|
||||
new_k_luks="$(echo -n $k_user | pbkdf2-sha512 ${toString dev.yubikey.keyLength} $new_iterations $new_response | rbtohex)"
|
||||
if [ -n "$k_user" ]; then
|
||||
echo -n $k_user
|
||||
else
|
||||
new_k_luks="$(echo | pbkdf2-sha512 ${toString dev.yubikey.keyLength} $new_iterations $new_response | rbtohex)"
|
||||
fi
|
||||
echo
|
||||
fi | pbkdf2-sha512 ${toString dev.yubikey.keyLength} $new_iterations $new_response > /crypt-ramfs/new_key
|
||||
|
||||
echo -n "$new_k_luks" | hextorb > /crypt-ramfs/new_key
|
||||
echo -n "$k_luks" | hextorb | ${cschange} --key-file=- /crypt-ramfs/new_key
|
||||
|
||||
if [ $? == 0 ]; then
|
||||
|
||||
@ -14480,6 +14480,19 @@ final: prev: {
|
||||
meta.hydraPlatforms = [ ];
|
||||
};
|
||||
|
||||
tinted-vim = buildVimPlugin {
|
||||
pname = "tinted-vim";
|
||||
version = "2025-04-27";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tinted-theming";
|
||||
repo = "tinted-vim";
|
||||
rev = "e9b507ef9e88f364777d5982912ada3821e84200";
|
||||
sha256 = "1glyhckl36m7a0z1il1r95gfglvyw65ig7vq53kfph6xxvr3hkmk";
|
||||
};
|
||||
meta.homepage = "https://github.com/tinted-theming/tinted-vim/";
|
||||
meta.hydraPlatforms = [ ];
|
||||
};
|
||||
|
||||
tiny-devicons-auto-colors-nvim = buildVimPlugin {
|
||||
pname = "tiny-devicons-auto-colors.nvim";
|
||||
version = "2025-01-03";
|
||||
|
||||
@ -1111,6 +1111,7 @@ https://github.com/ron89/thesaurus_query.vim/,,
|
||||
https://github.com/itchyny/thumbnail.vim/,,
|
||||
https://github.com/vim-scripts/timestamp.vim/,,
|
||||
https://github.com/levouh/tint.nvim/,HEAD,
|
||||
https://github.com/tinted-theming/tinted-vim/,HEAD,
|
||||
https://github.com/rachartier/tiny-devicons-auto-colors.nvim/,HEAD,
|
||||
https://github.com/rachartier/tiny-inline-diagnostic.nvim/,HEAD,
|
||||
https://github.com/tomtom/tinykeymap_vim/,,tinykeymap
|
||||
|
||||
@ -27,7 +27,7 @@ let
|
||||
fetcherOpts,
|
||||
}:
|
||||
(
|
||||
if module ? "resolved" then
|
||||
if module ? "resolved" && module.resolved != null then
|
||||
(
|
||||
let
|
||||
# Parse scheme from URL
|
||||
|
||||
@ -8,15 +8,15 @@
|
||||
which,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "alan";
|
||||
version = "3.0beta8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alan-if";
|
||||
repo = "alan";
|
||||
rev = "v${version}";
|
||||
sha256 = "0zfg1frmb4yl39hk8h733bmlwk4rkikzfhvv7j34cxpdpsp7spzl";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-9F99rr7tdkaGPHtD92ecmUxO6xrjQDRhGtSTVbMLz30=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/alan/examples
|
||||
# Build the release tarball
|
||||
make package
|
||||
@ -37,6 +39,8 @@ stdenv.mkDerivation rec {
|
||||
mv $out/share/alan/{alan,arun} $out/bin
|
||||
# a2a3 isn't included in the release tarball
|
||||
cp bin/a2a3 $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -46,11 +50,11 @@ stdenv.mkDerivation rec {
|
||||
which
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://www.alanif.se/";
|
||||
description = "Alan interactive fiction language";
|
||||
license = licenses.artistic2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ neilmayhew ];
|
||||
license = lib.licenses.artistic2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ neilmayhew ];
|
||||
};
|
||||
}
|
||||
})
|
||||
48
pkgs/by-name/al/alan_2/package.nix
Normal file
48
pkgs/by-name/al/alan_2/package.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "alan2";
|
||||
version = "2.8.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alan-if";
|
||||
repo = "alan";
|
||||
rev = "71f23ec79f7f5d66aa5ae9fd3f9b8dae41a89f15";
|
||||
hash = "sha256-lqrMnfANgQtXTAmzxzHaJMAyqHNOdrerjtrs8LGd0hg=";
|
||||
};
|
||||
|
||||
makefile = "Makefile.unix";
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
# Add a workaround for -fno-common toolchains like upstream gcc-10.
|
||||
# alan-3 is already fixed, but the backport is nontrivial.
|
||||
"-fcommon"
|
||||
# smScSema.c:142:11: error: assignment to 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types]
|
||||
"-Wno-error=incompatible-pointer-types"
|
||||
# smScSema.c:183:10: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
|
||||
"-Wno-error=implicit-function-declaration"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/alan2
|
||||
cp compiler/alan $out/bin/alan2
|
||||
cp interpreter/arun $out/bin/arun2
|
||||
cp alan.readme ChangeLog $out/share/alan2
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.alanif.se/";
|
||||
description = "Alan interactive fiction language (legacy version)";
|
||||
license = lib.licenses.artistic2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ neilmayhew ];
|
||||
};
|
||||
}
|
||||
@ -64,14 +64,14 @@ let
|
||||
in
|
||||
py.pkgs.buildPythonApplication rec {
|
||||
pname = "awscli2";
|
||||
version = "2.26.4"; # N.B: if you change this, check if overrides are still up-to-date
|
||||
version = "2.27.2"; # N.B: if you change this, check if overrides are still up-to-date
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-cli";
|
||||
tag = version;
|
||||
hash = "sha256-QpN4VdRUzWlb0bN8pTbvfZMbCvYwqKJgpPh5UdykzFg=";
|
||||
hash = "sha256-rdgjA6t5L4mNKnyRyNdIyzX6fjMUgbD0YCjresK94Dg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
40
pkgs/by-name/bl/bluesnooze/package.nix
Normal file
40
pkgs/by-name/bl/bluesnooze/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
fetchurl,
|
||||
lib,
|
||||
stdenv,
|
||||
unzip,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bluesnooze";
|
||||
version = "1.2";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/odlp/bluesnooze/releases/download/v${finalAttrs.version}/Bluesnooze.zip";
|
||||
hash = "sha256-B1qLfPj2bU9AAsYqGYWl0/sEPj3wnn/UBeiM4kqW/rA=";
|
||||
};
|
||||
|
||||
# Needed to avoid the binary becoming corrupted and mac refusing to open it. I
|
||||
# don't know why.
|
||||
dontFixup = true;
|
||||
|
||||
# "unpack" phase does the unzipping automatically
|
||||
nativeBuildInputs = [ unzip ];
|
||||
sourceRoot = "."; # squash "unpacker produced multiple directories" error
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/Applications"
|
||||
cp -r Bluesnooze.app $out/Applications/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Bluesnooze prevents your sleeping Mac from connecting to Bluetooth accessories";
|
||||
homepage = "https://github.com/odlp/bluesnooze";
|
||||
changelog = "https://github.com/odlp/bluesnooze/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ craigf ];
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
@ -45,11 +45,11 @@ let
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "copilot-language-server";
|
||||
version = "1.304.0";
|
||||
version = "1.311.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/github/copilot-language-server-release/releases/download/${finalAttrs.version}/copilot-language-server-native-${finalAttrs.version}.zip";
|
||||
hash = "sha256-F0urL3bMlNcxHTrePYsagEx2664C7USYAcnhCCzB/rA=";
|
||||
hash = "sha256-wiEaQpdDyJ3K3BgFlpf8LtgRmRXSpdBGSnC5HAelrdc=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
||||
@ -171,11 +171,11 @@ let
|
||||
|
||||
linux = stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname meta passthru;
|
||||
version = "135.0.7049.114";
|
||||
version = "136.0.7103.59";
|
||||
|
||||
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-1YdXtlEY6icyPMngvfthLdhSaMGbpI0lifFkZSZc2a4=";
|
||||
hash = "sha256-dki7Ci91OpqMtgS84ynsxBWoB862t+eWFlxHvZUAUjc=";
|
||||
};
|
||||
|
||||
# With strictDeps on, some shebangs were not being patched correctly
|
||||
@ -274,11 +274,11 @@ let
|
||||
|
||||
darwin = stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit pname meta passthru;
|
||||
version = "135.0.7049.115";
|
||||
version = "136.0.7103.49";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dl.google.com/release2/chrome/ba5pqpswpjr5iyzekrawihvjey_135.0.7049.115/GoogleChrome-135.0.7049.115.dmg";
|
||||
hash = "sha256-0J1qJ8i141RsmDGGcMM4UvVlT9tBtyn3cOFTz1XIxSk=";
|
||||
url = "http://dl.google.com/release2/chrome/dz4uae22obgiqcnhey5k6wspvu_136.0.7103.49/GoogleChrome-136.0.7103.49.dmg";
|
||||
hash = "sha256-4eGfwVdts+tW4ouUKZg1EvnSYOu6CCBRMYie2hz2y00=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
|
||||
@ -10,16 +10,16 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "goreleaser";
|
||||
version = "2.8.2";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goreleaser";
|
||||
repo = "goreleaser";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-F9gUntTqllTYrRTuUj4tWMrHArM8BflCROPBsOdIsFA=";
|
||||
hash = "sha256-2nen0Bd7jBlRz9AbcQAiK1GdT0ZkP9gBu3TfbpXIX6M=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-MGBMPiya1mUBCYcLuTtMCwZ9e+LEtT7Xrb/WZf86IXE=";
|
||||
vendorHash = "sha256-RN06Smr6HQGOUV3hQKxAbueDwI8ZlrnaF3vwrSesGOM=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@ -10,17 +10,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "inputplumber";
|
||||
version = "0.53.0";
|
||||
version = "0.56.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ShadowBlip";
|
||||
repo = "InputPlumber";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-pb1vyXJh0nmW8kc6hp6dgr84419Qcm6rjatzkjC4QNY=";
|
||||
hash = "sha256-LL7S6zlfSS/lhVp1iWtaoIXOv6xepta2reUpHpALNF0=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-zUK73enMMvrF196ILLNIx77IkvaMtTdbMRJXd8fzMzQ=";
|
||||
cargoHash = "sha256-0qoA0ZwPFNA4HYvkccOPRkLyf9a624Uij6bEsj6f5ZM=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@ -7,11 +7,11 @@
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jreleaser-cli";
|
||||
version = "1.17.0";
|
||||
version = "1.18.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/jreleaser/jreleaser/releases/download/v${version}/jreleaser-tool-provider-${version}.jar";
|
||||
hash = "sha256-V3RDSpoHLJxUImPf+8wQdfukFNftfsZI1L9k+sD4yZg=";
|
||||
hash = "sha256-rJYFoPPz1tR7LgcVfiRPFJHf1tMLhlxNQXsmutHZs3Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "krillinai";
|
||||
version = "1.1.3";
|
||||
version = "1.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "krillinai";
|
||||
repo = "KrillinAI";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-hEKjqQcHnrxY266EP5uoLMzw6csi2bS5Q+ghGb6TJ4c=";
|
||||
hash = "sha256-espj6BFc0GA5pURyly1HV3rIqyEgd1S/bmqkUPczTqM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-mpvypCZmvVVljftGpcV1aea3s7Xmhr0jLfKZIZ0nkX8=";
|
||||
|
||||
@ -7,18 +7,18 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "lakectl";
|
||||
version = "1.54.0";
|
||||
version = "1.55.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "treeverse";
|
||||
repo = "lakeFS";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fqjVufkmO2JOPyS1/dLx0RIY5BLvvwvKrJFkV1LN53I=";
|
||||
hash = "sha256-T/baBUkcRXQkNqgTwqsaHmv91ZfW00ti+86b0vGWNmo=";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/lakectl" ];
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-vg2x3QRU0RGq6GtqZU/YBtHAvj5shJtmPFrxx1/HppQ=";
|
||||
vendorHash = "sha256-HdJeWHQmLOHZaq60xavt7MlkY1siF8JfX5tb+8FexJ4=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.32.1-18110069";
|
||||
version = "0.32.1-18204230";
|
||||
urlVersion = lib.replaceStrings [ "." ] [ "-" ] version;
|
||||
|
||||
in
|
||||
@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation {
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://necessegame.com/content/server/${urlVersion}/necesse-server-linux64-${urlVersion}.zip";
|
||||
hash = "sha256-qeFr4dl4MD2rMVD+PIu/3zcRvCWOT1Bj8JB0FWXP1Yw=";
|
||||
hash = "sha256-6xX5Fr3fGt7c/4jg8DBBG41QJH5PrxCVrC6w2ESNcLI=";
|
||||
};
|
||||
|
||||
# removing packaged jre since we use our own
|
||||
|
||||
@ -31,16 +31,16 @@ let
|
||||
in
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "netbird";
|
||||
version = "0.43.0";
|
||||
version = "0.43.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "netbirdio";
|
||||
repo = "netbird";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-HmNd5MyplQ8iwpaxhEnomASIwx4VE3Qv70sURxqDzdo=";
|
||||
hash = "sha256-otjdzt+RLjic3VyoRh/uneP6qChy8QaxkIQT9YFS1pY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/iqWVDqQOTFP5OZDrgq5gAH7NmHneQlf5+wAzIyoEPw=";
|
||||
vendorHash = "sha256-/STnSegRtpdMhh9RaCqwc6dSXvt7UO5GVz7/M9JzamM=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ] ++ lib.optional ui pkg-config;
|
||||
|
||||
|
||||
@ -5,13 +5,13 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "pmtiles";
|
||||
version = "1.27.2";
|
||||
version = "1.28.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "protomaps";
|
||||
repo = "go-pmtiles";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-yOQrwJZUUdknEB+/I/BeQjtQvQ9HoKOJOYL4TM4vpc8=";
|
||||
hash = "sha256-g+QVsvf28LWkT2iEJUvG1f5eOjR444Xca5W5ImCQXvM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-kfEzpaFMf0W8Ygtl40LBy3AZQSL+9Uo+n2x9OTOavqk=";
|
||||
|
||||
@ -4,15 +4,20 @@
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pod2mdoc";
|
||||
version = "0.0.10";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mdocml.bsd.lv/pod2mdoc/snapshots/pod2mdoc-${version}.tgz";
|
||||
sha256 = "0nwa9zv9gmfi5ysz1wfm60kahc7nv0133n3dfc2vh2y3gj8mxr4f";
|
||||
url = "http://mdocml.bsd.lv/pod2mdoc/snapshots/pod2mdoc-${finalAttrs.version}.tgz";
|
||||
hash = "sha256-dPH+MfYdyHauClcD7N1zwjw4EPdtt9uQGCUh9OomsPw=";
|
||||
};
|
||||
|
||||
# use compat_ohash instead of system ohash, which is BSD-specific
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace-fail "-DHAVE_OHASH=1" "-DHAVE_OHASH=0"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/man/man1
|
||||
@ -20,12 +25,14 @@ stdenv.mkDerivation rec {
|
||||
install -m 0444 pod2mdoc.1 $out/share/man/man1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://mdocml.bsd.lv/";
|
||||
enableParallelBuild = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://mandoc.bsd.lv/pod2mdoc/";
|
||||
description = "converter from POD into mdoc";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ramkromberg ];
|
||||
license = lib.licenses.isc;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ ramkromberg ];
|
||||
mainProgram = "pod2mdoc";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "qdocumentview";
|
||||
version = "0.3.0";
|
||||
version = "0.3.0.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "extraqt";
|
||||
repo = "qdocumentview";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fGm19Bl3lSvMhau2jByZTTThwfWnsrm/Xx82J6ZJcVo=";
|
||||
hash = "sha256-z5Z43fo6oemGBn5Gfmx5ndeOva+qSH6mwkUWClylChA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "reflection-cpp";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "contour-terminal";
|
||||
repo = "reflection-cpp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-q0h8p6xJ1UectRe656B6mT5+QokxR9N8rqzvgwUBugg=";
|
||||
hash = "sha256-3TVoJkM+4RmB+KwWEpGo7gvzqCASNBmDHT+AzkR5KKk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
50
pkgs/by-name/sh/sherlock-launcher/package.nix
Normal file
50
pkgs/by-name/sh/sherlock-launcher/package.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
gtk4,
|
||||
gtk4-layer-shell,
|
||||
dbus,
|
||||
glib,
|
||||
wayland,
|
||||
openssl,
|
||||
sqlite,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "sherlock-launcher";
|
||||
version = "0.1.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Skxxtz";
|
||||
repo = "sherlock";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PCgnGRujbeQ2ckXYGAU38+WxGTpIayPVOL3ivnPYFwQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
glib
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk4
|
||||
gtk4-layer-shell
|
||||
dbus
|
||||
openssl
|
||||
sqlite
|
||||
glib
|
||||
wayland
|
||||
];
|
||||
|
||||
cargoHash = "sha256-053x0ChpE5MCYKzW/nJ29LzGnMgut2RLgb5KkTF17Vc=";
|
||||
|
||||
meta = {
|
||||
description = "Lightweight and efficient application launcher for Wayland built with Rust and GTK4";
|
||||
homepage = "https://github.com/Skxxtz/sherlock";
|
||||
license = lib.licenses.cc-by-nc-40;
|
||||
mainProgram = "sherlock";
|
||||
maintainers = with lib.maintainers; [ agvantibo ];
|
||||
};
|
||||
})
|
||||
@ -6,17 +6,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ttdl";
|
||||
version = "4.10.0";
|
||||
version = "4.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VladimirMarkelov";
|
||||
repo = "ttdl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cCz2wxYvYAoI+Hmyll+Fn56NUCuWlIiJycmYvGyhkR4=";
|
||||
sha256 = "sha256-REfk8m5ZYfms5hjzbYdqe27z3/qGzC0CLWQ/Cj3418Q=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-207Tmfs3LrZkwsAF/9qD5PN/zHwzCf0lq+87bFIP7y8=";
|
||||
cargoHash = "sha256-dr/hT8mVUlO0pX/OGqIqPDevflNVPD88epLZsW772Os=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to manage todo lists in todo.txt format";
|
||||
|
||||
1
pkgs/by-name/wh/whisperx/package.nix
Normal file
1
pkgs/by-name/wh/whisperx/package.nix
Normal file
@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication whisperx
|
||||
@ -1,38 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "alan2";
|
||||
version = "2.8.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alan-if";
|
||||
repo = "alan";
|
||||
rev = "71f23ec79f7f5d66aa5ae9fd3f9b8dae41a89f15";
|
||||
sha256 = "066jknqz1v6sismvfxjfffl35h14v8qwgcq99ibhp08dy2fwraln";
|
||||
};
|
||||
|
||||
makefile = "Makefile.unix";
|
||||
|
||||
# Add a workarounf for -fno-common tollchains like upstream gcc-10.
|
||||
# alan-3 is already fixed, but the backport is nontrivial.
|
||||
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/alan2
|
||||
cp compiler/alan $out/bin/alan2
|
||||
cp interpreter/arun $out/bin/arun2
|
||||
cp alan.readme ChangeLog $out/share/alan2
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.alanif.se/";
|
||||
description = "Alan interactive fiction language (legacy version)";
|
||||
license = licenses.artistic2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ neilmayhew ];
|
||||
};
|
||||
}
|
||||
@ -48,6 +48,7 @@ stdenv.mkDerivation (
|
||||
patches =
|
||||
[
|
||||
(getVersionFile "clang/purity.patch")
|
||||
# Remove extraneous ".a" suffix from baremetal clang_rt.builtins when compiling for baremetal.
|
||||
# https://reviews.llvm.org/D51899
|
||||
(getVersionFile "clang/gnu-install-dirs.patch")
|
||||
]
|
||||
@ -76,6 +77,7 @@ stdenv.mkDerivation (
|
||||
else
|
||||
./ignore-nostd-link-13.diff
|
||||
)
|
||||
# Pass the correct path to libllvm
|
||||
++ [
|
||||
(replaceVars
|
||||
(
|
||||
@ -112,6 +114,8 @@ stdenv.mkDerivation (
|
||||
stripLen = 1;
|
||||
hash = "sha256-Vs32kql7N6qtLqc12FtZHURcbenA7+N3E/nRRX3jdig=";
|
||||
})
|
||||
# Fixes a bunch of lambda-related crashes
|
||||
# https://github.com/llvm/llvm-project/pull/93206
|
||||
++ lib.optional (lib.versions.major release_version == "18") (fetchpatch {
|
||||
name = "tweak-tryCaptureVariable-for-unevaluated-lambdas.patch";
|
||||
url = "https://github.com/llvm/llvm-project/commit/3d361b225fe89ce1d8c93639f27d689082bd8dad.patch";
|
||||
|
||||
@ -123,8 +123,14 @@ stdenv.mkDerivation (
|
||||
];
|
||||
|
||||
patches =
|
||||
lib.optional (lib.versionOlder release_version "14") ./llvm-config-link-static.patch
|
||||
lib.optional (lib.versionOlder release_version "14")
|
||||
# When cross-compiling we configure llvm-config-native with an approximation
|
||||
# of the flags used for the normal LLVM build. To avoid the need for building
|
||||
# a native libLLVM.so (which would fail) we force llvm-config to be linked
|
||||
# statically against the necessary LLVM components always.
|
||||
./llvm-config-link-static.patch
|
||||
++ lib.optionals (lib.versions.major release_version == "12") [
|
||||
# Fix llvm being miscompiled by some gccs. See https://github.com/llvm/llvm-project/issues/49955
|
||||
(getVersionFile "llvm/fix-llvm-issue-49955.patch")
|
||||
|
||||
# On older CPUs (e.g. Hydra/wendy) we'd be getting an error in this test.
|
||||
@ -135,6 +141,9 @@ stdenv.mkDerivation (
|
||||
stripLen = 1;
|
||||
})
|
||||
]
|
||||
# Support custom installation dirs
|
||||
# Originally based off https://reviews.llvm.org/D99484
|
||||
# Latest state: https://github.com/llvm/llvm-project/pull/125376
|
||||
++ [ (getVersionFile "llvm/gnu-install-dirs.patch") ]
|
||||
++ lib.optionals (lib.versionAtLeast release_version "15") [
|
||||
# Running the tests involves invoking binaries (like `opt`) that depend on
|
||||
@ -241,7 +250,8 @@ stdenv.mkDerivation (
|
||||
]
|
||||
++
|
||||
lib.optional (lib.versions.major release_version == "17")
|
||||
# resolves https://github.com/llvm/llvm-project/issues/75168
|
||||
# Fixes a crash with -fzero-call-used-regs=used-gpr
|
||||
# See also https://github.com/llvm/llvm-project/issues/75168
|
||||
(
|
||||
fetchpatch {
|
||||
name = "fix-fzero-call-used-regs.patch";
|
||||
@ -278,6 +288,7 @@ stdenv.mkDerivation (
|
||||
})
|
||||
]
|
||||
++ lib.optionals enablePolly [
|
||||
# Just like the `gnu-install-dirs` patch, but for `polly`.
|
||||
(getVersionFile "llvm/gnu-install-dirs-polly.patch")
|
||||
]
|
||||
++
|
||||
|
||||
79
pkgs/development/python-modules/fireworks-ai/default.nix
Normal file
79
pkgs/development/python-modules/fireworks-ai/default.nix
Normal file
@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
versioneer,
|
||||
|
||||
# dependencies
|
||||
httpx,
|
||||
httpx-ws,
|
||||
httpx-sse,
|
||||
pydantic,
|
||||
pillow,
|
||||
|
||||
# optional dependencies
|
||||
fastapi,
|
||||
gitignore-parser,
|
||||
openapi-spec-validator,
|
||||
prance,
|
||||
safetensors,
|
||||
tabulate,
|
||||
torch,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fireworks-ai";
|
||||
version = "0.15.12";
|
||||
pyproject = true;
|
||||
|
||||
# no source available
|
||||
src = fetchPypi {
|
||||
pname = "fireworks_ai";
|
||||
inherit version;
|
||||
hash = "sha256-I4ClPZIkTGCP05j42XuXOA2Jnz/3EAkfS1CRe3URnsI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
httpx-ws
|
||||
httpx-sse
|
||||
pydantic
|
||||
pillow
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
flumina = [
|
||||
fastapi
|
||||
gitignore-parser
|
||||
openapi-spec-validator
|
||||
prance
|
||||
safetensors
|
||||
tabulate
|
||||
torch
|
||||
tqdm
|
||||
];
|
||||
};
|
||||
|
||||
# no tests available
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fireworks"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Client library for the Fireworks.ai platform";
|
||||
homepage = "https://pypi.org/project/fireworks-ai/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ sarahec ];
|
||||
};
|
||||
}
|
||||
@ -22,6 +22,7 @@
|
||||
tenacity,
|
||||
|
||||
# tests
|
||||
blockbuster,
|
||||
httpx,
|
||||
langchain-tests,
|
||||
lark,
|
||||
@ -37,25 +38,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-community";
|
||||
version = "0.3.20";
|
||||
version = "0.3.22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-community==${version}";
|
||||
hash = "sha256-6YLy7G1kZIqHAGMUIQoGCfDO2ZuVgNEtpkOI1o8eFvc=";
|
||||
hash = "sha256-fotu3vUCWnAVyjFjsIUjk1If81yQ3/YLj26PksmnvGE=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/community";
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
patches = [
|
||||
# Remove dependency on blockbuster (not available in nixpkgs due to dependency on forbiddenfruit)
|
||||
./rm-blockbuster.patch
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# Each component release requests the exact latest langchain and -core.
|
||||
# That prevents us from updating individul components.
|
||||
@ -66,10 +62,6 @@ buildPythonPackage rec {
|
||||
"tenacity"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"blockbuster"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
dataclasses-json
|
||||
@ -87,6 +79,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "langchain_community" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
blockbuster
|
||||
httpx
|
||||
langchain-tests
|
||||
lark
|
||||
@ -108,8 +101,6 @@ buildPythonPackage rec {
|
||||
# Test require network access
|
||||
"test_ovhcloud_embed_documents"
|
||||
"test_yandex"
|
||||
# duckdb-engine needs python-wasmer which is not yet available in Python 3.12
|
||||
# See https://github.com/NixOS/nixpkgs/pull/326337 and https://github.com/wasmerio/wasmer-python/issues/778
|
||||
"test_table_info"
|
||||
"test_sql_database_run"
|
||||
# pydantic.errors.PydanticUserError: `SQLDatabaseToolkit` is not fully defined; you should define `BaseCache`, then call `SQLDatabaseToolkit.model_rebuild()`.
|
||||
@ -118,19 +109,21 @@ buildPythonPackage rec {
|
||||
"test_proper_inputs"
|
||||
# pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`.
|
||||
"test_variable_key_naming"
|
||||
# Fails due to the lack of blockbuster
|
||||
"test_group_dependencies"
|
||||
# Tests against magic values in dict
|
||||
"test_serializable_mapping"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# ValueError: Received unsupported arguments {'strict': None}
|
||||
"tests/unit_tests/chat_models/test_cloudflare_workersai.py"
|
||||
# depends on Pydantic v1 notations, will not load
|
||||
"tests/unit_tests/document_loaders/test_gitbook.py"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^langchain-community==(.*)"
|
||||
"langchain-community==([0-9.]+)"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@ -1,37 +0,0 @@
|
||||
diff --git a/tests/unit_tests/conftest.py b/tests/unit_tests/conftest.py
|
||||
index 63f3a83e0..61c2d6ce3 100644
|
||||
--- a/tests/unit_tests/conftest.py
|
||||
+++ b/tests/unit_tests/conftest.py
|
||||
@@ -5,22 +5,22 @@ from importlib import util
|
||||
from typing import Dict, Sequence
|
||||
|
||||
import pytest
|
||||
-from blockbuster import blockbuster_ctx
|
||||
+# from blockbuster import blockbuster_ctx
|
||||
from pytest import Config, Function, Parser
|
||||
|
||||
|
||||
-@pytest.fixture(autouse=True)
|
||||
-def blockbuster() -> Iterator[None]:
|
||||
- with blockbuster_ctx("langchain_community") as bb:
|
||||
- (
|
||||
- bb.functions["os.stat"]
|
||||
- .can_block_in("langchain_community/utils/openai.py", "is_openai_v1")
|
||||
- .can_block_in("httpx/_client.py", "_init_transport")
|
||||
- )
|
||||
- bb.functions["os.path.abspath"].can_block_in(
|
||||
- "sqlalchemy/dialects/sqlite/pysqlite.py", "create_connect_args"
|
||||
- )
|
||||
- yield
|
||||
+# @pytest.fixture(autouse=True)
|
||||
+# def blockbuster() -> Iterator[None]:
|
||||
+# with blockbuster_ctx("langchain_community") as bb:
|
||||
+# (
|
||||
+# bb.functions["os.stat"]
|
||||
+# .can_block_in("langchain_community/utils/openai.py", "is_openai_v1")
|
||||
+# .can_block_in("httpx/_client.py", "_init_transport")
|
||||
+# )
|
||||
+# bb.functions["os.path.abspath"].can_block_in(
|
||||
+# "sqlalchemy/dialects/sqlite/pysqlite.py", "create_connect_args"
|
||||
+# )
|
||||
+# yield
|
||||
@ -17,6 +17,7 @@
|
||||
typing-extensions,
|
||||
|
||||
# tests
|
||||
blockbuster,
|
||||
freezegun,
|
||||
grandalf,
|
||||
httpx,
|
||||
@ -32,31 +33,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-core";
|
||||
version = "0.3.49";
|
||||
version = "0.3.56";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-core==${version}";
|
||||
hash = "sha256-s1vZ7G6Wzywf3euwX/RdCPkgzxvZTYVG0udGpHTIiQc=";
|
||||
hash = "sha256-gsjYr22Phb71oKN4iVGsi6r1iETDhFHCKKOiwp0SuLU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/core";
|
||||
|
||||
patches = [
|
||||
# Remove dependency on blockbuster (not available in nixpkgs due to dependency on forbiddenfruit)
|
||||
./rm-blockbuster.patch
|
||||
];
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
pythonRelaxDeps = [ "tenacity" ];
|
||||
|
||||
pythonRemoveDependencies = [
|
||||
"blockbuster"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
jsonpatch
|
||||
langsmith
|
||||
@ -73,6 +65,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
nativeCheckInputs = [
|
||||
blockbuster
|
||||
freezegun
|
||||
grandalf
|
||||
httpx
|
||||
|
||||
@ -1,155 +0,0 @@
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index a2cfc7adf..db37bd74a 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -53,7 +53,7 @@ test = [
|
||||
"responses<1.0.0,>=0.25.0",
|
||||
"pytest-socket<1.0.0,>=0.7.0",
|
||||
"pytest-xdist<4.0.0,>=3.6.1",
|
||||
- "blockbuster~=1.5.18",
|
||||
+ # "blockbuster~=1.5.18",
|
||||
"numpy<2.0.0,>=1.24.0; python_version < \"3.12\"",
|
||||
"numpy<3,>=1.26.0; python_version >= \"3.12\"",
|
||||
"langchain-tests",
|
||||
diff --git a/tests/unit_tests/conftest.py b/tests/unit_tests/conftest.py
|
||||
index 6438c3037..aa301c337 100644
|
||||
--- a/tests/unit_tests/conftest.py
|
||||
+++ b/tests/unit_tests/conftest.py
|
||||
@@ -5,35 +5,35 @@ from importlib import util
|
||||
from uuid import UUID
|
||||
|
||||
import pytest
|
||||
-from blockbuster import BlockBuster, blockbuster_ctx
|
||||
+# from blockbuster import BlockBuster, blockbuster_ctx
|
||||
from pytest import Config, Function, Parser
|
||||
from pytest_mock import MockerFixture
|
||||
|
||||
|
||||
-@pytest.fixture(autouse=True)
|
||||
-def blockbuster() -> Iterator[BlockBuster]:
|
||||
- with blockbuster_ctx("langchain_core") as bb:
|
||||
- for func in ["os.stat", "os.path.abspath"]:
|
||||
- (
|
||||
- bb.functions[func]
|
||||
- .can_block_in("langchain_core/_api/internal.py", "is_caller_internal")
|
||||
- .can_block_in("langchain_core/runnables/base.py", "__repr__")
|
||||
- .can_block_in(
|
||||
- "langchain_core/beta/runnables/context.py", "aconfig_with_context"
|
||||
- )
|
||||
- )
|
||||
-
|
||||
- for func in ["os.stat", "io.TextIOWrapper.read"]:
|
||||
- bb.functions[func].can_block_in(
|
||||
- "langsmith/client.py", "_default_retry_config"
|
||||
- )
|
||||
-
|
||||
- for bb_function in bb.functions.values():
|
||||
- bb_function.can_block_in(
|
||||
- "freezegun/api.py", "_get_cached_module_attributes"
|
||||
- )
|
||||
-
|
||||
- yield bb
|
||||
+# @pytest.fixture(autouse=True)
|
||||
+# def blockbuster() -> Iterator[BlockBuster]:
|
||||
+# with blockbuster_ctx("langchain_core") as bb:
|
||||
+# for func in ["os.stat", "os.path.abspath"]:
|
||||
+# (
|
||||
+# bb.functions[func]
|
||||
+# .can_block_in("langchain_core/_api/internal.py", "is_caller_internal")
|
||||
+# .can_block_in("langchain_core/runnables/base.py", "__repr__")
|
||||
+# .can_block_in(
|
||||
+# "langchain_core/beta/runnables/context.py", "aconfig_with_context"
|
||||
+# )
|
||||
+# )
|
||||
+
|
||||
+# for func in ["os.stat", "io.TextIOWrapper.read"]:
|
||||
+# bb.functions[func].can_block_in(
|
||||
+# "langsmith/client.py", "_default_retry_config"
|
||||
+# )
|
||||
+
|
||||
+# for bb_function in bb.functions.values():
|
||||
+# bb_function.can_block_in(
|
||||
+# "freezegun/api.py", "_get_cached_module_attributes"
|
||||
+# )
|
||||
+
|
||||
+# yield bb
|
||||
|
||||
|
||||
def pytest_addoption(parser: Parser) -> None:
|
||||
diff --git a/tests/unit_tests/language_models/chat_models/test_rate_limiting.py b/tests/unit_tests/language_models/chat_models/test_rate_limiting.py
|
||||
index ee6eefba9..4d39da58d 100644
|
||||
--- a/tests/unit_tests/language_models/chat_models/test_rate_limiting.py
|
||||
+++ b/tests/unit_tests/language_models/chat_models/test_rate_limiting.py
|
||||
@@ -2,17 +2,17 @@ import time
|
||||
from typing import Optional as Optional
|
||||
|
||||
import pytest
|
||||
-from blockbuster import BlockBuster
|
||||
+# from blockbuster import BlockBuster
|
||||
|
||||
from langchain_core.caches import InMemoryCache
|
||||
from langchain_core.language_models import GenericFakeChatModel
|
||||
from langchain_core.rate_limiters import InMemoryRateLimiter
|
||||
|
||||
|
||||
-@pytest.fixture(autouse=True)
|
||||
-def deactivate_blockbuster(blockbuster: BlockBuster) -> None:
|
||||
- # Deactivate BlockBuster to not disturb the rate limiter timings
|
||||
- blockbuster.deactivate()
|
||||
+# @pytest.fixture(autouse=True)
|
||||
+# def deactivate_blockbuster(blockbuster: BlockBuster) -> None:
|
||||
+# # Deactivate BlockBuster to not disturb the rate limiter timings
|
||||
+# blockbuster.deactivate()
|
||||
|
||||
|
||||
def test_rate_limit_invoke() -> None:
|
||||
diff --git a/tests/unit_tests/runnables/test_runnable_events_v2.py b/tests/unit_tests/runnables/test_runnable_events_v2.py
|
||||
index e1e1f37b9..21d2f1600 100644
|
||||
--- a/tests/unit_tests/runnables/test_runnable_events_v2.py
|
||||
+++ b/tests/unit_tests/runnables/test_runnable_events_v2.py
|
||||
@@ -15,7 +15,7 @@ from typing import (
|
||||
)
|
||||
|
||||
import pytest
|
||||
-from blockbuster import BlockBuster
|
||||
+# from blockbuster import BlockBuster
|
||||
from pydantic import BaseModel
|
||||
|
||||
from langchain_core.callbacks import CallbackManagerForRetrieverRun, Callbacks
|
||||
@@ -2005,7 +2005,7 @@ EXPECTED_EVENTS = [
|
||||
|
||||
async def test_sync_in_async_stream_lambdas(blockbuster: BlockBuster) -> None:
|
||||
"""Test invoking nested runnable lambda."""
|
||||
- blockbuster.deactivate()
|
||||
+ # blockbuster.deactivate()
|
||||
|
||||
def add_one(x: int) -> int:
|
||||
return x + 1
|
||||
diff --git a/tests/unit_tests/test_setup.py b/tests/unit_tests/test_setup.py
|
||||
index 1df3c73a2..58e94de9a 100644
|
||||
--- a/tests/unit_tests/test_setup.py
|
||||
+++ b/tests/unit_tests/test_setup.py
|
||||
@@ -1,15 +1,15 @@
|
||||
import time
|
||||
|
||||
import pytest
|
||||
-from blockbuster import BlockingError
|
||||
+# from blockbuster import BlockingError
|
||||
|
||||
from langchain_core import sys_info
|
||||
|
||||
|
||||
-async def test_blockbuster_setup() -> None:
|
||||
- """Check if blockbuster is correctly setup."""
|
||||
- # Blocking call outside of langchain_core is allowed.
|
||||
- time.sleep(0.01) # noqa: ASYNC251
|
||||
- with pytest.raises(BlockingError):
|
||||
- # Blocking call from langchain_core raises BlockingError.
|
||||
- sys_info.print_sys_info()
|
||||
+# async def test_blockbuster_setup() -> None:
|
||||
+# """Check if blockbuster is correctly setup."""
|
||||
+# # Blocking call outside of langchain_core is allowed.
|
||||
+# time.sleep(0.01) # noqa: ASYNC251
|
||||
+# with pytest.raises(BlockingError):
|
||||
+# # Blocking call from langchain_core raises BlockingError.
|
||||
+# sys_info.print_sys_info()
|
||||
@ -25,6 +25,7 @@
|
||||
tenacity,
|
||||
|
||||
# tests
|
||||
blockbuster,
|
||||
freezegun,
|
||||
httpx,
|
||||
lark,
|
||||
@ -41,7 +42,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain";
|
||||
version = "0.3.21";
|
||||
version = "0.3.24";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -53,11 +54,6 @@ buildPythonPackage rec {
|
||||
|
||||
sourceRoot = "${src.name}/libs/langchain";
|
||||
|
||||
patches = [
|
||||
# blockbuster isn't supported in nixpkgs
|
||||
./rm-blockbuster.patch
|
||||
];
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
buildInputs = [ bash ];
|
||||
@ -70,10 +66,6 @@ buildPythonPackage rec {
|
||||
"tenacity"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"blockbuster"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
langchain-core
|
||||
@ -92,6 +84,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
blockbuster
|
||||
freezegun
|
||||
httpx
|
||||
lark
|
||||
@ -151,7 +144,7 @@ buildPythonPackage rec {
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^langchain==([0-9.]+)$"
|
||||
"langchain==([0-9.]+)"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@ -1,68 +0,0 @@
|
||||
diff --git a/tests/unit_tests/conftest.py b/tests/unit_tests/conftest.py
|
||||
index fed8dbec5..6144ad7b8 100644
|
||||
--- a/tests/unit_tests/conftest.py
|
||||
+++ b/tests/unit_tests/conftest.py
|
||||
@@ -5,36 +5,36 @@ from importlib import util
|
||||
from typing import Dict, Sequence
|
||||
|
||||
import pytest
|
||||
-from blockbuster import blockbuster_ctx
|
||||
+# from blockbuster import blockbuster_ctx
|
||||
from pytest import Config, Function, Parser
|
||||
|
||||
|
||||
-@pytest.fixture(autouse=True)
|
||||
-def blockbuster() -> Iterator[None]:
|
||||
- with blockbuster_ctx("langchain") as bb:
|
||||
- bb.functions["io.TextIOWrapper.read"].can_block_in(
|
||||
- "langchain/__init__.py", "<module>"
|
||||
- )
|
||||
-
|
||||
- for func in ["os.stat", "os.path.abspath"]:
|
||||
- (
|
||||
- bb.functions[func]
|
||||
- .can_block_in("langchain_core/runnables/base.py", "__repr__")
|
||||
- .can_block_in(
|
||||
- "langchain_core/beta/runnables/context.py", "aconfig_with_context"
|
||||
- )
|
||||
- )
|
||||
-
|
||||
- for func in ["os.stat", "io.TextIOWrapper.read"]:
|
||||
- bb.functions[func].can_block_in(
|
||||
- "langsmith/client.py", "_default_retry_config"
|
||||
- )
|
||||
-
|
||||
- for bb_function in bb.functions.values():
|
||||
- bb_function.can_block_in(
|
||||
- "freezegun/api.py", "_get_cached_module_attributes"
|
||||
- )
|
||||
- yield
|
||||
+# @pytest.fixture(autouse=True)
|
||||
+# def blockbuster() -> Iterator[None]:
|
||||
+# with blockbuster_ctx("langchain") as bb:
|
||||
+# bb.functions["io.TextIOWrapper.read"].can_block_in(
|
||||
+# "langchain/__init__.py", "<module>"
|
||||
+# )
|
||||
+
|
||||
+# for func in ["os.stat", "os.path.abspath"]:
|
||||
+# (
|
||||
+# bb.functions[func]
|
||||
+# .can_block_in("langchain_core/runnables/base.py", "__repr__")
|
||||
+# .can_block_in(
|
||||
+# "langchain_core/beta/runnables/context.py", "aconfig_with_context"
|
||||
+# )
|
||||
+# )
|
||||
+
|
||||
+# for func in ["os.stat", "io.TextIOWrapper.read"]:
|
||||
+# bb.functions[func].can_block_in(
|
||||
+# "langsmith/client.py", "_default_retry_config"
|
||||
+# )
|
||||
+
|
||||
+# for bb_function in bb.functions.values():
|
||||
+# bb_function.can_block_in(
|
||||
+# "freezegun/api.py", "_get_cached_module_attributes"
|
||||
+# )
|
||||
+# yield
|
||||
|
||||
|
||||
def pytest_addoption(parser: Parser) -> None:
|
||||
@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openstackdocstheme";
|
||||
version = "3.4.1";
|
||||
version = "3.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonAtLeast "3.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OPT2rGO967RlJ17iEm5oMuaxqZ8Y8ya+gKMzU0qaGzk=";
|
||||
hash = "sha256-3h1dXtIMk1/CgbUP30ppUo+Q8qdb7PQtGIRD9eGWwJ8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
87
pkgs/development/python-modules/whisperx/default.nix
Normal file
87
pkgs/development/python-modules/whisperx/default.nix
Normal file
@ -0,0 +1,87 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
ctranslate2,
|
||||
faster-whisper,
|
||||
nltk,
|
||||
pandas,
|
||||
pyannote-audio,
|
||||
torch,
|
||||
torchaudio,
|
||||
transformers,
|
||||
|
||||
# native packages
|
||||
ffmpeg,
|
||||
ctranslate2-cpp, # alias for `pkgs.ctranslate2`, required due to colliding with the `ctranslate2` Python module.
|
||||
|
||||
# enable GPU support
|
||||
cudaSupport ? torch.cudaSupport,
|
||||
}:
|
||||
|
||||
let
|
||||
ctranslate = ctranslate2.override {
|
||||
ctranslate2-cpp = ctranslate2-cpp.override {
|
||||
withCUDA = cudaSupport;
|
||||
withCuDNN = cudaSupport;
|
||||
};
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "whisperx";
|
||||
version = "3.3.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "m-bain";
|
||||
repo = "whisperX";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JJa8gUQjIcgJ5lug3ULGkHxkl66qnXkiUA3SwwUVpqk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
ctranslate
|
||||
faster-whisper
|
||||
nltk
|
||||
pandas
|
||||
pyannote-audio # Missing from pyproject.toml, but used in `whisperx/vad.py`
|
||||
torch
|
||||
torchaudio
|
||||
transformers
|
||||
];
|
||||
|
||||
# As `makeWrapperArgs` does not apply to the module, and whisperx depends on `ffmpeg`,
|
||||
# we replace the `"ffmpeg"` string in `subprocess.run` with the full path to the binary.
|
||||
# This works for both the program and the module.
|
||||
# Every update, the codebase should be checked for further instances of `ffmpeg` calls.
|
||||
postPatch = ''
|
||||
substituteInPlace whisperx/audio.py --replace-fail \
|
||||
'"ffmpeg"' '"${lib.getExe ffmpeg}"'
|
||||
'';
|
||||
|
||||
# > Checking runtime dependencies for whisperx-3.3.2-py3-none-any.whl
|
||||
# > - faster-whisper==1.1.0 not satisfied by version 1.1.1
|
||||
# This has been updated on main, so we expect this clause to be removed upon the next update.
|
||||
pythonRelaxDeps = [ "faster-whisper" ];
|
||||
|
||||
pythonImportsCheck = [ "whisperx" ];
|
||||
|
||||
# No tests in repository
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
mainProgram = "whisperx";
|
||||
description = "Automatic Speech Recognition with Word-level Timestamps (& Diarization)";
|
||||
homepage = "https://github.com/m-bain/whisperX";
|
||||
changelog = "https://github.com/m-bain/whisperX/releases/tag/${src.tag}";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.bengsparks ];
|
||||
};
|
||||
}
|
||||
@ -12,35 +12,35 @@
|
||||
},
|
||||
"33": {
|
||||
"hashes": {
|
||||
"aarch64-darwin": "3baba8bb35cd193be1fa7b46c4e0e2191cc345f599894d1e117353a7abdf429c",
|
||||
"aarch64-linux": "436bfb19fc298c852327db5636e28cb1607cb8c2c714b3d289097373bf0cf418",
|
||||
"armv7l-linux": "3944193d4984e983cee5f678e43b957ef760f07d5a8fe34d3f0ac94fbe18c650",
|
||||
"headers": "178h07gjjxdx4kjcwp9ywnwc0qxh5gh70jj07n2xb9cp5whvfn0p",
|
||||
"x86_64-darwin": "ec6bafaac0e422ebf6784c544b2623e8bb0c3c751a333df6a7e7a5ae6a2c8823",
|
||||
"x86_64-linux": "4c49cb0a17e6b74efbf2066fd41a3c1d4a27a476f6b7e45f610a9d41afae2838"
|
||||
"aarch64-darwin": "9c763751c280b20ec93cecdc7f369bed876fc6728863a9ba5d7435096401f048",
|
||||
"aarch64-linux": "e865132767e0930f5fef8ee146b9dd83c7f8fb95ed533c4de99e7057d5de5b61",
|
||||
"armv7l-linux": "c7bc11f757cb123ce7647af593d09b60ddc87338b47c7053c2719522ddc6515c",
|
||||
"headers": "0gwin292x5ryx41kw0c801b4ipin9q1agnigdv31vcd4y0na2p3s",
|
||||
"x86_64-darwin": "67f3b851e7583309e7bbe3e3e819b1e1c6033ab57207d838bc4ed4982ccef456",
|
||||
"x86_64-linux": "212d431c7c916292311c797cd91f84467c5abd6e6983cf24b162efff64cee8a9"
|
||||
},
|
||||
"version": "33.4.10"
|
||||
"version": "33.4.11"
|
||||
},
|
||||
"34": {
|
||||
"hashes": {
|
||||
"aarch64-darwin": "26cf72d9032fc99674a8404f6740df0cbba7599943feae82122c8d0b8c5cca43",
|
||||
"aarch64-linux": "6d511e55631bf73d56729dd0798bc23d44aa16a78bc94e912cae465d54b749f7",
|
||||
"armv7l-linux": "f119dbe8d4a3c0dac2683b82713bd8a3e65ab111bff6c2cf75ced2d52b1e00de",
|
||||
"aarch64-darwin": "3b0cddd2b2255f59ef875fc637c2663f225f30233b6eb7ddf7fdf5222b5961f1",
|
||||
"aarch64-linux": "a66671fefa3fd3fe9325c7c426abd06cbd33509095a598aa694247f3f6e0116f",
|
||||
"armv7l-linux": "d1f70070aa7f5747a0e3e1f62c8c77ee122bc95519faeef3117dabd0f0dc9f41",
|
||||
"headers": "1z70qaping1fxsg9x130zjywcc6pirsnyrk0bg3jiirynpvpp5yq",
|
||||
"x86_64-darwin": "6003dfdc608b2b2ef1591659e7360c723e9b446f852030931bb9c66fadb9c4c0",
|
||||
"x86_64-linux": "878c958cda5e2e48de1e5a89203bd2e3031f2dbbb25453fb75a305446eb282d0"
|
||||
"x86_64-darwin": "20b45d23c25c0c0d3ce86a53520fdaecb87ad98841714b694b4ef7182edbae33",
|
||||
"x86_64-linux": "53ea5ac3faa44a1e5511ad67b1020833dc0e792f19158e3684d6b5d9e85da98b"
|
||||
},
|
||||
"version": "34.5.2"
|
||||
"version": "34.5.3"
|
||||
},
|
||||
"35": {
|
||||
"hashes": {
|
||||
"aarch64-darwin": "8a8e1cb09ace8eb46164fa6154bc4695f19eba5fe6a8374d1e0b2ba0e177a28c",
|
||||
"aarch64-linux": "c3b5224bbaac7b69890dbf6f69d78ad6dc2622231fa7554e5cf32333623a6d74",
|
||||
"armv7l-linux": "2525cd09e54c4b33f7a9bcb5381716f88a933ee497df5fd465c9f3ceab01b0aa",
|
||||
"aarch64-darwin": "b58cf4bd40582986dfaf4e466788ebc6ea3187c348bf94a67a2c1ea1c1704d1e",
|
||||
"aarch64-linux": "27fca86f64dacc20f4205346bca9a82071580575b254d4d37615a5907221ce0f",
|
||||
"armv7l-linux": "4e31b1d737f560988023cf9e2449bee9177c6b4303eb74de6293c219c00a0d21",
|
||||
"headers": "1la2xfr8lyvq7dc4mxllj3qksrrwxmz3nc2fnr2h0l08bfn2y1ay",
|
||||
"x86_64-darwin": "022d90656d9b78f53e56329722c7209ed3711af443ccbbbcd50ada5176e72cf0",
|
||||
"x86_64-linux": "c3bc0fefe238e092ab2a26276d6c4bd5d70b85d08d8bb298c5f7499a4456a119"
|
||||
"x86_64-darwin": "6d2fad32fabf4cf664ffeef6c2f99af8465db5dfb6fc1a752ce5d9363235deff",
|
||||
"x86_64-linux": "d346f416d061f38bc53f3d57e0f01c03d0febb00199e362f7ef2e1209f93817e"
|
||||
},
|
||||
"version": "35.2.0"
|
||||
"version": "35.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,35 +12,35 @@
|
||||
},
|
||||
"33": {
|
||||
"hashes": {
|
||||
"aarch64-darwin": "7673d1e80d42cea706a36af275c1a42061c7baa36e79e738671907f865c70725",
|
||||
"aarch64-linux": "12c30544df2cfc2d678451dc62c8007d482394df08d6824fb91ccabf1a3bc794",
|
||||
"armv7l-linux": "b96563ecb3433e28a2ea50a3d9e4ef0c8c349e8264a118558c5b5927d394330a",
|
||||
"headers": "178h07gjjxdx4kjcwp9ywnwc0qxh5gh70jj07n2xb9cp5whvfn0p",
|
||||
"x86_64-darwin": "77cd5f40655a709a5eecfb9fe2fe4421bcd527a45ae0f02a2b34c71feae25f5c",
|
||||
"x86_64-linux": "d932f18b72949832b13c446faddb2f56a16dfff08286251f14d69315c5f2dc9b"
|
||||
"aarch64-darwin": "8cccbac5a1922f47bff65734ea05cf4a5a96938bc6696c2bdb8d8ce4b9f4a3eb",
|
||||
"aarch64-linux": "edbe9af31a18cef622386ba95cffd4f0d61fff386313297d204c06fad798134e",
|
||||
"armv7l-linux": "da1077bf00682a01b02fa580e51f4df681016be0d58e981094463b818561c213",
|
||||
"headers": "0gwin292x5ryx41kw0c801b4ipin9q1agnigdv31vcd4y0na2p3s",
|
||||
"x86_64-darwin": "9056e5f4e7d7e6b99e22f4739668cf8425d44c21431b7218bda1720ee207593a",
|
||||
"x86_64-linux": "acbebfaa77f32ff1c524f0f326f5f36cf35a3875d8a81f22c3b5c4664e34f7c7"
|
||||
},
|
||||
"version": "33.4.10"
|
||||
"version": "33.4.11"
|
||||
},
|
||||
"34": {
|
||||
"hashes": {
|
||||
"aarch64-darwin": "fe1c9cd744f4c2542750ed96f99aff9cd3b28e6a62a21e2302f67cc7d9925b73",
|
||||
"aarch64-linux": "fdfe6945ed870a8eb96f6d5119ed8f5b1704391fe9acfd8c3fa110ab6f74844d",
|
||||
"armv7l-linux": "f0f567ffdb31f57124ceda3e81545b1525f69ef8b722c3493f55effce7a3266e",
|
||||
"aarch64-darwin": "8da5b77a10428ef5c8ea5a313ecc852e29d658bb01b2951e4912cdd7addeb4b1",
|
||||
"aarch64-linux": "a3c62fb635bc97fec63ace981ed227dd3625bfa7f7ab942c3d90c9b9ba859906",
|
||||
"armv7l-linux": "144db3d77d3ab45e4ccefd02d4009c06905879158b5d50ebb3c79edbfcb952cd",
|
||||
"headers": "1z70qaping1fxsg9x130zjywcc6pirsnyrk0bg3jiirynpvpp5yq",
|
||||
"x86_64-darwin": "70d84569431b4cb108b8f0e5bec41160100b853e487d550171213b87b043d449",
|
||||
"x86_64-linux": "18d685523669b6704d5af58515b91a39cd97e04e897806048178901241cc96e5"
|
||||
"x86_64-darwin": "a8cdd232352e99a08d2ef767c46e3ea138145431c50dec9f5773220223194f6f",
|
||||
"x86_64-linux": "b5dd9b7de7b5910dc371a45621cf456ebf3e953234c9ccbf2190ba2ca5c3b948"
|
||||
},
|
||||
"version": "34.5.2"
|
||||
"version": "34.5.3"
|
||||
},
|
||||
"35": {
|
||||
"hashes": {
|
||||
"aarch64-darwin": "88d20f3398a8850ee7b7004e4f301e15705783e8860ca8f0de4ddc652e1cab4b",
|
||||
"aarch64-linux": "4eae05fab28c9f0afff609bb13cfe1c999f02a0cf3539c715823a6bda327e1c6",
|
||||
"armv7l-linux": "3bd32c34321e853d38453f30eb4a0ddabb278d95921e55abf01c22f53f074f4b",
|
||||
"aarch64-darwin": "59d58226ead49715eb0628eef19609291f842e5dc3f452c2d8e61bebcc3f9c3a",
|
||||
"aarch64-linux": "1ed6010947742c8be7c049597f1849be71182a03de27c83b8ff763312b372f1d",
|
||||
"armv7l-linux": "9845085c0259b22b7b31abcf98c918701b580e5c35cc3fc1d969dd2a177efc08",
|
||||
"headers": "1la2xfr8lyvq7dc4mxllj3qksrrwxmz3nc2fnr2h0l08bfn2y1ay",
|
||||
"x86_64-darwin": "852430a5121e3f4032845d2e562be78a0de87c616076cedc53505f3906921276",
|
||||
"x86_64-linux": "702fdee68152c1baaf3d8fbbbdd16cceecd0b8989e223918714c56f7bea8f34a"
|
||||
"x86_64-darwin": "0adfea59a90f8c47f4f14a6011ed566944babf5b04ac977fa7ff118a8b3c58bc",
|
||||
"x86_64-linux": "d1f1027d1d01a0ce6cfdf60fffa64d64ebe75d0c54e9a5acff51f1c8005f6ef4"
|
||||
},
|
||||
"version": "35.2.0"
|
||||
"version": "35.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,10 +57,10 @@
|
||||
},
|
||||
"src/electron": {
|
||||
"args": {
|
||||
"hash": "sha256-o/luH8qWEMxgigE9Uo6lhv/jNj1bEOCVTvdHU2EuTlw=",
|
||||
"hash": "sha256-EKqpKTuNmZhjrblE4TkDRrdieb6kNLfLubNU3hpfqLI=",
|
||||
"owner": "electron",
|
||||
"repo": "electron",
|
||||
"rev": "v34.5.2"
|
||||
"rev": "v34.5.3"
|
||||
},
|
||||
"fetcher": "fetchFromGitHub"
|
||||
},
|
||||
@ -1274,7 +1274,7 @@
|
||||
"electron_yarn_hash": "10ny8cj2m8wn8zb5ljsfc8rpv6y4rp049zv5i5slyk3lj2zpgr6y",
|
||||
"modules": "132",
|
||||
"node": "20.19.0",
|
||||
"version": "34.5.2"
|
||||
"version": "34.5.3"
|
||||
},
|
||||
"35": {
|
||||
"chrome": "134.0.6998.205",
|
||||
@ -1334,10 +1334,10 @@
|
||||
},
|
||||
"src/electron": {
|
||||
"args": {
|
||||
"hash": "sha256-9svv7kEnZqgwyE9LnuBTIiUguZdgCHUkkupxtpUGcKQ=",
|
||||
"hash": "sha256-5+LqyQs8wC7EwmO3/YSGsvb+JNBPliycNSrLLUBeNnM=",
|
||||
"owner": "electron",
|
||||
"repo": "electron",
|
||||
"rev": "v35.2.0"
|
||||
"rev": "v35.2.1"
|
||||
},
|
||||
"fetcher": "fetchFromGitHub"
|
||||
},
|
||||
@ -2583,6 +2583,6 @@
|
||||
"electron_yarn_hash": "0l38rbmlrcrgkw7ggj33xszcs7arm601gzq4c8v0rn3m5zp6yr77",
|
||||
"modules": "133",
|
||||
"node": "22.14.0",
|
||||
"version": "35.2.0"
|
||||
"version": "35.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"testing": {
|
||||
"version": "6.15-rc3",
|
||||
"hash": "sha256:0pf83a8q4yxyz0wfnrwa14rdfcczll633qyn02n2pbqg7r5mxi61"
|
||||
"version": "6.15-rc4",
|
||||
"hash": "sha256:0zg817b9bbpl80cjmxgmxivi6xr80hng704mdl6m5knrl0v4ay5j"
|
||||
},
|
||||
"6.1": {
|
||||
"version": "6.1.135",
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.103.0";
|
||||
version = "0.104.0";
|
||||
in
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
@ -31,11 +31,11 @@ rustPlatform.buildRustPackage {
|
||||
owner = "nushell";
|
||||
repo = "nushell";
|
||||
tag = version;
|
||||
hash = "sha256-PqhZFzFkvOtznJV3h25X02ZgLLvlheMm9R0tibcBrbQ=";
|
||||
hash = "sha256-F4nHCOpbcvmdXDX5KJc9MS3hIIrtMlZR8IjDU7Us/xs=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-8q/z0SmhTKsTlixze8Deej4rFsO4QyDce2OvIvE4AcY=";
|
||||
cargoHash = "sha256-zem4HgxO0DD22Bxvs9KN3Zb5E991svV5qcw7MfDUOq4=";
|
||||
|
||||
nativeBuildInputs =
|
||||
[ pkg-config ]
|
||||
|
||||
@ -9,9 +9,8 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell_plugin_formats";
|
||||
inherit (nushell) version src;
|
||||
inherit (nushell) version src cargoHash;
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-8q/z0SmhTKsTlixze8Deej4rFsO4QyDce2OvIvE4AcY=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
|
||||
cargoBuildFlags = [ "--package nu_plugin_formats" ];
|
||||
|
||||
@ -10,9 +10,8 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell_plugin_gstat";
|
||||
inherit (nushell) version src;
|
||||
inherit (nushell) version src cargoHash;
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-8q/z0SmhTKsTlixze8Deej4rFsO4QyDce2OvIvE4AcY=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
@ -10,10 +10,9 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell_plugin_polars";
|
||||
inherit (nushell) version src;
|
||||
inherit (nushell) version src cargoHash;
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-8q/z0SmhTKsTlixze8Deej4rFsO4QyDce2OvIvE4AcY=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
@ -11,9 +11,8 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell_plugin_query";
|
||||
inherit (nushell) version src;
|
||||
inherit (nushell) version src cargoHash;
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-8q/z0SmhTKsTlixze8Deej4rFsO4QyDce2OvIvE4AcY=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
|
||||
buildInputs = [
|
||||
|
||||
@ -181,13 +181,9 @@ lib.makeExtensible (
|
||||
};
|
||||
|
||||
nix_2_28 = commonMeson {
|
||||
version = "2.28.2";
|
||||
hash = "sha256-yl+hlZ/VFHIZwPIDEs4ysOYgprW4VEORfSyvScF7Cwg=";
|
||||
version = "2.28.3";
|
||||
hash = "sha256-TjZp5ITSUvNRAzNznmkZRQxNRzMLiSAplz4bV2T8cbs=";
|
||||
self_attribute_name = "nix_2_28";
|
||||
patches = [
|
||||
# fixes user/system registries regression: https://github.com/NixOS/nix/issues/13050
|
||||
./patches/0001-Revert-Actually-ignore-system-user-registries-during.patch
|
||||
];
|
||||
};
|
||||
|
||||
nixComponents_git = nixDependencies.callPackage ./modular/packages.nix rec {
|
||||
|
||||
@ -1,51 +0,0 @@
|
||||
From 8df4f5db3c71046f5deaeb913e5ec0d16f70b5a2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
|
||||
Date: Thu, 24 Apr 2025 14:17:18 +0200
|
||||
Subject: [PATCH] Revert "Actually ignore system/user registries during
|
||||
locking"
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This reverts commit a08477975d90dc0d2c9f89d2a417bedb5b266931.
|
||||
|
||||
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
|
||||
---
|
||||
src/libflake/flake/flakeref.cc | 2 +-
|
||||
tests/functional/flakes/flakes.sh | 7 -------
|
||||
2 files changed, 1 insertion(+), 8 deletions(-)
|
||||
|
||||
diff --git a/src/libflake/flake/flakeref.cc b/src/libflake/flake/flakeref.cc
|
||||
index 1580c2846..6e95eb767 100644
|
||||
--- a/src/libflake/flake/flakeref.cc
|
||||
+++ b/src/libflake/flake/flakeref.cc
|
||||
@@ -39,7 +39,7 @@ FlakeRef FlakeRef::resolve(
|
||||
ref<Store> store,
|
||||
const fetchers::RegistryFilter & filter) const
|
||||
{
|
||||
- auto [input2, extraAttrs] = lookupInRegistries(store, input, filter);
|
||||
+ auto [input2, extraAttrs] = lookupInRegistries(store, input);
|
||||
return FlakeRef(std::move(input2), fetchers::maybeGetStrAttr(extraAttrs, "dir").value_or(subdir));
|
||||
}
|
||||
|
||||
diff --git a/tests/functional/flakes/flakes.sh b/tests/functional/flakes/flakes.sh
|
||||
index b67a0964a..d8c9f254d 100755
|
||||
--- a/tests/functional/flakes/flakes.sh
|
||||
+++ b/tests/functional/flakes/flakes.sh
|
||||
@@ -220,13 +220,6 @@ nix store gc
|
||||
nix registry list --flake-registry "file://$registry" --refresh | grepQuiet flake3
|
||||
mv "$registry.tmp" "$registry"
|
||||
|
||||
-# Ensure that locking ignores the user registry.
|
||||
-mkdir -p "$TEST_HOME/.config/nix"
|
||||
-ln -sfn "$registry" "$TEST_HOME/.config/nix/registry.json"
|
||||
-nix flake metadata flake1
|
||||
-expectStderr 1 nix flake update --flake-registry '' --flake "$flake3Dir" | grepQuiet "cannot find flake 'flake:flake1' in the flake registries"
|
||||
-rm "$TEST_HOME/.config/nix/registry.json"
|
||||
-
|
||||
# Test whether flakes are registered as GC roots for offline use.
|
||||
# FIXME: use tarballs rather than git.
|
||||
rm -rf "$TEST_HOME/.cache"
|
||||
--
|
||||
2.49.0
|
||||
|
||||
@ -5305,10 +5305,6 @@ with pkgs;
|
||||
jdk = jdk8;
|
||||
};
|
||||
|
||||
alan = callPackage ../development/compilers/alan { };
|
||||
|
||||
alan_2 = callPackage ../development/compilers/alan/2.nix { };
|
||||
|
||||
armips = callPackage ../development/compilers/armips {
|
||||
stdenv = gcc10Stdenv;
|
||||
};
|
||||
|
||||
@ -4921,6 +4921,8 @@ self: super: with self; {
|
||||
|
||||
firetv = callPackage ../development/python-modules/firetv { };
|
||||
|
||||
fireworks-ai = callPackage ../development/python-modules/fireworks-ai { };
|
||||
|
||||
first = callPackage ../development/python-modules/first { };
|
||||
|
||||
fissix = callPackage ../development/python-modules/fissix { };
|
||||
@ -18892,6 +18894,11 @@ self: super: with self; {
|
||||
|
||||
whispers = callPackage ../development/python-modules/whispers { };
|
||||
|
||||
whisperx = callPackage ../development/python-modules/whisperx {
|
||||
inherit (pkgs) ffmpeg;
|
||||
ctranslate2-cpp = pkgs.ctranslate2;
|
||||
};
|
||||
|
||||
whitenoise = callPackage ../development/python-modules/whitenoise { };
|
||||
|
||||
whodap = callPackage ../development/python-modules/whodap { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user