Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-07-06 06:01:47 +00:00 committed by GitHub
commit 73c1b870f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
41 changed files with 1032 additions and 154 deletions

View File

@ -121,3 +121,17 @@ c759efa5e7f825913f9a69ef20f025f50f56dc4d
# python3Packages: format with nixfmt
59b1aef59071cae6e87859dc65de973d2cc595c0
# treewide description changes (#317959)
bf995e3641950f4183c1dd9010349263dfa0123b
755b915a158c9d588f08e9b08da9f7f3422070cc
f8c4a98e8e138e21353a2c33b90db3359f539b37
# vscode-extensions.*: format with nixfmt (RFC 166)
7bf9febfa6271012b1ef86647a3a06f06875fdcf
# remove uses of mdDoc (#303841)
1a24330f792c8625746d07d842290e6fd95ae6f9
acd0e3898feb321cb9a71a0fd376f1157d0f4553
1b28414d2886c57343864326dbb745a634d3e37d
6afb255d976f85f3359e4929abd6f5149c323a02

3
.github/CODEOWNERS vendored
View File

@ -108,6 +108,9 @@ nixos/modules/installer/tools/nix-fallback-paths.nix @raitobezarius
# NixOS QEMU virtualisation
/nixos/virtualisation/qemu-vm.nix @raitobezarius
# ACME
/nixos/modules/security/acme @arianvp @flokli @aanderse # no merge permission: @m1cr0man @emilazy
# Systemd
/nixos/modules/system/boot/systemd.nix @NixOS/systemd
/nixos/modules/system/boot/systemd @NixOS/systemd

View File

@ -1,34 +1,49 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) optionals mkOption mkEnableOption types mkIf elem concatStringsSep maintainers;
inherit (lib)
getOutput
maintainers
mkEnableOption
mkIf
mkOption
mkPackageOption
types
;
cfg = config.networking.stevenblack;
# needs to be in a specific order
activatedHosts = with cfg; [ ]
++ optionals (elem "fakenews" block) [ "fakenews" ]
++ optionals (elem "gambling" block) [ "gambling" ]
++ optionals (elem "porn" block) [ "porn" ]
++ optionals (elem "social" block) [ "social" ];
hostsPath = "${pkgs.stevenblack-blocklist}/alternates/" + concatStringsSep "-" activatedHosts + "/hosts";
in
{
options.networking.stevenblack = {
enable = mkEnableOption "the stevenblack hosts file blocklist";
package = mkPackageOption pkgs "stevenblack-blocklist" { };
block = mkOption {
type = types.listOf (types.enum [ "fakenews" "gambling" "porn" "social" ]);
type = types.listOf (
types.enum [
"fakenews"
"gambling"
"porn"
"social"
]
);
default = [ ];
description = "Additional blocklist extensions.";
};
};
config = mkIf cfg.enable {
networking.hostFiles = [ ]
++ optionals (activatedHosts != [ ]) [ hostsPath ]
++ optionals (activatedHosts == [ ]) [ "${pkgs.stevenblack-blocklist}/hosts" ];
networking.hostFiles = map (x: "${getOutput x cfg.package}/hosts") ([ "ads" ] ++ cfg.block);
};
meta.maintainers = [ maintainers.moni maintainers.artturin ];
meta.maintainers = with maintainers; [
moni
artturin
frontear
];
}

View File

