Merge remote-tracking branch 'origin/master' into staging-next

This commit is contained in:
K900 2024-10-17 09:07:35 +03:00
commit 47f2d87e32
28 changed files with 224 additions and 171 deletions

View File

@ -8,6 +8,7 @@
, qtbase , qtbase
, qtdeclarative , qtdeclarative
, qttools , qttools
, qtwayland
, qtsvg , qtsvg
, zlib , zlib
, zstd , zstd
@ -15,7 +16,7 @@
}: }:
let let
qtEnv = env "tiled-qt-env" [ qtbase qtdeclarative qtsvg qttools ]; qtEnv = env "tiled-qt-env" [ qtbase qtdeclarative qtsvg qttools qtwayland ];
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View File

@ -16,12 +16,12 @@
mkDerivation rec { mkDerivation rec {
pname = "hdrmerge"; pname = "hdrmerge";
version = "unstable-2023-01-04"; version = "0.5.0-unstable-2024-08-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jcelaya"; owner = "jcelaya";
repo = "hdrmerge"; repo = "hdrmerge";
rev = "ca38b54f980564942a7f2b014a5f57a64c1d9019"; rev = "e2a46f97498b321b232cc7f145461212677200f1";
hash = "sha256-DleYgpDXP0NvbmEURXnBfe3OYnT1CaQq+Mw93JQQprE="; hash = "sha256-471gJtF9M36pAId9POG8ZIpNk9H/157EdHqXSAPlhN0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -42,15 +42,6 @@ mkDerivation rec {
"-include cstdint" "-include cstdint"
]; ];
patches = [
# https://github.com/jcelaya/hdrmerge/pull/222
(fetchpatch {
name = "exiv2-0.28.patch";
url = "https://github.com/jcelaya/hdrmerge/commit/377d8e6f3c7cdd1a45b63bce2493ad177dde03fb.patch";
hash = "sha256-lXHML6zGkVeWKvmY5ECoJL2xjmtZz77XJd5prpgJiZo=";
})
];
desktopItems = [ desktopItems = [
(makeDesktopItem { (makeDesktopItem {
name = "HDRMerge"; name = "HDRMerge";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule, go }: { stdenv, lib, fetchFromGitHub, buildGoModule, installShellFiles, go }:
buildGoModule rec { buildGoModule rec {
pname = "kubelogin"; pname = "kubelogin";
@ -18,6 +18,17 @@ buildGoModule rec {
"-X main.goVersion=${lib.getVersion go}" "-X main.goVersion=${lib.getVersion go}"
]; ];
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
$out/bin/kubelogin completion bash >kubelogin.bash
$out/bin/kubelogin completion fish >kubelogin.fish
$out/bin/kubelogin completion zsh >kubelogin.zsh
installShellCompletion kubelogin.{bash,fish,zsh}
'';
__darwinAllowLocalNetworking = true;
meta = with lib; { meta = with lib; {
description = "Kubernetes credential plugin implementing Azure authentication"; description = "Kubernetes credential plugin implementing Azure authentication";
mainProgram = "kubelogin"; mainProgram = "kubelogin";

View File

@ -234,13 +234,13 @@
"vendorHash": "sha256-j3qdi19dxJL+R8Xa6MDag6KHMuBnzEZ9lUhuSAEZOAQ=" "vendorHash": "sha256-j3qdi19dxJL+R8Xa6MDag6KHMuBnzEZ9lUhuSAEZOAQ="
}, },
"cloudflare": { "cloudflare": {
"hash": "sha256-9M7PQEBg0qDmyz2B35krNUF9dDo0g28JomFor7b/Nsc=", "hash": "sha256-R6cJQaBnsARO3qg48ijqVdyrSivLN3Wf96yqTjuaN/c=",
"homepage": "https://registry.terraform.io/providers/cloudflare/cloudflare", "homepage": "https://registry.terraform.io/providers/cloudflare/cloudflare",
"owner": "cloudflare", "owner": "cloudflare",
"repo": "terraform-provider-cloudflare", "repo": "terraform-provider-cloudflare",
"rev": "v4.41.0", "rev": "v4.44.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-uLkoG0m3v1vohXO03nCrfxEhvJYfJOvYSIHsgYCjKtc=" "vendorHash": "sha256-g575BZRdCekfUgF78DENloCeM8TTz5OhLxxgb1OkElc="
}, },
"cloudfoundry": { "cloudfoundry": {
"hash": "sha256-1nYncJLVU/f9WD6Quh9IieIXgixPzbPk4zbtI1zmf9g=", "hash": "sha256-1nYncJLVU/f9WD6Quh9IieIXgixPzbPk4zbtI1zmf9g=",
@ -461,6 +461,15 @@
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-EiTWJ4bw8IwsRTD9Lt28Up2DXH0oVneO2IaO8VqWtkw=" "vendorHash": "sha256-EiTWJ4bw8IwsRTD9Lt28Up2DXH0oVneO2IaO8VqWtkw="
}, },
"gitea": {
"hash": "sha256-cIbDYFc6q6GMoQH9bqEA/LqC3MczAM7mewhYRRYQcy0=",
"homepage": "https://registry.terraform.io/providers/go-gitea/gitea",
"owner": "go-gitea",
"repo": "terraform-provider-gitea",
"rev": "v0.5.1",
"spdx": "MIT",
"vendorHash": "sha256-7gA6KoP7NwjwItigBUeCg9AYQ/MggkOHOe/bH7Tf/xA="
},
"github": { "github": {
"hash": "sha256-XnCoXKKAk1RvQiZ7IWxIOalSS5EC/l7jJYf7RVpAT6s=", "hash": "sha256-XnCoXKKAk1RvQiZ7IWxIOalSS5EC/l7jJYf7RVpAT6s=",
"homepage": "https://registry.terraform.io/providers/integrations/github", "homepage": "https://registry.terraform.io/providers/integrations/github",

View File

@ -1,17 +1,25 @@
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, stdenv, testers, gh }: {
lib,
fetchFromGitHub,
buildGoModule,
installShellFiles,
stdenv,
testers,
gh,
}:
buildGoModule rec { buildGoModule rec {
pname = "gh"; pname = "gh";
version = "2.58.0"; version = "2.59.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cli"; owner = "cli";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-KHJKE550XlGdB++jq/1kHP4o1QISbPtbt4GU9uIP3RE="; hash = "sha256-QOc99KmcGk9b9uy1/y1FSe0zYE1q0g06k7niqtsMDmY=";
}; };
vendorHash = "sha256-6T9LQNzGpADLwI0pFvjBe5rqbXOEDZmjYCy4RhNqcFI="; vendorHash = "sha256-Mje0IbvRj6pmOe8s8PX87ntPE+ZZeciLyOP6fmv7PmI=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -21,17 +29,20 @@ buildGoModule rec {
runHook postBuild runHook postBuild
''; '';
installPhase = '' installPhase =
''
runHook preInstall runHook preInstall
install -Dm755 bin/gh -t $out/bin install -Dm755 bin/gh -t $out/bin
'' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' ''
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installManPage share/man/*/*.[1-9] installManPage share/man/*/*.[1-9]
installShellCompletion --cmd gh \ installShellCompletion --cmd gh \
--bash <($out/bin/gh completion -s bash) \ --bash <($out/bin/gh completion -s bash) \
--fish <($out/bin/gh completion -s fish) \ --fish <($out/bin/gh completion -s fish) \
--zsh <($out/bin/gh completion -s zsh) --zsh <($out/bin/gh completion -s zsh)
'' + '' ''
+ ''
runHook postInstall runHook postInstall
''; '';

View File

@ -4,6 +4,7 @@
, rustPlatform , rustPlatform
, Security , Security
, SystemConfiguration , SystemConfiguration
, installShellFiles
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -26,6 +27,23 @@ rustPlatform.buildRustPackage rec {
Security SystemConfiguration Security SystemConfiguration
]; ];
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
export OUT_DIR=$(mktemp -d)
# Generate shell completions
$out/bin/git-cliff-completions
installShellCompletion \
--bash $OUT_DIR/git-cliff.bash \
--fish $OUT_DIR/git-cliff.fish \
--zsh $OUT_DIR/_git-cliff
# Generate man page
$out/bin/git-cliff-mangen
installManPage $OUT_DIR/git-cliff.1
'';
meta = with lib; { meta = with lib; {
description = "Highly customizable Changelog Generator that follows Conventional Commit specifications"; description = "Highly customizable Changelog Generator that follows Conventional Commit specifications";
homepage = "https://github.com/orhun/git-cliff"; homepage = "https://github.com/orhun/git-cliff";

View File

@ -2,6 +2,7 @@
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, installShellFiles
, bzip2 , bzip2
, openssl , openssl
, stdenv , stdenv
@ -21,7 +22,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-RjsYrFbS/OiMQKTiPshGcBI9KF75Z5stn2HaB6mniZE="; cargoHash = "sha256-RjsYrFbS/OiMQKTiPshGcBI9KF75Z5stn2HaB6mniZE=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
pkg-config
installShellFiles
];
buildInputs = [ buildInputs = [
bzip2 bzip2
@ -30,6 +34,10 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk.frameworks.SystemConfiguration darwin.apple_sdk.frameworks.SystemConfiguration
]; ];
postInstall = ''
installShellCompletion extra/shell/*.bash
'';
# Some tests fail because they need network access. # Some tests fail because they need network access.
# However, Travis ensures a proper build. # However, Travis ensures a proper build.
# See also: # See also:

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "cimg"; pname = "cimg";
version = "3.4.2"; version = "3.4.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GreycLab"; owner = "GreycLab";
repo = "CImg"; repo = "CImg";
rev = "refs/tags/v.${finalAttrs.version}"; rev = "refs/tags/v.${finalAttrs.version}";
hash = "sha256-lYs8V/phdyM1kpcxBDS3vAjxFgGCaaOCdNHU3//dgDs="; hash = "sha256-Abe7mSbdj06MossUQXCKZPzzfyvJyRVeLfzINYNPv4g=";
}; };
outputs = [ "out" "doc" ]; outputs = [ "out" "doc" ];

View File

@ -1,7 +1,9 @@
{ {
lib, lib,
stdenv,
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
darwin,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -17,6 +19,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-LYVhvq5l+PCZXW+elWi3zZFxLekgPn+plo4dybbLK9g="; cargoHash = "sha256-LYVhvq5l+PCZXW+elWi3zZFxLekgPn+plo4dybbLK9g=";
buildInputs = lib.optionals (stdenv.isDarwin) [
darwin.apple_sdk_11_0.frameworks.AppKit
];
meta = { meta = {
description = "Utility to copy project tree contents to clipboard"; description = "Utility to copy project tree contents to clipboard";
homepage = "https://github.com/DeeKahy/CopyCat"; homepage = "https://github.com/DeeKahy/CopyCat";

View File

@ -5,6 +5,7 @@
fetchFromGitHub, fetchFromGitHub,
flutter324, flutter324,
makeDesktopItem, makeDesktopItem,
copyDesktopItems,
nixosTests, nixosTests,
pkg-config, pkg-config,
libayatana-appindicator, libayatana-appindicator,
@ -35,7 +36,10 @@ let
"permission_handler_windows" = "sha256-+TP3neqlQRZnW6BxHaXr2EbmdITIx1Yo7AEn5iwAhwM="; "permission_handler_windows" = "sha256-+TP3neqlQRZnW6BxHaXr2EbmdITIx1Yo7AEn5iwAhwM=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
pkg-config
copyDesktopItems
];
buildInputs = [ libayatana-appindicator ]; buildInputs = [ libayatana-appindicator ];
@ -50,20 +54,19 @@ let
mkdir -p $d mkdir -p $d
ln -s $out/app/data/flutter_assets/assets/img/logo-''${s}.png $d/localsend.png ln -s $out/app/data/flutter_assets/assets/img/logo-''${s}.png $d/localsend.png
done done
mkdir -p $out/share/applications
cp $desktopItem/share/applications/*.desktop $out/share/applications
substituteInPlace $out/share/applications/*.desktop --subst-var out
''; '';
desktopItem = makeDesktopItem { desktopItems = [
(makeDesktopItem {
name = "LocalSend"; name = "LocalSend";
exec = "@out@/bin/localsend_app"; exec = "localsend_app";
icon = "localsend"; icon = "localsend";
desktopName = "LocalSend"; desktopName = "LocalSend";
startupWMClass = "localsend_app"; startupWMClass = "localsend_app";
genericName = "An open source cross-platform alternative to AirDrop"; genericName = "An open source cross-platform alternative to AirDrop";
categories = [ "Network" ]; categories = [ "Network" ];
}; })
];
passthru = { passthru = {
updateScript = ./update.sh; updateScript = ./update.sh;

View File

@ -1,34 +1,31 @@
{ lib {
, buildGoModule lib,
, fetchFromGitHub buildGoModule,
, unstableGitUpdater fetchFromGitHub,
unstableGitUpdater,
}: }:
buildGoModule { buildGoModule {
pname = "nix-search-cli"; pname = "nix-search-cli";
version = "0-unstable-2023-09-12"; version = "0.2-unstable-2024-09-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "peterldowns"; owner = "peterldowns";
repo = "nix-search-cli"; repo = "nix-search-cli";
rev = "f3f1c53c72dadac06472a7112aeb486ab5dda695"; rev = "7d6b4c501ee448dc2e5c123aa4c6d9db44a6dd12";
hash = "sha256-YM1Lf7py79rU8aJE0PfQaMr5JWx5J1covUf1aCjRkc8="; hash = "sha256-0Zms/QVCUKxILLLJYsaodSW64DJrVr/yB13SnNL8+Wg=";
}; };
vendorHash = "sha256-JDOu7YdX9ztMZt0EFAMz++gD7n+Mn1VOe5g6XwrgS5M="; vendorHash = "sha256-RZuB0aRiMSccPhX30cGKBBEMCSvmC6r53dWaqDYbmyA=";
passthru.updateScript = unstableGitUpdater { passthru.updateScript = unstableGitUpdater { };
# Almost every commit is tagged as "release-<unix-time>-<commit>", software doesn't keep track of its version
# Using 0 feels closer to what the tagging is trying to express
hardcodeZeroVersion = true;
};
meta = with lib; { meta = {
description = "CLI for searching packages on search.nixos.org"; description = "CLI for searching packages on search.nixos.org";
homepage = "https://github.com/peterldowns/nix-search-cli"; homepage = "https://github.com/peterldowns/nix-search-cli";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ donovanglover ]; maintainers = with lib.maintainers; [ donovanglover ];
platforms = platforms.all; platforms = lib.platforms.all;
mainProgram = "nix-search"; mainProgram = "nix-search";
}; };
} }

View File

@ -3,13 +3,13 @@
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
cmake, cmake,
openssl,
libplist,
pkg-config, pkg-config,
wrapGAppsHook3, wrapGAppsHook3,
avahi, avahi,
avahi-compat, avahi-compat,
gst_all_1, gst_all_1,
libplist,
openssl,
nix-update-script, nix-update-script,
}: }:
@ -26,14 +26,13 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = '' postPatch = ''
substituteInPlace lib/CMakeLists.txt \ substituteInPlace lib/CMakeLists.txt \
--replace "APPLE" "FALSE" \
--replace ".a" "${stdenv.hostPlatform.extensions.sharedLibrary}" --replace ".a" "${stdenv.hostPlatform.extensions.sharedLibrary}"
sed -i '/PKG_CONFIG_EXECUTABLE/d' renderers/CMakeLists.txt sed -i -e '/PKG_CONFIG_EXECUTABLE/d' -e '/PKG_CONFIG_PATH/d' renderers/CMakeLists.txt
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
openssl
libplist
pkg-config pkg-config
wrapGAppsHook3 wrapGAppsHook3
]; ];
@ -47,6 +46,8 @@ stdenv.mkDerivation (finalAttrs: {
gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly gst_all_1.gst-plugins-ugly
gst_all_1.gst-libav gst_all_1.gst-libav
libplist
openssl
]; ];
passthru.updateScript = nix-update-script { }; passthru.updateScript = nix-update-script { };

View File

@ -2282,9 +2282,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.18" version = "4.5.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3" checksum = "7be5744db7978a28d9df86a214130d106a89ce49644cbc4e3f0c22c3fba30615"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
"clap_derive", "clap_derive",
@ -2292,9 +2292,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.5.18" version = "4.5.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b" checksum = "a5fbc17d3ef8278f55b282b2a2e75ae6f6c7d4bb70ed3d0382375104bfafdb4b"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@ -4145,6 +4145,7 @@ dependencies = [
"snippet_provider", "snippet_provider",
"task", "task",
"theme", "theme",
"tokio",
"toml 0.8.19", "toml 0.8.19",
"ui", "ui",
"url", "url",
@ -5147,9 +5148,9 @@ dependencies = [
[[package]] [[package]]
name = "grid" name = "grid"
version = "0.13.0" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d196ffc1627db18a531359249b2bf8416178d84b729f3cebeb278f285fb9b58c" checksum = "be136d9dacc2a13cc70bb6c8f902b414fb2641f8db1314637c6b7933411a8f82"
[[package]] [[package]]
name = "group" name = "group"
@ -6301,6 +6302,7 @@ dependencies = [
"strum 0.25.0", "strum 0.25.0",
"text", "text",
"theme", "theme",
"thiserror",
"tiktoken-rs", "tiktoken-rs",
"ui", "ui",
"unindent", "unindent",
@ -6367,7 +6369,6 @@ dependencies = [
"node_runtime", "node_runtime",
"paths", "paths",
"project", "project",
"protols-tree-sitter-proto",
"regex", "regex",
"rope", "rope",
"rust-embed", "rust-embed",
@ -7841,9 +7842,9 @@ dependencies = [
[[package]] [[package]]
name = "parking" name = "parking"
version = "2.2.0" version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
[[package]] [[package]]
name = "parking_lot" name = "parking_lot"
@ -8351,9 +8352,9 @@ dependencies = [
[[package]] [[package]]
name = "pretty_assertions" name = "pretty_assertions"
version = "1.4.0" version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
dependencies = [ dependencies = [
"diff", "diff",
"yansi", "yansi",
@ -8625,15 +8626,6 @@ version = "2.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94"
[[package]]
name = "protols-tree-sitter-proto"
version = "0.2.0"
source = "git+https://github.com/zed-industries/tree-sitter-proto?rev=0848bd30a64be48772e15fbb9d5ba8c0cc5772ad#0848bd30a64be48772e15fbb9d5ba8c0cc5772ad"
dependencies = [
"cc",
"tree-sitter-language",
]
[[package]] [[package]]
name = "psm" name = "psm"
version = "0.1.21" version = "0.1.21"
@ -8945,7 +8937,6 @@ dependencies = [
"gpui", "gpui",
"language", "language",
"log", "log",
"markdown",
"menu", "menu",
"ordered-float 2.10.1", "ordered-float 2.10.1",
"picker", "picker",
@ -9099,6 +9090,7 @@ dependencies = [
"serde_json", "serde_json",
"smol", "smol",
"tempfile", "tempfile",
"thiserror",
"util", "util",
] ]
@ -9107,7 +9099,9 @@ name = "remote_server"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace",
"cargo_toml", "cargo_toml",
"clap",
"client", "client",
"clock", "clock",
"env_logger", "env_logger",
@ -10061,9 +10055,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_json" name = "serde_json"
version = "1.0.127" version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
dependencies = [ dependencies = [
"indexmap 2.4.0", "indexmap 2.4.0",
"itoa", "itoa",
@ -10604,6 +10598,7 @@ dependencies = [
"libsqlite3-sys", "libsqlite3-sys",
"parking_lot", "parking_lot",
"smol", "smol",
"sqlformat",
"thread_local", "thread_local",
"util", "util",
"uuid", "uuid",
@ -10620,9 +10615,9 @@ dependencies = [
[[package]] [[package]]
name = "sqlformat" name = "sqlformat"
version = "0.2.4" version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f895e3734318cc55f1fe66258926c9b910c124d47520339efecbb6c59cec7c1f" checksum = "7bba3a93db0cc4f7bdece8bb09e77e2e785c20bfebf79eb8340ed80708048790"
dependencies = [ dependencies = [
"nom", "nom",
"unicode_categories", "unicode_categories",
@ -10878,6 +10873,7 @@ dependencies = [
"fuzzy", "fuzzy",
"gpui", "gpui",
"indoc", "indoc",
"isahc_http_client",
"language", "language",
"log", "log",
"menu", "menu",
@ -11276,6 +11272,7 @@ dependencies = [
"project", "project",
"serde", "serde",
"serde_json", "serde_json",
"settings",
"theme", "theme",
"ui", "ui",
"util", "util",
@ -11284,9 +11281,9 @@ dependencies = [
[[package]] [[package]]
name = "taffy" name = "taffy"
version = "0.4.4" version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ec17858c2d465b2f734b798b920818a974faf0babb15d7fef81818a4b2d16f1" checksum = "9cb893bff0f80ae17d3a57e030622a967b8dbc90e38284d9b4b1442e23873c94"
dependencies = [ dependencies = [
"arrayvec", "arrayvec",
"grid", "grid",
@ -11360,6 +11357,7 @@ dependencies = [
name = "telemetry_events" name = "telemetry_events"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"language",
"semantic_version", "semantic_version",
"serde", "serde",
] ]
@ -11425,12 +11423,12 @@ dependencies = [
[[package]] [[package]]
name = "terminal_size" name = "terminal_size"
version = "0.3.0" version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef"
dependencies = [ dependencies = [
"rustix 0.38.35", "rustix 0.38.35",
"windows-sys 0.48.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -11509,7 +11507,6 @@ dependencies = [
"serde_json_lenient", "serde_json_lenient",
"serde_repr", "serde_repr",
"settings", "settings",
"story",
"util", "util",
"uuid", "uuid",
] ]
@ -11556,18 +11553,18 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "1.0.63" version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "1.0.63" version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -11746,6 +11743,7 @@ dependencies = [
"pretty_assertions", "pretty_assertions",
"project", "project",
"recent_projects", "recent_projects",
"remote",
"rpc", "rpc",
"serde", "serde",
"settings", "settings",
@ -14118,6 +14116,7 @@ dependencies = [
"parking_lot", "parking_lot",
"postage", "postage",
"project", "project",
"release_channel",
"remote", "remote",
"schemars", "schemars",
"serde", "serde",
@ -14313,9 +14312,9 @@ dependencies = [
[[package]] [[package]]
name = "yansi" name = "yansi"
version = "0.5.1" version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
[[package]] [[package]]
name = "yazi" name = "yazi"
@ -14398,7 +14397,7 @@ dependencies = [
[[package]] [[package]]
name = "zed" name = "zed"
version = "0.156.2" version = "0.157.5"
dependencies = [ dependencies = [
"activity_indicator", "activity_indicator",
"anyhow", "anyhow",
@ -14540,7 +14539,7 @@ dependencies = [
[[package]] [[package]]
name = "zed_dart" name = "zed_dart"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"zed_extension_api 0.1.0", "zed_extension_api 0.1.0",
] ]
@ -14645,7 +14644,7 @@ dependencies = [
[[package]] [[package]]
name = "zed_php" name = "zed_php"
version = "0.2.0" version = "0.2.1"
dependencies = [ dependencies = [
"zed_extension_api 0.1.0", "zed_extension_api 0.1.0",
] ]
@ -14657,6 +14656,13 @@ dependencies = [
"zed_extension_api 0.1.0", "zed_extension_api 0.1.0",
] ]
[[package]]
name = "zed_proto"
version = "0.2.0"
dependencies = [
"zed_extension_api 0.1.0",
]
[[package]] [[package]]
name = "zed_purescript" name = "zed_purescript"
version = "0.0.1" version = "0.0.1"

View File

@ -86,13 +86,13 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "zed-editor"; pname = "zed-editor";
version = "0.156.2"; version = "0.157.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zed-industries"; owner = "zed-industries";
repo = "zed"; repo = "zed";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-nZsc8BUxHIVZoJvY+6JFIyuLJrnQ4H7LhesnEnceA74="; hash = "sha256-xtSdlzj1AxhJN4aXLJ+Oy51LX4QduLwcuCfK42kthvE=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -112,7 +112,6 @@ rustPlatform.buildRustPackage rec {
"font-kit-0.14.1" = "sha256-qUKvmi+RDoyhMrZ7T6SoVAyMc/aasQ9Y/okzre4SzXo="; "font-kit-0.14.1" = "sha256-qUKvmi+RDoyhMrZ7T6SoVAyMc/aasQ9Y/okzre4SzXo=";
"lsp-types-0.95.1" = "sha256-N4MKoU9j1p/Xeowki/+XiNQPwIcTm9DgmfM/Eieq4js="; "lsp-types-0.95.1" = "sha256-N4MKoU9j1p/Xeowki/+XiNQPwIcTm9DgmfM/Eieq4js=";
"nvim-rs-0.8.0-pre" = "sha256-VA8zIynflul1YKBlSxGCXCwa2Hz0pT3mH6OPsfS7Izo="; "nvim-rs-0.8.0-pre" = "sha256-VA8zIynflul1YKBlSxGCXCwa2Hz0pT3mH6OPsfS7Izo=";
"protols-tree-sitter-proto-0.2.0" = "sha256-0pvHuwqtkHYLevQnaEFmfyDtILD7Wy0in2KSKFR2mKw=";
"tree-sitter-gomod-1.0.2" = "sha256-FCb8ndKSFiLY7/nTX7tWF8c4KcSvoBU1QB5R4rdOgT0="; "tree-sitter-gomod-1.0.2" = "sha256-FCb8ndKSFiLY7/nTX7tWF8c4KcSvoBU1QB5R4rdOgT0=";
"tree-sitter-gowork-0.0.1" = "sha256-WRMgGjOlJ+bT/YnSBeSLRTLlltA5WwTvV0Ow/949+BE="; "tree-sitter-gowork-0.0.1" = "sha256-WRMgGjOlJ+bT/YnSBeSLRTLlltA5WwTvV0Ow/949+BE=";
"tree-sitter-heex-0.0.1" = "sha256-SnjhL0WVsHOKuUp3dkTETnCgC/Z7WN0XmpQdJPBeBhw="; "tree-sitter-heex-0.0.1" = "sha256-SnjhL0WVsHOKuUp3dkTETnCgC/Z7WN0XmpQdJPBeBhw=";

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "alglib3"; pname = "alglib3";
version = "4.02.0"; version = "4.03.0";
src = fetchurl { src = fetchurl {
url = "https://www.alglib.net/translator/re/alglib-${version}.cpp.gpl.tgz"; url = "https://www.alglib.net/translator/re/alglib-${version}.cpp.gpl.tgz";
sha256 = "sha256-U7/ukBXdwC8GkpevFfSfbgbiyOf7CkDv0PUAL8BnAag="; sha256 = "sha256-k7/U9Tq2ND8+qd8tHZP9Gq1okJF3tMNej3WE/6NkBYI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,7 +1,8 @@
{ lib, stdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost, opencl-clhpp, ocl-icd, darwin }: { lib, gccStdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost, opencl-clhpp, ocl-icd, darwin }:
let let
inherit (darwin.apple_sdk.frameworks) OpenCL; inherit (darwin.apple_sdk.frameworks) OpenCL;
stdenv = gccStdenv;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clfft"; pname = "clfft";

View File

@ -14,6 +14,7 @@
, openssl , openssl
, pkg-config , pkg-config
, protobuf , protobuf
, pkgsBuildHost
# default list of APIs: https://github.com/googleapis/google-cloud-cpp/blob/v1.32.1/CMakeLists.txt#L173 # default list of APIs: https://github.com/googleapis/google-cloud-cpp/blob/v1.32.1/CMakeLists.txt#L173
, apis ? [ "*" ] , apis ? [ "*" ]
, staticOnly ? stdenv.hostPlatform.isStatic , staticOnly ? stdenv.hostPlatform.isStatic
@ -97,14 +98,21 @@ stdenv.mkDerivation rec {
'' ''
); );
installCheckPhase = lib.optionalString doInstallCheck '' installCheckPhase = let
disabledTests = lib.optionalString stdenv.hostPlatform.isDarwin ''
common_internal_async_connection_ready_test
bigtable_async_read_stream_test
bigtable_metadata_update_policy_test
bigtable_bigtable_benchmark_test
bigtable_embedded_server_test
'';
in ''
runHook preInstallCheck runHook preInstallCheck
# Disable any integration tests, which need to contact the internet. # Disable any integration tests, which need to contact the internet.
# Also disable the `storage_benchmark_*` tests. ctest \
# With Protobuf < 23.x they require -DGOOGLE_CLOUD_CPP_ENABLE_CTYPE_WORKAROUND=ON. --label-exclude integration-test \
# With Protobuf >= 23.x they require They require setting -DGOOGLE_CLOUD_CPP_ENABLE_CTYPE_WORKAROUND=OFF --exclude-from-file <(echo '${disabledTests}')
ctest --label-exclude integration-test --exclude-regex storage_benchmarks_
runHook postInstallCheck runHook postInstallCheck
''; '';
@ -122,6 +130,8 @@ stdenv.mkDerivation rec {
"-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES:BOOL=OFF" "-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES:BOOL=OFF"
] ++ lib.optionals (apis != [ "*" ]) [ ] ++ lib.optionals (apis != [ "*" ]) [
"-DGOOGLE_CLOUD_CPP_ENABLE=${lib.concatStringsSep ";" apis}" "-DGOOGLE_CLOUD_CPP_ENABLE=${lib.concatStringsSep ";" apis}"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"-DGOOGLE_CLOUD_CPP_GRPC_PLUGIN_EXECUTABLE=${lib.getBin pkgsBuildHost.grpc}/bin/grpc_cpp_plugin"
]; ];
requiredSystemFeatures = [ "big-parallel" ]; requiredSystemFeatures = [ "big-parallel" ];
@ -130,7 +140,7 @@ stdenv.mkDerivation rec {
license = with licenses; [ asl20 ]; license = with licenses; [ asl20 ];
homepage = "https://github.com/googleapis/google-cloud-cpp"; homepage = "https://github.com/googleapis/google-cloud-cpp";
description = "C++ Idiomatic Clients for Google Cloud Platform services"; description = "C++ Idiomatic Clients for Google Cloud Platform services";
platforms = [ "x86_64-linux" "aarch64-linux" ]; platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with maintainers; [ cpcloud ]; maintainers = with maintainers; [ cpcloud ];
}; };
} }

View File

@ -46,8 +46,6 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/protocolbuffers/protobuf/commit/a7324f88e92bc16b57f3683403b6c993bf68070b.patch"; url = "https://github.com/protocolbuffers/protobuf/commit/a7324f88e92bc16b57f3683403b6c993bf68070b.patch";
hash = "sha256-SmwaUjOjjZulg/wgNmR/F5b8rhYA2wkKAjHIOxjcQdQ="; hash = "sha256-SmwaUjOjjZulg/wgNmR/F5b8rhYA2wkKAjHIOxjcQdQ=";
}) })
] ++ lib.optionals stdenv.hostPlatform.isStatic [
./static-executables-have-no-rpath.patch
]; ];
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,18 +0,0 @@
diff --git a/cmake/install.cmake b/cmake/install.cmake
index 26a55be8b..b6823c3f9 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -32,13 +32,6 @@ if (protobuf_BUILD_PROTOC_BINARIES)
install(TARGETS protoc EXPORT protobuf-targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT protoc
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT protoc)
- if (UNIX AND NOT APPLE)
- set_property(TARGET protoc
- PROPERTY INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
- elseif (APPLE)
- set_property(TARGET protoc
- PROPERTY INSTALL_RPATH "@loader_path/../lib")
- endif()
endif (protobuf_BUILD_PROTOC_BINARIES)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/protobuf.pc ${CMAKE_CURRENT_BINARY_DIR}/protobuf-lite.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")

View File

@ -85,7 +85,7 @@ buildDunePackage rec {
stdune stdune
] ]
else if lib.versionAtLeast version "1.7.0" then else if lib.versionAtLeast version "1.7.0" then
[ pp re ppx_yojson_conv_lib octavius dune-build-info omd cmdliner ocamlformat-rpc-lib ] [ re octavius dune-build-info omd cmdliner ocamlformat-rpc-lib ]
else else
[ [
ppx_yojson_conv_lib ppx_yojson_conv_lib
@ -113,7 +113,7 @@ buildDunePackage rec {
] else if lib.versionAtLeast version "1.7.0" then [ ] else if lib.versionAtLeast version "1.7.0" then [
csexp csexp
jsonrpc jsonrpc
pp (pp.override { version = "1.2.0"; })
ppx_yojson_conv_lib ppx_yojson_conv_lib
result result
uutf uutf

View File

@ -1,16 +1,23 @@
{ buildDunePackage, fetchurl, ppx_expect, lib }: { lib
, buildDunePackage
, fetchurl
, ppx_expect
, version ? "2.0.0"
}:
buildDunePackage rec { buildDunePackage rec {
pname = "pp"; pname = "pp";
version = "1.2.0"; inherit version;
src = fetchurl { src = fetchurl {
url = url =
"https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz"; "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
hash = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw="; hash = {
"2.0.0" = "sha256-hlE1FRiwkrSi3vTggXHCdhUvkvtqhKixm2uSnM20RBk=";
"1.2.0" = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw=";
}."${version}";
}; };
duneVersion = "3";
minimalOCamlVersion = "4.08"; minimalOCamlVersion = "4.08";
checkInputs = [ ppx_expect ]; checkInputs = [ ppx_expect ];

View File

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hahomematic"; pname = "hahomematic";
version = "2024.9.12"; version = "2024.10.8";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.12"; disabled = pythonOlder "3.12";
@ -25,15 +25,14 @@ buildPythonPackage rec {
owner = "danielperna84"; owner = "danielperna84";
repo = "hahomematic"; repo = "hahomematic";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-lfJJKOk8Oj7bEaL96TjkFQfT/dLkkMkwSDHClDIJHqE="; hash = "sha256-NFDh6XA6c1IWTHYjXB19V2kEW3ZkjFU/mz5XduzXj+g=";
}; };
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-fail "setuptools~=69.2.0" "setuptools" \ --replace-fail "setuptools==75.1.0" "setuptools" \
--replace-fail "wheel~=0.43.0" "wheel"
''; '';
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -42,5 +42,6 @@ buildPythonPackage rec {
homepage = "https://github.com/PiotrDabkowski/Js2Py"; homepage = "https://github.com/PiotrDabkowski/Js2Py";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ onny ]; maintainers = with maintainers; [ onny ];
knownVulnerabilities = [ "CVE-2024-28397" ];
}; };
} }

View File

@ -3,9 +3,6 @@
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
regex, regex,
pytestCheckHook,
pythonOlder,
js2py,
setuptools, setuptools,
}: }:
@ -33,13 +30,8 @@ buildPythonPackage rec {
"lark.grammars" "lark.grammars"
]; ];
# Js2py is not supported on 3.12 # Js2py is needed for tests but it's marked as insecure
doCheck = pythonOlder "3.12"; doCheck = false;
nativeCheckInputs = [
js2py
pytestCheckHook
];
meta = with lib; { meta = with lib; {
description = "Modern parsing library for Python, implementing Earley & LALR(1) and an easy interface"; description = "Modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";

View File

@ -7,12 +7,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "latexrestricted"; pname = "latexrestricted";
version = "0.4.0"; version = "0.5.0";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-AMfDTruJKejDdXW98VkeeEwELql5566bsL1SutLDpso="; hash = "sha256-PwhVKgoXujiLC+3FPAtUdvBEgeNwD6aBK+I5p8xeLwo=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -88,9 +88,9 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.desktop" \ substituteInPlace "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.desktop" \
--replace-fail "Exec=heroic-run" "Exec=heroic" --replace-fail "Exec=heroic-run" "Exec=heroic"
mkdir -p "$out/share/applications" "$out/share/icons/hicolor/512x512/apps" mkdir -p "$out/share/applications" "$out/share/icons/hicolor/scalable/apps"
ln -s "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.desktop" "$out/share/applications" ln -s "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.desktop" "$out/share/applications"
ln -s "$out/share/heroic/flatpak/com.heroicgameslauncher.hgl.png" "$out/share/icons/hicolor/512x512/apps" ln -s "$out/share/heroic/src/frontend/assets/heroic-icon.svg" "$out/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"
runHook postInstall runHook postInstall
''; '';

View File

@ -7,13 +7,13 @@
buildHomeAssistantComponent rec { buildHomeAssistantComponent rec {
owner = "danielperna84"; owner = "danielperna84";
domain = "homematicip_local"; domain = "homematicip_local";
version = "1.65.0"; version = "1.67.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danielperna84"; owner = "danielperna84";
repo = "custom_homematic"; repo = "custom_homematic";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-rUiesrVpGZMMo8JSboFTDE2oE0Q9hNYR4AvA/GR5+MY="; hash = "sha256-lKjBt5oMSdGHXUddaGM+BQOhFnsobvgf2k6qMu2uofY=";
}; };
dependencies = [ dependencies = [

View File

@ -8823,7 +8823,9 @@ with pkgs;
jmespath = callPackage ../development/tools/jmespath { }; jmespath = callPackage ../development/tools/jmespath { };
juicefs = callPackage ../tools/filesystems/juicefs { }; juicefs = callPackage ../tools/filesystems/juicefs {
buildGoModule = buildGo122Module;
};
juicity = callPackage ../tools/networking/juicity { }; juicity = callPackage ../tools/networking/juicity { };