@ -38,7 +38,7 @@
let
pname = "RStudio";
version = "2024.04.1+748";
version = "2024.04.2+764";
RSTUDIO_VERSION_MAJOR = lib.versions.major version;
RSTUDIO_VERSION_MINOR = lib.versions.minor version;
RSTUDIO_VERSION_PATCH = lib.versions.patch version;
@ -50,7 +50,7 @@ let
owner = "rstudio";
repo = "rstudio";
rev = "v" + version;
hash = "sha256-fzxbhN9NdM0E2rxezj2BMEZ8obUbX0Zw8haDNmfAkWs=";
hash = "sha256-j258eW1MYQrB6kkpjyolXdNuwQ3zSWv9so4q0QLsZuw=";
};
mathJaxSrc = fetchurl {
@ -134,39 +134,29 @@ in
./pandoc-nix-path.patch
./use-system-quarto.patch
./ignore-etc-os-release.patch
(fetchpatch {
name = "use-system-yaml-patch";
url = "https://github.com/rstudio/rstudio/commit/04de8ca8b83dcc7fee9fd65e6ef58c372489d5ef.patch";
hash = "sha256-FHSSOPsw6AAYBj/fgNT6idyxvRj3SG+fbla0UDjug1Y=";
})
];
postPatch = ''
substituteInPlace src/cpp/core/r_util/REnvironmentPosix.cpp --replace '@R@' ${R}
substituteInPlace src/cpp/CMakeLists.txt \
--replace 'SOCI_LIBRARY_DIR "/usr/lib"' 'SOCI_LIBRARY_DIR "${soci}/lib"'
substituteInPlace src/cpp/core/r_util/REnvironmentPosix.cpp --replace-fail '@R@' ${R}
substituteInPlace src/gwt/build.xml \
--replace '@node@' ${nodejs} \
--replace './lib/quarto' ${quartoSrc}
--replace-fail '@node@' ${nodejs} \
--replace-fail './lib/quarto' ${quartoSrc}
substituteInPlace src/cpp/conf/rsession-dev.conf \
--replace '@node@' ${nodejs}
--replace-fail '@node@' ${nodejs}
substituteInPlace src/cpp/core/libclang/LibClang.cpp \
--replace '@libclang@' ${llvmPackages.libclang.lib} \
--replace '@libclang.so@' ${llvmPackages.libclang.lib}/lib/libclang.so
--replace-fail '@libclang@' ${llvmPackages.libclang.lib} \
--replace-fail '@libclang.so@' ${llvmPackages.libclang.lib}/lib/libclang.so
substituteInPlace src/cpp/session/CMakeLists.txt \
--replace '@pandoc@' ${pandoc} \
--replace '@quarto@' ${quarto}
--replace-fail '@pandoc@' ${pandoc} \
--replace-fail '@quarto@' ${quarto}
substituteInPlace src/cpp/session/include/session/SessionConstants.hpp \
--replace '@pandoc@' ${pandoc}/bin \
--replace '@quarto@' ${quarto}
--replace-fail '@pandoc@' ${pandoc}/bin \
--replace-fail '@quarto@' ${quarto}
'';
hunspellDictionaries = with lib; filter isDerivation (unique (attrValues hunspellDicts));
@ -189,10 +179,10 @@ in
unzip -q ${mathJaxSrc} -d dependencies/mathjax-27
# As of Chocolate Cosmos, node 18.19.1 is used for runtime
# As of Chocolate Cosmos, node 18.20.3 is used for runtime
# 18.18.2 is still used for build
# see https://github.com/rstudio/rstudio/commit/facb5cf1ab38fe77813aaf36590804e4f865d780
mkdir -p dependencies/common/node/18.19.1
mkdir -p dependencies/common/node/18.20.3
mkdir -p dependencies/pandoc/${pandoc.version}
cp ${pandoc}/bin/pandoc dependencies/pandoc/${pandoc.version}/pandoc

View File

@ -17167,6 +17167,18 @@ final: prev:
meta.homepage = "https://github.com/HerringtonDarkholme/yats.vim/";
};
yazi-nvim = buildVimPlugin {
pname = "yazi.nvim";
version = "2024-06-29";
src = fetchFromGitHub {
owner = "mikavilpas";
repo = "yazi.nvim";
rev = "05849f390175f2ba8fd277b224d4fd9e35455895";
sha256 = "zj+lmxsOEW+YaCk5hb7u454gACUmqYPA/IeW6av4D7k=";
};
meta.homepage = "https://github.com/DreamMaoMao/yazi.nvim";
};
yescapsquit-vim = buildVimPlugin {
pname = "yescapsquit.vim";
version = "2022-08-31";

View File

@ -1446,6 +1446,7 @@ https://github.com/drmingdrmer/xptemplate/,,
https://github.com/guns/xterm-color-table.vim/,,
https://github.com/gbprod/yanky.nvim/,HEAD,
https://github.com/HerringtonDarkholme/yats.vim/,,
https://github.com/mikavilpas/yazi.nvim/,HEAD,
https://github.com/lucasew/yescapsquit.vim/,HEAD,
https://github.com/elkowar/yuck.vim/,HEAD,
https://github.com/KabbAmine/zeavim.vim/,,

View File

@ -6,7 +6,7 @@
cargo-shear,
}:
let
version = "0.0.26";
version = "1.0.0";
in
rustPlatform.buildRustPackage {
pname = "cargo-shear";
@ -16,10 +16,10 @@ rustPlatform.buildRustPackage {
owner = "Boshen";
repo = "cargo-shear";
rev = "v${version}";
hash = "sha256-c3gicJWMiMZ0Suo30XcQoWhHRE3aXdQmSD0K5y2Quec=";
hash = "sha256-onTVA/VH5GrDYBDGKbWOSFeW1RCzDooh3PJxCD39e1o=";
};
cargoHash = "sha256-Clhd8ifbT+it0EGcysJvI9O89qzee9T6EGWlcMO8osE=";
cargoHash = "sha256-63792ztjnGcAiFpHTcaI03PV4dQxhOP2eRNda8MWiqc=";
# https://github.com/Boshen/cargo-shear/blob/a0535415a3ea94c86642f39f343f91af5cdc3829/src/lib.rs#L20-L23
SHEAR_VERSION = version;

View File

@ -6,15 +6,15 @@
}:
let
timestamp = "202405301306";
timestamp = "202406271335";
in
stdenv.mkDerivation (finalAttrs: {
pname = "jdt-language-server";
version = "1.36.0";
version = "1.37.0";
src = fetchurl {
url = "https://download.eclipse.org/jdtls/milestones/${finalAttrs.version}/jdt-language-server-${finalAttrs.version}-${timestamp}.tar.gz";
hash = "sha256-Ao4nTQb0phytT/1W+J70FKj2VhPG0F2UZ2Ubf7A9rns=";
hash = "sha256-0EzZ9N9FzoWunPSVMMcqGjJLFO7nR68m4zdFAONrW9A=";
};
sourceRoot = ".";
@ -29,8 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
# than in the original package. In addition, hard-code the path to the jdk
# in the wrapper, instead of searching for it in PATH at runtime.
substituteInPlace bin/jdtls.py \
--replace "jdtls_base_path = Path(__file__).parent.parent" "jdtls_base_path = Path(\"$out/share/java/jdtls/\")" \
--replace "java_executable = get_java_executable(known_args.validate_java_version)" "java_executable = '${lib.getExe jdk}'"
--replace-fail "jdtls_base_path = Path(__file__).parent.parent" "jdtls_base_path = Path(\"$out/share/java/jdtls/\")" \
--replace-fail "java_executable = get_java_executable(known_args)" "java_executable = '${lib.getExe jdk}'"
'';
installPhase =

View File

@ -1,12 +1,19 @@
{ lib, stdenv, fetchurl, makeWrapper, jre_headless, gawk }:
{
lib,
stdenv,
fetchurl,
makeWrapper,
jre_headless,
gawk,
}:
stdenv.mkDerivation rec {
pname = "nexus";
version = "3.68.1-02";
version = "3.69.0-02";
src = fetchurl {
url = "https://download.sonatype.com/nexus/3/nexus-${version}-unix.tar.gz";
hash = "sha256-VHS4KDFgU3djteDzDAe43TZIwRG/8bb7u3usoOCJS5M=";
hash = "sha256-7sgLPuM93mFEPlTd3qJY+FGVHErvgcTGJWwSBcqBgWI=";
};
preferLocalBuild = true;
@ -15,13 +22,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
patches = [ ./nexus-bin.patch ./nexus-vm-opts.patch ];
patches = [
./nexus-bin.patch
./nexus-vm-opts.patch
];
postPatch = ''
substituteInPlace bin/nexus.vmoptions \
--replace ../sonatype-work /var/lib/sonatype-work \
--replace etc/karaf $out/etc/karaf \
--replace =. =$out
--replace-fail ../sonatype-work /var/lib/sonatype-work \
--replace-fail etc/karaf $out/etc/karaf \
--replace-fail =. =$out
'';
installPhase = ''
@ -39,12 +49,17 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Repository manager for binary software components";
homepage = "https://www.sonatype.com/products/sonatype-nexus-oss";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.epl10;
platforms = platforms.all;
maintainers = with maintainers; [ aespinosa ironpinguin zaninime ];
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.epl10;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
aespinosa
ironpinguin
luftmensch-luftmensch
zaninime
];
};
}

View File

@ -0,0 +1,69 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "stevenblack-blocklist";
version = "3.14.84";
src = fetchFromGitHub {
owner = "StevenBlack";
repo = "hosts";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-tahf6mdtmZofwMZfMsuDAqCR/V1qZt6vV+o6t4YTKG0=";
};
outputs = [
# default src fallback
"out"
# base hosts file
"ads"
# extensions only
"fakenews"
"gambling"
"porn"
"social"
];
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out $ads $fakenews $gambling $porn $social
# out
find alternates -type f -not -name "hosts" -exec rm {} +
cp -r alternates $out
install -Dm644 hosts $out
# ads
install -Dm644 hosts $ads
# extensions
install -Dm644 alternates/fakenews-only/hosts $fakenews
install -Dm644 alternates/gambling-only/hosts $gambling
install -Dm644 alternates/porn-only/hosts $porn
install -Dm644 alternates/social-only/hosts $social
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Unified hosts file with base extensions";
homepage = "https://github.com/StevenBlack/hosts";
license = licenses.mit;
maintainers = with maintainers; [
moni
Guanran928
frontear
];
};
})

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "rgbds";
version = "0.7.0";
version = "0.8.0";
src = fetchFromGitHub {
owner = "gbdev";
repo = "rgbds";
rev = "v${version}";
hash = "sha256-aktKJlwXpHpjSFxoz5wZJPGWZIcn4ax5iBP0GQEux78=";
hash = "sha256-rSPYnbZjCoAKJBNCJCKsLBenolOzS78Zm850BJ8mKhA=";
};
nativeBuildInputs = [ bison flex pkg-config ];
buildInputs = [ libpng ];

View File

@ -4,13 +4,13 @@ let
pkg = buildGoModule rec {
pname = "arduino-cli";
version = "1.0.1";
version = "1.0.2";
src = fetchFromGitHub {
owner = "arduino";
repo = pname;
rev = "v${version}";
hash = "sha256-3VXc0Ksv6swmKEClNF5RRjX68RFLg2IRdBwcVgI5Syo=";
hash = "sha256-lRCkUF0BBX0nej/HxfV9u8NIuA5W0aBKP2xPR8C61NY=";
};
nativeBuildInputs = [
@ -67,8 +67,8 @@ let
description = "Arduino from the command line";
mainProgram = "arduino-cli";
changelog = "https://github.com/arduino/arduino-cli/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ryantm ];
license = [ licenses.gpl3Only licenses.asl20 ];
maintainers = with maintainers; [ ryantm sfrijters ];
};
};

View File

@ -8,14 +8,14 @@
stdenv.mkDerivation rec {
pname = "assimp";
version = "5.4.1";
version = "5.4.2";
outputs = [ "out" "lib" "dev" ];
src = fetchFromGitHub {
owner = "assimp";
repo = "assimp";
rev = "v${version}";
hash = "sha256-F3aaEaHZyOLES6zOYqHRG0BtaKk9d/bAHCtal6FsIWc=";
hash = "sha256-4KpqH3rSNSTAXMFPWAvGTZA4jzKIChHFdtW97sK2EyY=";
};
nativeBuildInputs = [ cmake ];

View File

@ -19,13 +19,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocksdb";
version = "9.2.1";
version = "9.3.1";
src = fetchFromGitHub {
owner = "facebook";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-Zifn5Gu/4h6TaEqSaWQ2mFdryeAarqbHWW3fKUGGFac=";
hash = "sha256-bTUzh7ch14TDcm6GkfhA5I/qUVmUm+RE5d2HMZ3zaNc=";
};
patches = [ ./fix-findliburing.patch ];

View File

@ -4,13 +4,13 @@
buildDunePackage rec {
pname = "macaddr";
version = "5.5.0";
version = "5.6.0";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz";
hash = "sha256-YokLMW4DV5KtKa8a2XFFbRDe/VJbdLU9sbZ/pCN1wXg=";
hash = "sha256-njBDP9tMpDemqo/7RHuspeunYV+4jnsM2KS0FsMggTM=";
};
checkInputs = [ ppx_sexp_conv ounit2 ];

View File

@ -2,13 +2,13 @@
buildDunePackage rec {
pname = "miou";
version = "0.1.0";
version = "0.2.0";
minimalOCamlVersion = "5.0.0";
src = fetchurl {
url = "https://github.com/robur-coop/miou/releases/download/v${version}/miou-${version}.tbz";
hash = "sha256-WTs6L9j4z1/0wKcGIZVwaNrATRGCTN5A6RwO7tY2phE=";
hash = "sha256-hxYCG1NkDEbVyDvN8eS/Fj6s10YyS7NRGlyNOkLy6sA=";
};
meta = {

View File

@ -8,8 +8,8 @@
importlib-metadata,
mock,
openssh,
packaging,
pexpect,
psutil,
pytest-mock,
pytest-timeout,
pytest-xdist,
@ -19,7 +19,6 @@
pyyaml,
setuptools,
setuptools-scm,
six,
}:
buildPythonPackage rec {
@ -27,25 +26,28 @@ buildPythonPackage rec {
version = "2.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-gtArJUiDDzelNRe2XII8SvNxBpQGx9ITtckEHUXgxbY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"setuptools>=45, <=69.0.2", "setuptools-scm[toml]>=6.2, <=8.0.4"' '"setuptools", "setuptools-scm"'
'';
build-system = [
setuptools
setuptools-scm
];
dependencies = [
ansible-core
psutil
packaging
pexpect
python-daemon
pyyaml
six
] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
nativeCheckInputs = [

View File

@ -9,6 +9,7 @@
hatch-fancy-pypi-readme,
hatchling,
httpx,
jiter,
pydantic,
pytest-asyncio,
pytestCheckHook,
@ -42,6 +43,7 @@ buildPythonPackage rec {
anyio
distro
httpx
jiter
sniffio
pydantic
tokenizers

View File

@ -36,22 +36,18 @@ buildPythonPackage rec {
hash = "sha256-zAjGVICrYgai6GFpcJyigKxn7kNEZKclggR5ktzrCQ0=";
};
pythonRelaxDeps = [ "clarifai-grpc" ];
pythonRemoveDeps = [ "opencv-python" ];
pythonRelaxDeps = [
"clarifai-grpc"
"schema"
];
build-system = [ setuptools ];
dependencies = [
clarifai-grpc
inquirerpy
llama-index-core
numpy
opencv4
pandas
pillow
pypdf
pyyaml
rich
schema
@ -73,6 +69,8 @@ buildPythonPackage rec {
disabledTests = [
# Test requires network access and API key
"test_export_workflow_general"
"test_validate_invalid_id"
"test_validate_invalid_hex_id"
];
disabledTestPaths = [

View File

@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
agate,
dbt-common,
mashumaro,
protobuf,
pytz,
typing-extensions,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dbt-adapters";
version = "1.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-adapters";
rev = "refs/tags/v${version}";
hash = "sha256-Erx/j1x+I4ypPqBFzJRZk3ILr3ZG97Hvk4vXe2p6cDc=";
};
build-system = [ hatchling ];
dependencies = [
agate
dbt-common
mashumaro
protobuf
pytz
typing-extensions
] ++ mashumaro.optional-dependencies.msgpack;
pythonImportsCheck = [ "dbt.adapters" ];
# circular dependencies
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "The set of adapter protocols and base functionality that supports integration with dbt-core";
homepage = "https://github.com/dbt-labs/dbt-adapters";
changelog = "https://github.com/dbt-labs/dbt-adapters/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -0,0 +1,65 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
agate,
colorama,
isodate,
jinja2,
jsonschema,
mashumaro,
pathspec,
protobuf,
python-dateutil,
requests,
typing-extensions,
pytest-mock,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dbt-common";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-common";
rev = "refs/tags/v${version}";
hash = "sha256-3UjwQy257ks21fQV0uZNKu5EsuzjlIAEcVtRWkR9x/4=";
};
build-system = [ hatchling ];
dependencies = [
agate
colorama
isodate
jinja2
jsonschema
mashumaro
pathspec
protobuf
python-dateutil
requests
typing-extensions
] ++ mashumaro.optional-dependencies.msgpack;
pythonImportsCheck = [ "dbt_common" ];
nativeCheckInputs = [
pytest-mock
pytest-xdist
pytestCheckHook
];
meta = {
description = "Shared common utilities for dbt-core and adapter implementations use";
homepage = "https://github.com/dbt-labs/dbt-common";
changelog = "https://github.com/dbt-labs/dbt-common/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -2,15 +2,13 @@
lib,
agate,
buildPythonPackage,
cffi,
click,
colorama,
daff,
dbt-adapters,
dbt-common,
dbt-extractor,
dbt-semantic-interfaces,
fetchFromGitHub,
hologram,
idna,
isodate,
jinja2,
logbook,
mashumaro,
@ -27,8 +25,6 @@
setuptools,
sqlparse,
typing-extensions,
urllib3,
werkzeug,
}:
buildPythonPackage rec {
@ -50,6 +46,7 @@ buildPythonPackage rec {
pythonRelaxDeps = [
"agate"
"click"
"dbt-semantic-interfaces"
"mashumaro"
"networkx"
"logbook"
@ -63,14 +60,12 @@ buildPythonPackage rec {
dependencies = [
agate
cffi
click
colorama
daff
dbt-adapters
dbt-common
dbt-extractor
dbt-semantic-interfaces
hologram
idna
isodate
jinja2
logbook
mashumaro
@ -84,8 +79,6 @@ buildPythonPackage rec {
requests
sqlparse
typing-extensions
urllib3
werkzeug
] ++ mashumaro.optional-dependencies.msgpack;
# tests exist for the dbt tool but not for this package specifically

View File

@ -2,28 +2,39 @@
lib,
agate,
buildPythonPackage,
fetchFromGitHub,
dbt-adapters,
dbt-common,
dbt-core,
hatchling,
psycopg2,
pythonOlder,
setuptools,
}:
buildPythonPackage {
buildPythonPackage rec {
pname = "dbt-postgres";
version = "1.8.2";
pyproject = true;
inherit (dbt-core) version src;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.7";
sourceRoot = "${dbt-core.src.name}/plugins/postgres";
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-postgres";
rev = "refs/tags/v${version}";
hash = "sha256-E7Y2lY8aCiAZx5sLWwpOBLTrdOsCQAdWWJTvR2jGOaA=";
};
env.DBT_PSYCOPG2_NAME = "psycopg2";
build-system = [ setuptools ];
build-system = [ hatchling ];
pythonRemoveDeps = [ "psycopg2-binary" ];
dependencies = [
agate
dbt-adapters
dbt-common
dbt-core
psycopg2
];

View File

@ -9,6 +9,7 @@
pandas,
poetry-core,
pytest-remotedata,
snapshottest,
sqlalchemy,
typing-extensions,
}:
@ -44,6 +45,7 @@ buildPythonPackage rec {
hypothesis
pandas
pytest-remotedata
snapshottest
typing-extensions
];

View File

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
linear-operator,
scikit-learn,
setuptools,
@ -23,6 +24,16 @@ buildPythonPackage rec {
hash = "sha256-cpkfjx5G/4duL1Rr4nkHTHi03TDcYbcx3bKP2Ny7Ijo=";
};
patches = [
(fetchpatch {
# https://github.com/cornellius-gp/gpytorch/pull/2545
name = "scipy-1.14-compatibility.patch";
url = "https://github.com/cornellius-gp/gpytorch/commit/2562be472521b8aec366de2619e3130a96fab982.patch";
excludes = [ "setup.py" ];
hash = "sha256-znOFpN6go2iIxP24VjJLKF3Laxcr4xV/IyP2y36g4QY=";
})
];
nativeBuildInputs = [
setuptools
setuptools-scm

View File

@ -5,6 +5,7 @@
buildPythonPackage,
docstring-parser,
fetchFromGitHub,
jiter,
openai,
poetry-core,
pydantic,
@ -37,14 +38,15 @@ buildPythonPackage rec {
pythonRelaxDeps = [
"docstring-parser"
"pydantic"
"jiter"
];
build-system = [ poetry-core ];
dependencies = [
aiohttp
docstring-parser
jiter
openai
pydantic
rich
@ -73,7 +75,6 @@ buildPythonPackage rec {
disabledTestPaths = [
# Tests require OpenAI API key
"tests/test_distil.py"
"tests/test_new_client.py"
"tests/llm/"
];

View File

@ -0,0 +1,588 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "ahash"
version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
dependencies = [
"cfg-if",
"getrandom",
"once_cell",
"version_check",
"zerocopy",
]
[[package]]
name = "arbitrary"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
[[package]]
name = "autocfg"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "bencher"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dfdb4953a096c551ce9ace855a604d702e6e62d77fac690575ae347571717f5"
[[package]]
name = "bitvec"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
dependencies = [
"funty",
"radium",
"tap",
"wyz",
]
[[package]]
name = "cc"
version = "1.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74b6a57f98764a267ff415d50a25e6e166f3831a5071af4995296ea97d210490"
dependencies = [
"jobserver",
"libc",
"once_cell",
]
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "codspeed"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a104ac948e0188b921eb3fcbdd55dcf62e542df4c7ab7e660623f6288302089"
dependencies = [
"colored",
"libc",
"serde_json",
]
[[package]]
name = "codspeed-bencher-compat"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ceaba84ea2634603a0f199c07fa39ff4dda61f89a3f9149fb89b035bc317b671"
dependencies = [
"bencher",
"codspeed",
]
[[package]]
name = "colored"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
dependencies = [
"lazy_static",
"windows-sys",
]
[[package]]
name = "equivalent"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]]
name = "funty"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
[[package]]
name = "fuzz"
version = "0.5.0"
dependencies = [
"indexmap",
"jiter",
"libfuzzer-sys",
"num-bigint",
"num-traits",
"serde",
"serde_json",
]
[[package]]
name = "getrandom"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
dependencies = [
"cfg-if",
"libc",
"wasi",
]
[[package]]
name = "hashbrown"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
[[package]]
name = "heck"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "indexmap"
version = "2.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
dependencies = [
"equivalent",
"hashbrown",
]
[[package]]
name = "indoc"
version = "2.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
[[package]]
name = "itoa"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "jiter"
version = "0.5.0"
dependencies = [
"ahash",
"bencher",
"bitvec",
"codspeed-bencher-compat",
"lexical-parse-float",
"num-bigint",
"num-traits",
"paste",
"pyo3",
"pyo3-build-config",
"serde",
"serde_json",
"smallvec",
]
[[package]]
name = "jiter-python"
version = "0.5.0"
dependencies = [
"jiter",
"pyo3",
]
[[package]]
name = "jobserver"
version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e"
dependencies = [
"libc",
]
[[package]]
name = "lazy_static"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "lexical-parse-float"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f"
dependencies = [
"lexical-parse-integer",
"lexical-util",
"static_assertions",
]
[[package]]
name = "lexical-parse-integer"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9"
dependencies = [
"lexical-util",
"static_assertions",
]
[[package]]
name = "lexical-util"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc"
dependencies = [
"static_assertions",
]
[[package]]
name = "libc"
version = "0.2.155"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
[[package]]
name = "libfuzzer-sys"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a96cfd5557eb82f2b83fed4955246c988d331975a002961b07c81584d107e7f7"
dependencies = [
"arbitrary",
"cc",
"once_cell",
]
[[package]]
name = "memoffset"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
dependencies = [
"autocfg",
]
[[package]]
name = "num-bigint"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
dependencies = [
"num-integer",
"num-traits",
]
[[package]]
name = "num-integer"
version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
dependencies = [
"num-traits",
]
[[package]]
name = "num-traits"
version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
]
[[package]]
name = "once_cell"
version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "paste"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
[[package]]
name = "portable-atomic"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
[[package]]
name = "proc-macro2"
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
dependencies = [
"unicode-ident",
]
[[package]]
name = "pyo3"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1962a33ed2a201c637fc14a4e0fd4e06e6edfdeee6a5fede0dab55507ad74cf7"
dependencies = [
"cfg-if",
"indoc",
"libc",
"memoffset",
"num-bigint",
"once_cell",
"portable-atomic",
"pyo3-build-config",
"pyo3-ffi",
"pyo3-macros",
"unindent",
]
[[package]]
name = "pyo3-build-config"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab7164b2202753bd33afc7f90a10355a719aa973d1f94502c50d06f3488bc420"
dependencies = [
"once_cell",
"target-lexicon",
]
[[package]]
name = "pyo3-ffi"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6424906ca49013c0829c5c1ed405e20e2da2dc78b82d198564880a704e6a7b7"
dependencies = [
"libc",
"pyo3-build-config",
]
[[package]]
name = "pyo3-macros"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82b2f19e153122d64afd8ce7aaa72f06a00f52e34e1d1e74b6d71baea396460a"
dependencies = [
"proc-macro2",
"pyo3-macros-backend",
"quote",
"syn",
]
[[package]]
name = "pyo3-macros-backend"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd698c04cac17cf0fe63d47790ab311b8b25542f5cb976b65c374035c50f1eef"
dependencies = [
"heck",
"proc-macro2",
"pyo3-build-config",
"quote",
"syn",
]
[[package]]
name = "quote"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
dependencies = [
"proc-macro2",
]
[[package]]
name = "radium"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
[[package]]
name = "ryu"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
[[package]]
name = "serde"
version = "1.0.203"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.203"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "serde_json"
version = "1.0.120"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5"
dependencies = [
"indexmap",
"itoa",
"ryu",
"serde",
]
[[package]]
name = "smallvec"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "syn"
version = "2.0.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "tap"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "target-lexicon"
version = "0.12.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
[[package]]
name = "unicode-ident"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unindent"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
[[package]]
name = "version_check"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "windows-sys"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
dependencies = [
"windows-targets",
]
[[package]]
name = "windows-targets"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
[[package]]
name = "wyz"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
dependencies = [
"tap",
]
[[package]]
name = "zerocopy"
version = "0.7.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
dependencies = [
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
version = "0.7.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
"syn",
]

View File

@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
rustPlatform,
fetchFromGitHub,
libiconv,
dirty-equals,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jiter";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pydantic";
repo = "jiter";
rev = "refs/tags/v${version}";
hash = "sha256-EgovddXbwutLaVkosdbJ2Y3BpEms+RoeaO8ghBRNdio=";
};
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
'';
cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
buildAndTestSubdir = "crates/jiter-python";
nativeBuildInputs = [ rustPlatform.cargoSetupHook ];
build-system = [ rustPlatform.maturinBuildHook ];
buildInputs = [ libiconv ];
pythonImportsCheck = [ "jiter" ];
nativeCheckInputs = [
dirty-equals
pytestCheckHook
];
meta = {
description = "Fast iterable JSON parser";
homepage = "https://github.com/pydantic/jiter/";
changelog = "https://github.com/pydantic/jiter/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}

View File

@ -21,6 +21,8 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools ];
pythonRelaxDeps = [ "psutil" ];
propagatedBuildInputs = [
pandocfilters
psutil

View File

@ -42,6 +42,8 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonRelaxDeps = [ "fastapi" ];
dependencies = [
fastapi
injector

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "sensor-state-data";
version = "2.18.0";
version = "2.18.1";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-wYYSS4lABCbIhmUU3z3Wh0+4zwpEzXl8Kk9gi6LBrbQ=";
hash = "sha256-9GdBKUhueis8pnQP5ZNxvEyRXVGINTueVzLOR4xx5mU=";
};
nativeBuildInputs = [ poetry-core ];

View File

@ -31,14 +31,14 @@
buildPythonPackage rec {
pname = "thinc";
version = "9.0.0";
version = "8.2.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-u+f8PcpPK4miwUKei/HJ3CCw+q0T8KwpBTu7PCUxrVc=";
hash = "sha256-9a/FIikSqAvai9zslYNiorpTjXAn3I22FUhF0oWdynY=";
};
postPatch = ''

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "direvent";
version = "5.3";
version = "5.4";
src = fetchurl {
url = "mirror://gnu/direvent/direvent-${version}.tar.gz";
sha256 = "sha256-lAWop32kn+krvkrxi/kl/5H20zdMELfXAKAxusuUxJc=";
sha256 = "sha256-HbvGGSqrZ+NFclFIYD1XDGooKDgMlkIVdir5FSTXlbo=";
};
meta = with lib; {

View File

@ -17,8 +17,11 @@ let
sha256 = "0zjba1090awxkmgifr9jnjkxf41zhzc4f6mrnbayn3v6s77ca9x4";
};
nativeBuildInputs = [ pkg-config autoconf automake ];
buildInputs = [popt avahi python3 gtk3 which procps libiberty_static];
nativeBuildInputs = [
pkg-config autoconf automake which
(python3.withPackages (p: [ p.setuptools ]))
];
buildInputs = [ popt avahi gtk3 procps libiberty_static ];
preConfigure =
''
export CPATH=$(ls -d ${gcc.cc}/lib/gcc/*/${gcc.cc.version}/plugin/include)

View File

@ -64,7 +64,7 @@ rustPlatform.buildRustPackage rec {
"--skip=semantic::types::infer::tests::resolve_visible_def"
];
postInstall = ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd ruff \
--bash <($out/bin/ruff generate-shell-completion bash) \
--fish <($out/bin/ruff generate-shell-completion fish) \

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "gcsfuse";
version = "2.2.0";
version = "2.3.1";
src = fetchFromGitHub {
owner = "googlecloudplatform";
repo = "gcsfuse";
rev = "v${version}";
hash = "sha256-ecTwC0FHg0MHBkrsydTam4UfylldZQp06t/1BYUwgUI=";
hash = "sha256-FxBVNJVcVdAAvkIWzFmWiVdrVEQ4eQGGo8tmrlcH+6k=";
};
vendorHash = "sha256-GmLyYtgiUBd09mUktjNhbPN5QCUb9VNUzA0xT5mzQ0Q=";
vendorHash = "sha256-9eUUjcRQ/H3iPO2F+KE0nd5+b8slc6xacXSZt3jytgU=";
subPackages = [ "." "tools/mount_gcsfuse" ];

View File

@ -1,24 +0,0 @@
{ lib, fetchFromGitHub }:
let
version = "3.14.79";
in
fetchFromGitHub {
name = "stevenblack-blocklist-${version}";
owner = "StevenBlack";
repo = "hosts";
rev = version;
hash = "sha256-MfQGu+Y4/A0GKIu9d//U+yiP0fN/7cWhEo2dut4UvcE=";
meta = with lib; {
description = "Unified hosts file with base extensions";
homepage = "https://github.com/StevenBlack/hosts";
license = licenses.mit;
maintainers = with maintainers; [
moni
Guanran928
frontear
];
};
}

View File

@ -13160,8 +13160,6 @@ with pkgs;
staticjinja = with python3.pkgs; toPythonApplication staticjinja;
stevenblack-blocklist = callPackage ../tools/networking/stevenblack-blocklist { };
stress = callPackage ../tools/system/stress { };
stress-ng = callPackage ../tools/system/stress-ng { };
@ -18996,10 +18994,6 @@ with pkgs;
nix-build-uncached = callPackage ../development/tools/misc/nix-build-uncached { };
nexus = callPackage ../development/tools/repository-managers/nexus {
jre_headless = jre8_headless;
};
nexusmods-app-unfree = callPackage ../by-name/ne/nexusmods-app/package.nix {
enableUnfree = true;
};

View File

@ -2865,8 +2865,12 @@ self: super: with self; {
dbglib = callPackage ../development/python-modules/dbglib { };
dbt-adapters = callPackage ../development/python-modules/dbt-adapters { };
dbt-bigquery = callPackage ../development/python-modules/dbt-bigquery { };
dbt-common = callPackage ../development/python-modules/dbt-common { };
dbt-core = callPackage ../development/python-modules/dbt-core { };
dbt-extractor = callPackage ../development/python-modules/dbt-extractor { };
@ -6184,6 +6188,8 @@ self: super: with self; {
jishaku = callPackage ../development/python-modules/jishaku { };
jiter = callPackage ../development/python-modules/jiter { };
jiwer = callPackage ../development/python-modules/jiwer { };
jmespath = callPackage ../development/python-modules/jmespath { };