Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-07-19 00:03:05 +00:00 committed by GitHub
commit f316203fda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
82 changed files with 590 additions and 214 deletions

View File

@ -1,4 +1,4 @@
{
"rev": "cfb89a95f19bea461fc37228dc4d07b22fe617c2",
"sha256": "1yhsacvry6j8r02lk70p9dphjpi8lpzgq2qay8hiy4nqlys0mrch"
"rev": "521d48afa9ae596930a95325529df27fa7135ff5",
"sha256": "0a1pa5azw990narsfipdli1wng4nc3vhvrp00hb8v1qfchcq7dc9"
}

View File

@ -10,7 +10,8 @@ repo=https://github.com/nixos/nixpkgs
branch=nixpkgs-unstable
file=$SCRIPT_DIR/pinned-nixpkgs.json
rev=$(git ls-remote "$repo" refs/heads/"$branch" | cut -f1)
defaultRev=$(git ls-remote "$repo" refs/heads/"$branch" | cut -f1)
rev=${1:-$defaultRev}
sha256=$(nix-prefetch-url --unpack "$repo/archive/$rev.tar.gz" --name source)
jq -n --arg rev "$rev" --arg sha256 "$sha256" '$ARGS.named' | tee /dev/stderr > $file

View File

@ -317,6 +317,12 @@ in mkLicense lset) ({
free = false;
};
cc-by-nd-40 = {
spdxId = "CC-BY-ND-4.0";
fullName = "Creative Commons Attribution-No Derivative Works v4.0";
free = false;
};
cc-by-sa-10 = {
spdxId = "CC-BY-SA-1.0";
fullName = "Creative Commons Attribution Share Alike 1.0";

View File

@ -951,6 +951,17 @@ with lib.maintainers;
shortName = "StridTech";
};
swift = {
members = [
dduan
stephank
trepetti
trundle
];
scope = "Maintain Swift compiler suite for NixOS.";
shortName = "Swift";
};
systemd = {
members = [ ];
githubTeams = [ "systemd" ];

View File

@ -93,7 +93,7 @@ let
echo "OK"
echo -n "Checking that all programs called by absolute paths in udev rules exist... "
import_progs=$(grep 'IMPORT{program}="\/' $out/* |
import_progs=$(grep 'IMPORT{program}="/' $out/* |
sed -e 's/.*IMPORT{program}="\([^ "]*\)[ "].*/\1/' | uniq)
run_progs=$(grep -v '^[[:space:]]*#' $out/* | grep 'RUN+="/' |
sed -e 's/.*RUN+="\([^ "]*\)[ "].*/\1/' | uniq)

View File

@ -247,6 +247,30 @@ in
--options lowerdir=$tmpMetadataMount::${config.system.build.etcBasedir},${etcOverlayOptions} \
$tmpEtcMount
# Before moving the new /etc overlay under the old /etc, we have to
# move mounts on top of /etc to the new /etc mountpoint.
findmnt /etc --submounts --list --noheading --kernel --output TARGET | while read -r mountPoint; do
if [[ "$mountPoint" = "/etc" ]]; then
continue
fi
tmpMountPoint="$tmpEtcMount/''${mountPoint:5}"
${if config.system.etc.overlay.mutable then ''
if [[ -f "$mountPoint" ]]; then
touch "$tmpMountPoint"
elif [[ -d "$mountPoint" ]]; then
mkdir -p "$tmpMountPoint"
fi
'' else ''
if [[ ! -e "$tmpMountPoint" ]]; then
echo "Skipping undeclared mountpoint in environment.etc: $mountPoint"
continue
fi
''
}
mount --bind "$mountPoint" "$tmpMountPoint"
done
# Move the new temporary /etc mount underneath the current /etc mount.
#
# This should eventually use util-linux to perform this move beneath,
@ -255,8 +279,7 @@ in
${pkgs.move-mount-beneath}/bin/move-mount --move --beneath $tmpEtcMount /etc
# Unmount the top /etc mount to atomically reveal the new mount.
umount /etc
umount --recursive /etc
fi
'' else ''
# Set up the statically computed bits of /etc.

View File

@ -15,6 +15,11 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
time.timeZone = "Utc";
environment.etc = {
"mountpoint/.keep".text = "keep";
"filemount".text = "keep";
};
specialisation.new-generation.configuration = {
environment.etc."newgen".text = "newgen";
};
@ -33,8 +38,17 @@
with subtest("switching to a new generation"):
machine.fail("stat /etc/newgen")
machine.succeed("mount -t tmpfs tmpfs /etc/mountpoint")
machine.succeed("touch /etc/mountpoint/extra-file")
machine.succeed("mount --bind /dev/null /etc/filemount")
machine.succeed("/run/current-system/specialisation/new-generation/bin/switch-to-configuration switch")
assert machine.succeed("cat /etc/newgen") == "newgen"
print(machine.succeed("findmnt /etc/mountpoint"))
print(machine.succeed("ls /etc/mountpoint"))
print(machine.succeed("stat /etc/mountpoint/extra-file"))
print(machine.succeed("findmnt /etc/filemount"))
'';
}

View File

@ -28,9 +28,22 @@
machine.fail("stat /etc/newgen")
machine.succeed("echo -n 'mutable' > /etc/mutable")
# Directory
machine.succeed("mkdir /etc/mountpoint")
machine.succeed("mount -t tmpfs tmpfs /etc/mountpoint")
machine.succeed("touch /etc/mountpoint/extra-file")
# File
machine.succeed("touch /etc/filemount")
machine.succeed("mount --bind /dev/null /etc/filemount")
machine.succeed("/run/current-system/specialisation/new-generation/bin/switch-to-configuration switch")
assert machine.succeed("cat /etc/newgen") == "newgen"
assert machine.succeed("cat /etc/mutable") == "mutable"
print(machine.succeed("findmnt /etc/mountpoint"))
print(machine.succeed("stat /etc/mountpoint/extra-file"))
print(machine.succeed("findmnt /etc/filemount"))
'';
}

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec {
pname = "ttdl";
version = "4.3.0";
version = "4.4.0";
src = fetchFromGitHub {
owner = "VladimirMarkelov";
repo = "ttdl";
rev = "v${version}";
sha256 = "sha256-5v3Eu85x3xNvTRgfxhlDz4hiJ4UO010pZPY7UPHk7mQ=";
sha256 = "sha256-PZ1q360gkV+mB0pgkrUmViZqJRyrX8NkmFFZhqvFIPk=";
};
cargoHash = "sha256-+jYl/oUeJaABgDX/OBTyeo/B7RYc2MUTreU1ySLG0XQ=";
cargoHash = "sha256-9LoVtY9Okt2SUQLDMgM6V76OJBM4WU0sQioXHlNNzwU=";
meta = with lib; {
description = "CLI tool to manage todo lists in todo.txt format";

View File

@ -7,16 +7,16 @@
buildGoModule rec {
pname = "typioca";
version = "2.11.2";
version = "3.0.0";
src = fetchFromGitHub {
owner = "bloznelis";
repo = "typioca";
rev = version;
hash = "sha256-LpQHdqvqAj3gqyvsD58Jhu4GkeJ/R7EjKo7YG7/mmJk=";
hash = "sha256-pYHEi1J8i8AeRM62TNrklivcmiv4Kq0a5Z7Fn1RB/Jk=";
};
vendorHash = "sha256-lpeceY6ErcxCGKrwVuW19ofsXyfXsJgKGThWKswRTis=";
vendorHash = "sha256-4T5xbCvzYn1bOKz0WCCiFojoQztOQ66SH4+WDI3Sn5g=";
ldflags = [
"-s"

View File

@ -5,14 +5,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "urlscan";
version = "1.0.2";
version = "1.0.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "firecat53";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-nyq4BrpfbZwK/nOnB8ZEN1wlM8CssYVRvV7ytpX7k40=";
hash = "sha256-aAfsGsgCZwWcFkYaJsKjRroAZjW7b/vnX1oL/Mg0kgY=";
};
nativeBuildInputs = with python3.pkgs; [

View File

@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) {
channel = "edge";
version = "24.7.1";
sha256 = "0l4ni88xzh5yylb0m9mn32wiqs3fbiqzz4ll54f9zh72ff89bpjb";
vendorHash = "sha256-q43WqEBQAtcLikqDwxkMPdVDQOCZ5x7SMmIKsmuDWa4=";
version = "24.7.2";
sha256 = "1kl1ik1w0j3m0qlfbdagzjgd67kabx358xaa2rn0clg8jk43nk3n";
vendorHash = "sha256-/dYLPoPg3Oac4W1eLytJJiP7kzK4PTSjh8BRKjJAnU0=";
}

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "gh";
version = "2.52.0";
version = "2.53.0";
src = fetchFromGitHub {
owner = "cli";
repo = "cli";
rev = "v${version}";
hash = "sha256-vaB0K9LeMcCcJw5sqxe3bFgzDvhikjAej5vHkvhWqqY=";
hash = "sha256-nvvL1yculmjPbR7ON/sKyIFe4Z0HnukzJwPVXRHEyhQ=";
};
vendorHash = "sha256-BnjWpxjkzSZKgeMR5iVdTKomsR93nSQVli4BDsPP4gw=";
vendorHash = "sha256-GioSeZ/nyPNehjHATqiQyECjXGJ67RZvrswTMrHenJM=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -11,13 +11,13 @@
buildGoModule rec {
pname = "containerd";
version = "1.7.19";
version = "1.7.20";
src = fetchFromGitHub {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
hash = "sha256-+tYv80y//C67F0QUjCkZYcahiHO4rZtlcr+33foN/M8=";
hash = "sha256-Q9lTzz+G5PSoChy8MZtbOpO81AyNWXC+CgGkdOg14uY=";
};
vendorHash = null;

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "nixpacks";
version = "1.24.4";
version = "1.24.6";
src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Jc8JU2tUc411AIeu6/ovN22s0ZR+vmn/I1yWhUEglrY=";
sha256 = "sha256-4vZgl/AmGrRFcUUIa7S5LeuroDsInDsqEQ1G4p4fxEA=";
};
cargoHash = "sha256-+bBQ3y66np7P5+FmsRTULX0VrtKrmNgGbyCFK+4vlIs=";
cargoHash = "sha256-rO0upaiGhrUSrnt2uGAaii/ulpipV0BW5B7bv+fMBWg=";
# skip test due FHS dependency
doCheck = false;

View File

@ -7,7 +7,7 @@
telegram-desktop.overrideAttrs (old: rec {
pname = "64gram";
version = "1.1.30";
version = "1.1.31";
src = fetchFromGitHub {
owner = "TDesktop-x64";
@ -15,7 +15,7 @@ telegram-desktop.overrideAttrs (old: rec {
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-TcgQcIv88oBViTyk47r9jstNTYWnql+oXHfZePKgMHU=";
hash = "sha256-xYCousLXV9TeQjDNiXkEMbTiiuusLc7Ib2xHkMYBD1M=";
};
passthru.updateScript = nix-update-script {};

View File

@ -13,7 +13,6 @@
lz4,
attr,
udev,
nixosTests,
fuse3,
cargo,
rustc,
@ -21,7 +20,9 @@
makeWrapper,
nix-update-script,
python3,
fetchpatch,
testers,
nixosTests,
installShellFiles,
fuseSupport ? false,
}:
@ -43,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
rustPlatform.cargoSetupHook
rustPlatform.bindgenHook
makeWrapper
installShellFiles
];
buildInputs = [
@ -94,18 +96,30 @@ stdenv.mkDerivation (finalAttrs: {
"PKGCONFIG_UDEVDIR=$(out)/lib/udev"
];
postInstall = ''
substituteInPlace $out/libexec/bcachefsck_all \
--replace-fail "/usr/bin/python3" "${python3}/bin/python3"
'';
postInstall =
''
substituteInPlace $out/libexec/bcachefsck_all \
--replace-fail "/usr/bin/python3" "${python3.interpreter}"
''
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd bcachefs \
--bash <($out/sbin/bcachefs completions bash) \
--zsh <($out/sbin/bcachefs completions zsh) \
--fish <($out/sbin/bcachefs completions fish)
'';
passthru = {
tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "${finalAttrs.meta.mainProgram} version";
version = "${finalAttrs.version}";
};
smoke-test = nixosTests.bcachefs;
inherit (nixosTests.installer) bcachefsSimple bcachefsEncrypted bcachefsMulti;
};
updateScript = nix-update-script {};
updateScript = nix-update-script { };
};
enableParallelBuilding = true;
@ -120,5 +134,6 @@ stdenv.mkDerivation (finalAttrs: {
Madouura
];
platforms = lib.platforms.linux;
mainProgram = "bcachefs";
};
})

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "decker";
version = "1.45";
version = "1.46";
src = fetchFromGitHub {
owner = "JohnEarnest";
repo = "Decker";
rev = "v${version}";
hash = "sha256-AMqe7u/R2ykuRcQcAPyj1oNBSAKHCiTBaJ5VrhE7REg=";
hash = "sha256-QXW/osCWkAt/qM+JezjluK+fIaSyokVRx7O6Batkauw=";
};
buildInputs = [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "flashmq";
version = "1.15.3";
version = "1.15.4";
src = fetchFromGitHub {
owner = "halfgaar";
repo = "FlashMQ";
rev = "v${version}";
hash = "sha256-uTTk+7K9vHPTRYT1BxiXdp5+8n9zDdQJXQziQvI5YGU=";
hash = "sha256-798BUwjVpsv4OW12mWWXbyqogGX1y182H/u/0Cz3Xow=";
};
nativeBuildInputs = [ cmake installShellFiles ];

View File

@ -58,7 +58,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "flatpak";
version = "1.14.6";
version = "1.14.8";
# TODO: split out lib once we figure out what to do with triggerdir
outputs = [
@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz";
hash = "sha256-U482ssb4xw7v0S0TrVsa2DCCAQaovTqfa45NnegeSUY=";
hash = "sha256-EBa3Mn96+HiW+VRl9+WBN1DTtwSaN0ChpN3LX6jFNI4=";
};
patches = [

View File

@ -1,12 +1,12 @@
diff --git a/common/flatpak-run.c b/common/flatpak-run.c
index 6f54a9d0..102d9b90 100644
index e3f031d4..ed131c0b 100644
--- a/common/flatpak-run.c
+++ b/common/flatpak-run.c
@@ -1902,6 +1902,7 @@ static const ExportData default_exports[] = {
@@ -571,6 +571,7 @@ static const ExportData default_exports[] = {
{"XKB_CONFIG_ROOT", NULL},
{"GIO_EXTRA_MODULES", NULL},
{"GDK_BACKEND", NULL},
{"VK_DRIVER_FILES", NULL},
{"VK_ICD_FILENAMES", NULL},
+ {"GDK_PIXBUF_MODULE_FILE", NULL},
};
static const ExportData no_ld_so_cache_exports[] = {
{"VK_ADD_DRIVER_FILES", NULL},
{"VK_ADD_LAYER_PATH", NULL},
{"VK_DRIVER_FILES", NULL},

View File

@ -4,7 +4,7 @@
fetchFromGitHub,
}:
let
version = "2.1.3";
version = "2.1.5";
in
buildGoModule {
pname = "goflow2";
@ -14,7 +14,7 @@ buildGoModule {
owner = "netsampler";
repo = "goflow2";
rev = "v${version}";
hash = "sha256-wtvBkk+Y4koGDGN+N/w4FsdejgpCIio0g2QV35Pr/fo=";
hash = "sha256-Xo0SG9s39fPBGkPaVUbfWrHVVqZ7gQvjp4PJE/Z/jog=";
};
ldflags = [
@ -23,7 +23,7 @@ buildGoModule {
"-X=main.version=${version}"
];
vendorHash = "sha256-qcWeIg278V2bgFGpWwUT5JCblxfBv0/gWV1oXul/nCQ=";
vendorHash = "sha256-6Wuf6trx8Epyv3FWAtEyAjGBM4OQyK0C8bpRWX0NUdo=";
meta = {
description = "High performance sFlow/IPFIX/NetFlow Collector";

View File

@ -9,14 +9,14 @@
}:
python3.pkgs.buildPythonApplication rec {
pname = "handheld-daemon";
version = "3.1.1";
version = "3.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "hhd-dev";
repo = "hhd";
rev = "v${version}";
hash = "sha256-XUnAgQWnBb8Xsu88UVpdVXbFPxG13TNJFX1xgY06HT8=";
rev = "refs/tags/v${version}";
hash = "sha256-oRmaF9ciULhN6Rvig34Ibtn4w7fcb/ulRXcApQ+QLWs=";
};
propagatedBuildInputs = with python3.pkgs; [

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
}:
stdenv.mkDerivation {
@ -20,6 +21,15 @@ stdenv.mkDerivation {
runHook postInstall
'';
patches = [
# Fix uninitialized variable in flags_attr, https://github.com/brauner/move-mount-beneath/pull/2
(fetchpatch {
name = "aarch64";
url = "https://github.com/brauner/move-mount-beneath/commit/0bd0b863f7b98608514d90d4f2a80a21ce2e6cd3.patch";
hash = "sha256-D3TttAT0aFqpYC8LuVnrkLwDcfVFOSeYzUDx6VqPu1Q=";
})
];
meta = {
description = "Toy binary to illustrate adding a mount beneath an existing mount";
mainProgram = "move-mount";

View File

@ -0,0 +1,183 @@
{
lib,
stdenv,
electron,
yarn,
fixup-yarn-lock,
fetchFromGitHub,
fetchYarnDeps,
nodejs,
typescript,
makeWrapper,
makeDesktopItem,
copyDesktopItems,
}:
let
electronDist = electron + (if stdenv.isDarwin then "/Applications" else "/libexec/electron");
in
# NOTE mqtt-explorer has 3 yarn subpackages and uses relative links
# between them, which makes it hard to package them via 3 `mkYarnPackage`
# since the resulting `node_modules` directories don't have the same structure
# as if they were installed directly. Hence why we opted to use a
# `stdenv.mkDerivation` instead.
stdenv.mkDerivation rec {
# NOTE official app name is `MQTT-Explorer` but to suffice nixpkgs conventions
# we opted to use `mqtt-explorer` instead.
pname = "mqtt-explorer";
version = "0.4.0-beta.6";
src = fetchFromGitHub {
owner = "thomasnordquist";
repo = "MQTT-Explorer";
rev = "v${version}";
hash = "sha256-oFS4RnuWQoicPemZbPBAp8yQjRbhAyo/jiaw8V0MBAo=";
};
offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-yEL6Vb1Yry3Vns2GF0aagGksRwsCgXR5ZfmrDPxeqos=";
};
offlineCacheApp = fetchYarnDeps {
yarnLock = "${src}/app/yarn.lock";
hash = "sha256-4oGWBXZHdN+wSpn3fPzTdpaIcywAVdFVYmsOIhcgvUE=";
};
offlineCacheBackend = fetchYarnDeps {
yarnLock = "${src}/backend/yarn.lock";
hash = "sha256-gg6KrcQz7MdIgFdlbuGiDf/tVd7lSOjwXFIq56tpaTc=";
};
nativeBuildInputs = [
nodejs
yarn
typescript
fixup-yarn-lock
makeWrapper
] ++ lib.optionals (!stdenv.isDarwin) [ copyDesktopItems ];
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
# disable code signing on macos
# https://github.com/electron-userland/electron-builder/blob/77f977435c99247d5db395895618b150f5006e8f/docs/code-signing.md#how-to-disable-code-signing-during-the-build-process-on-macos
postConfigure = lib.optionalString stdenv.isDarwin ''
export CSC_IDENTITY_AUTO_DISCOVERY=false
'';
configurePhase = ''
runHook preConfigure
# Yarn writes cache directories etc to $HOME.
export HOME=$TMPDIR
fixup-yarn-lock yarn.lock
yarn config --offline set yarn-offline-mirror $offlineCache
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress
pushd app
fixup-yarn-lock yarn.lock
yarn config --offline set yarn-offline-mirror $offlineCacheApp
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress
popd
pushd backend
fixup-yarn-lock yarn.lock
yarn config --offline set yarn-offline-mirror $offlineCacheApp
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress
popd
patchShebangs {node_modules,app/node_modules,backend/node_modules}
cp -r ${electronDist} electron-dist
chmod -R u+w electron-dist
runHook postConfigure
'';
buildPhase = ''
runHook preBuild
tsc && cd app && yarn --offline run build && cd ..
yarn --offline run electron-builder --dir \
-c.electronDist=electron-dist \
-c.electronVersion=${electron.version}
runHook postBuild
'';
installPhase = ''
runHook preInstall
${lib.optionalString (!stdenv.isDarwin) ''
mkdir -p "$out/share/mqtt-explorer"/{app,icons/hicolor}
cp -r build/*-unpacked/{locales,resources{,.pak}} "$out/share/mqtt-explorer/app"
for file in res/appx/Square44x44Logo.targetsize-*_altform-unplated.png; do
size=$(echo "$file" | sed -n 's/.*targetsize-\([0-9]*\)_altform-unplated\.png/\1/p')
install -Dm644 \
"$file" \
"$out/share/icons/hicolor/''${size}x''${size}/apps/mqtt-explorer.png"
done
makeWrapper '${electron}/bin/electron' "$out/bin/mqtt-explorer" \
--add-flags "$out/share/mqtt-explorer/app/resources/app.asar" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--set-default ELECTRON_FORCE_IS_PACKAGED 1 \
--set-default ELECTRON_IS_DEV 0 \
--inherit-argv0
''}
${lib.optionalString stdenv.isDarwin ''
mkdir -p $out/{Applications,bin}
mv "build/mac/MQTT Explorer.app" $out/Applications
makeWrapper "$out/Applications/MQTT Explorer.app/Contents/MacOS/MQTT Explorer" \
$out/bin/mqtt-explorer
''}
runHook postInstall
'';
doCheck = true;
checkPhase = ''
export ELECTRON_OVERRIDE_DIST_PATH=electron-dist/
yarn test:app --offline
yarn test:backend --offline
unset ELECTRON_OVERRIDE_DIST_PATH
'';
desktopItems = [
(makeDesktopItem {
name = pname;
exec = meta.mainProgram;
icon = "mqtt-explorer";
desktopName = "MQTT Explorer";
genericName = "MQTT Protocol Client";
comment = meta.description;
type = "Application";
categories = [
"Development"
"Utility"
"Network"
];
startupWMClass = "mqtt-explorer";
})
];
meta = with lib; {
description = "An all-round MQTT client that provides a structured topic overview";
homepage = "https://github.com/thomasnordquist/MQTT-Explorer";
changelog = "https://github.com/thomasnordquist/MQTT-Explorer/releases/tag/v${version}";
license = licenses.cc-by-nd-40;
maintainers = with maintainers; [ tsandrini ];
platforms = electron.meta.platforms;
mainProgram = "mqtt-explorer";
};
}

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "mysql";
version = "8.4.0";
version = "8.4.1";
src = fetchurl {
url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor finalAttrs.version}/mysql-${finalAttrs.version}.tar.gz";
hash = "sha256-R6VDP83WOduDa5nhtUWcK4E8va0j/ytd1K0n95K6kY4=";
hash = "sha256-20Hxl9cXDFTX7cDQyaJzDCJfSvBeztD2S+z5u2wRAT4=";
};
nativeBuildInputs = [ bison cmake pkg-config ]

View File

@ -15,19 +15,19 @@ let
opentelemetry-proto = fetchFromGitHub {
owner = "open-telemetry";
repo = "opentelemetry-proto";
rev = "v1.0.0";
hash = "sha256-1IylAZs8gElpruSX52A+ZopU8jXH/MjRE+FQV3gQ+Gk=";
rev = "v1.3.2";
hash = "sha256-bkVqPSVhyMHrmFvlI9DTAloZzDozj3sefIEwfW7OVrI=";
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "opentelemetry-cpp";
version = "1.13.0";
version = "1.16.0";
src = fetchFromGitHub {
owner = "open-telemetry";
repo = "opentelemetry-cpp";
rev = "v${finalAttrs.version}";
hash = "sha256-Tf1ZnmHavnwwvRb4Tes20LMld+w/2kRo5UErT8pHf3w=";
hash = "sha256-rMqNz8F/ahgDtQiLsswckd2jQPR9FTeSZKRFz2jWVoo=";
};
patches = [
@ -73,6 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/open-telemetry/opentelemetry-cpp";
license = [ lib.licenses.asl20 ];
maintainers = with lib.maintainers; [ jfroche ];
platforms = lib.platforms.linux;
# https://github.com/protocolbuffers/protobuf/issues/14492
broken = !(stdenv.buildPlatform.canExecute stdenv.hostPlatform);
};

View File

@ -0,0 +1,61 @@
{ lib
, stdenv
, fetchurl
, pkgs
, appimageTools
}:
let
pname = "pinokio";
version = "1.3.4";
src = fetchurl {
x86_64-darwin = {
url = "https://github.com/pinokiocomputer/pinokio/releases/download/${version}/Pinokio-${version}.dmg";
hash = "sha256-Il5zaVWu4icSsKmMjU9u1/Mih34fd+xNpF1nkFAFFGo=";
};
x86_64-linux = {
url = "https://github.com/pinokiocomputer/pinokio/releases/download/${version}/Pinokio-${version}.AppImage";
hash = "sha256-/E/IAOUgxH9RWpE2/vLlQy92LOgwpHF79K/1XEtSpXI=";
};
}.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
appimageContents = appimageTools.extractType2 { inherit pname version src; };
meta = {
homepage = "https://pinokio.computer";
description = "Browser to install, run, and programmatically control ANY application automatically";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ByteSudoer ];
platforms = [ "x86_64-darwin" "x86_64-linux" ];
mainProgram = "pinokio";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
in
if stdenv.isDarwin then
stdenv.mkDerivation
{
inherit pname version src meta;
sourceRoot = ".";
nativeBuildInputs = with pkgs; [ undmg ];
installPhase = ''
runHook preInstall
mkdir -p "$out/Applications"
mv Pinokio.app $out/Applications/
runHook postInstall
'';
}
else
appimageTools.wrapType2 {
inherit pname version src meta;
extraInstallCommands = ''
mkdir -p $out/share/pinokio
cp -a ${appimageContents}/{locales,resources} $out/share/pinokio
cp -a ${appimageContents}/usr/share/icons $out/share/
install -Dm 444 ${appimageContents}/pinokio.desktop -t $out/share/applications
'';
}

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "tenv";
version = "2.3.0";
version = "2.6.1";
src = fetchFromGitHub {
owner = "tofuutils";
repo = "tenv";
rev = "v${version}";
hash = "sha256-AQzxrUEq6Bp6784uoUiinR7Rb18pjJrFxkmWAcPNyb0=";
hash = "sha256-qGb7Wj0qH9yh/C0H9Yd0NppoqtjCxnbaTYpv6T8KoL4=";
};
vendorHash = "sha256-v1NWlZhfypoS+bZCtr+P2s1t4qYVncbjx9IyRhi2sa4=";
vendorHash = "sha256-/4RiOF9YU4GEZlJcx2S2bLhJ1Q6F+8To3XiyWzGGHUU=";
# Tests disabled for requiring network access to release.hashicorp.com
doCheck = false;

View File

@ -2,16 +2,16 @@
buildNpmPackage rec {
pname = "whistle";
version = "2.9.77";
version = "2.9.78";
src = fetchFromGitHub {
owner = "avwo";
repo = "whistle";
rev = "v${version}";
hash = "sha256-T0w1oKQDE37Tc1BkMTpvpLEtfS18rFqjA2Z6iV+VXDA=";
hash = "sha256-OQ0dVxWlPvquaApdpHEXmDzzG7NjbLducR9jkhXDsGw=";
};
npmDepsHash = "sha256-d8qBiRKkKQnUiVasGHp0yPp7uF6khqKnEQZZBJHaS2k=";
npmDepsHash = "sha256-3ILtxRI8hvYanXmKZjld7zN127KaCKmWm96nrdSah/E=";
dontNpmBuild = true;

View File

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "yanic";
version = "1.6.1";
version = "1.6.2";
src = fetchFromGitHub {
owner = "FreifunkBremen";
repo = "yanic";
rev = "v${version}";
sha256 = "sha256-tXngAnq30xBxR1dpVbE4kMNhvX2Rt5D22EBytB6qHUI=";
sha256 = "sha256-z2vr1QmRCo8y4hopWP14xSV7lsWKkCzK9OehlVLFdIg=";
};
vendorHash = "sha256-6UiiajKLzW5e7y0F6GMYDZP6xTyOiccLIKlwvOY7LRo=";

View File

@ -702,7 +702,7 @@ in stdenv.mkDerivation {
meta = {
description = "Swift Programming Language";
homepage = "https://github.com/apple/swift";
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
license = lib.licenses.asl20;
platforms = with lib.platforms; linux ++ darwin;
# Swift doesn't support 32-bit Linux, unknown on other platforms.

View File

@ -108,6 +108,8 @@ let
swift-format = callPackage ./swift-format { };
swiftpm2nix = callPackage ./swiftpm2nix { };
};
in self

View File

@ -67,6 +67,6 @@ in stdenv.mkDerivation {
homepage = "https://github.com/apple/swift-corelibs-foundation";
platforms = lib.platforms.linux;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
};
}

View File

@ -37,6 +37,6 @@ in stdenv.mkDerivation {
homepage = "https://github.com/apple/swift-corelibs-libdispatch";
platforms = lib.platforms.linux;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ cmm dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members ++ (with lib.maintainers; [ cmm ]);
};
}

View File

@ -76,6 +76,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/apple/sourcekit-lsp";
platforms = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
};
}

View File

@ -55,6 +55,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/apple/swift-docc";
platforms = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
};
}

View File

@ -79,6 +79,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/apple/swift-driver";
platforms = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
};
}

View File

@ -43,7 +43,7 @@ stdenv.mkDerivation {
homepage = "https://github.com/apple/swift-format";
platforms = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
mainProgram = "swift-format";
};
}

View File

@ -459,6 +459,6 @@ in stdenv.mkDerivation (commonAttrs // {
homepage = "https://github.com/apple/swift-package-manager";
platforms = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
};
})

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
description = "Generate a Nix expression to fetch swiftpm dependencies";
mainProgram = "swiftpm2nix";
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
platforms = lib.platforms.all;
};
}

View File

@ -50,6 +50,6 @@ in stdenv.mkDerivation {
homepage = "https://github.com/apple/swift-corelibs-xctest";
platforms = lib.platforms.all;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ];
maintainers = lib.teams.swift.members;
};
}

View File

@ -93,9 +93,9 @@ in {
major = "3";
minor = "13";
patch = "0";
suffix = "b3";
suffix = "b4";
};
hash = "sha256-O+CUrQixHcKgZUY1JCOceNyfKzQrAdzU4eYG27xceKU=";
hash = "sha256-sqpVfDyHUjOr2vGxJChOXVD2uyONYqi1XxLcks6hlT8=";
inherit (darwin) configd;
inherit passthruFun;
};

View File

@ -19,6 +19,7 @@
, includeEverything ? true
, raylib-games
, darwin
, autoPatchelfHook
}:
let
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL;
@ -34,7 +35,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-gEstNs3huQ1uikVXOW4uoYnIDr5l8O9jgZRTX1mkRww=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
autoPatchelfHook
cmake
];
buildInputs = [ glfw ]
++ lib.optionals stdenv.isLinux [ mesa libXi libXcursor libXrandr libXinerama ]
@ -58,15 +62,19 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# Patch version in CMakeLists.txt to 5.0.0
# The library author doesn't use cmake, so when updating this package please
# check that the resulting library extension matches the version
# and remove/update this patch (resulting library name should match
# libraylib.so.${finalAttrs.version}
# check that the resulting library extension matches the package version
# and remove/update this patch
(fetchpatch {
url = "https://github.com/raysan5/raylib/commit/032cc497ca5aaca862dc926a93c2a45ed8017737.patch";
hash = "sha256-qsX5AwyQaGoRsbdszOO7tUF9dR+AkEFi4ebNkBVHNEY=";
})
];
# fix libasound.so/libpulse.so not being found
appendRunpaths = [
(lib.makeLibraryPath (lib.optional alsaSupport alsa-lib ++ lib.optional pulseSupport libpulseaudio))
];
meta = with lib; {
description = "Simple and easy-to-use library to enjoy videogames programming";
homepage = "https://www.raylib.com/";

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
owner = "spglib";
repo = "spglib";
rev = "v${version}";
hash = "sha256-nooN4skbhEoUD+YuBtdI7TJq7PIdH9EN5dYAheILp5w=";
hash = "sha256-/PG+ewlxIyf5Au2kVvsAYCfGZgUOOEpA1uATu15ut+M=";
};
nativeBuildInputs = [ cmake gfortran gtest ];

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "diff-cover";
version = "9.1.0";
version = "9.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -28,7 +28,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "diff_cover";
inherit version;
hash = "sha256-xsn38erNkBnRGMr7dZCERcqkGnn2Xzb59QbJYm28vHA=";
hash = "sha256-te0glVs+ve6UR25CnP2fEyThwZoExKrjKok7EcNnPx4=";
};
nativeBuildInputs = [ poetry-core ];

View File

@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "grpcio-channelz";
version = "1.64.1";
version = "1.65.1";
pyproject = true;
src = fetchPypi {
pname = "grpcio_channelz";
inherit version;
hash = "sha256-FUNKohIyERNoZe1y5JzmaP6IausTewNgpv6765Efd1U=";
hash = "sha256-LAAFFlzWYPooRJeoDD4izW+0TscLq9FAQUM+vhXu/Ag=";
};
build-system = [ setuptools ];

View File

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "grpcio-health-checking";
version = "1.64.1";
version = "1.65.1";
format = "setuptools";
src = fetchPypi {
pname = "grpcio_health_checking";
inherit version;
hash = "sha256-VSOJ8/Jj32p/U8sk8opjGlhKMHIfn0Mp0nFZU+GX49s=";
hash = "sha256-rl8gkRDLLdOFMxqYmrY1SO/AvfhGjNj1Z3+9gCKXOHY=";
};
propagatedBuildInputs = [

View File

@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "grpcio-reflection";
version = "1.64.1";
version = "1.65.1";
pyproject = true;
src = fetchPypi {
pname = "grpcio_reflection";
inherit version;
hash = "sha256-43511hl02iKjtcJgSZKqLyFjlx6jeK2Fa047YyEJ88c=";
hash = "sha256-5q5ZAPnYAdyXApglUEL7xCaBVG904IwjNt/9Brl2Wr8=";
};
build-system = [ setuptools ];

View File

@ -28,7 +28,7 @@
buildPythonPackage rec {
pname = "mkdocs-material";
version = "9.5.27";
version = "9.5.29";
pyproject = true;
disabled = pythonOlder "3.7";
@ -37,7 +37,7 @@ buildPythonPackage rec {
owner = "squidfunk";
repo = "mkdocs-material";
rev = "refs/tags/${version}";
hash = "sha256-iuQmZJ5iJEeD54SxNO6ppcI74zyUL2WdSNhDNnmC7ZY=";
hash = "sha256-ebn19oD1Q+HYo9tksiDX1FlKKaB4U/bN51JCHXxSHx8=";
};
nativeBuildInputs = [

View File

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "msgraph-core";
version = "1.1.1";
version = "1.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "microsoftgraph";
repo = "msgraph-sdk-python-core";
rev = "refs/tags/v${version}";
hash = "sha256-MrZGlp0rvKBNrIOYCWJfnRmD983/OjuQv1DoRVNngKU=";
hash = "sha256-Wc/FWwBZ6IkGoZKKhyybcfKqPpDCJx3YcxOAUcUy2JM=";
};
build-system = [ setuptools ];

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "peewee-migrate";
version = "1.12.2";
version = "1.13.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "klen";
repo = "peewee_migrate";
rev = "refs/tags/${version}";
hash = "sha256-jxM2cvlDsoiUlVoxdS3wpUKlwMveMraiR431A8kIdgI=";
hash = "sha256-sC63WH/4EmoQYfvl3HyBHDzT/jMZW/G7mTC138+ZHHU=";
};
postPatch = ''

View File

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "pyls-isort";
version = "0.2.2";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "paradoxxxzero";
repo = "pyls-isort";
rev = "v${version}";
rev = "refs/tags/v${version}";
sha256 = "0xba0aiyjfdi9swjzxk26l94dwlwvn17kkfjfscxl8gvspzsn057";
};
@ -23,15 +23,15 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pyls_isort" ];
propagatedBuildInputs = [
dependencies = [
isort
python-lsp-server
];
meta = with lib; {
meta = {
homepage = "https://github.com/paradoxxxzero/pyls-isort";
description = "Isort plugin for python-lsp-server";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cpcloud ];
};
}

View File

@ -1,7 +1,9 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
# dependencies
deprecated,
memestra,
python-lsp-server,
@ -10,14 +12,16 @@
buildPythonPackage rec {
pname = "pyls-memestra";
version = "0.0.16";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-zMVDd2uB4znw38z3yb0Nt7qQH5dGHTbQBIZO/qo1/t8=";
src = fetchFromGitHub {
owner = "QuantStack";
repo = "pyls-memestra";
rev = "refs/tags/${version}";
hash = "sha256-C1d2BibjpoZCPSy39PkdcLiLIwZZG+XTDWXVjTT1Bws=";
};
propagatedBuildInputs = [
dependencies = [
deprecated
memestra
python-lsp-server
@ -28,10 +32,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pyls_memestra" ];
meta = with lib; {
meta = {
description = "Memestra plugin for the Python Language Server";
homepage = "https://github.com/QuantStack/pyls-memestra";
license = licenses.bsd3;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -1,21 +1,25 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
mypy,
pytestCheckHook,
python-lsp-server,
pythonOlder,
tomli,
}:
buildPythonPackage rec {
pname = "pylsp-mypy";
version = "0.6.8";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "python-lsp";
@ -24,9 +28,9 @@ buildPythonPackage rec {
hash = "sha256-oEWUXkE8U7/ye6puJZRSkQFi10BPGuc8XZQbHwqOPEI=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
mypy
python-lsp-server
tomli
@ -41,10 +45,11 @@ buildPythonPackage rec {
"test_option_overrides_dmypy"
];
meta = with lib; {
meta = {
description = "Mypy plugin for the Python LSP Server";
homepage = "https://github.com/python-lsp/pylsp-mypy";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
changelog = "https://github.com/python-lsp/pylsp-mypy/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cpcloud ];
};
}

View File

@ -1,23 +1,28 @@
{
lib,
buildPythonPackage,
fetchPypi,
rope,
pytestCheckHook,
python-lsp-server,
pythonOlder,
fetchFromGitHub,
rope,
python-lsp-server,
# checks
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pylsp-rope";
version = "0.1.16";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-1oC2iMYKQCV6iELsgIpuDeFZakelMA8irs/caVVQIKc=";
src = fetchFromGitHub {
owner = "python-rope";
repo = "pylsp-rope";
rev = "refs/tags/${version}";
hash = "sha256-Mr+mWRvOXoy7+SosMae80o0V1jBMn1dEoGmaR/BGHrc=";
};
propagatedBuildInputs = [
@ -25,14 +30,15 @@ buildPythonPackage rec {
python-lsp-server
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pylsp_rope" ];
meta = with lib; {
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Extended refactoring capabilities for Python LSP Server using Rope";
homepage = "https://github.com/python-rope/pylsp-rope";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
changelog = "https://github.com/python-rope/pylsp-rope/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -1,20 +1,27 @@
{
lib,
pythonOlder,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
pytestCheckHook,
black,
python-lsp-server,
setuptools,
tomli,
fetchpatch,
# build-system
setuptools,
# dependencies
python-lsp-server,
tomli,
# checks
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "python-lsp-black";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
@ -38,22 +45,22 @@ buildPythonPackage rec {
hash = "sha256-4u0VIS7eidVEiKRW2wc8lJVkJwhzJD/M+uuqmTtiZ7E=";
});
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [
dependencies = [
black
python-lsp-server
] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
pythonImportsCheck = [ "pylsp_black" ];
meta = with lib; {
nativeCheckInputs = [ pytestCheckHook ];
meta = {
homepage = "https://github.com/python-lsp/python-lsp-black";
description = "Black plugin for the Python LSP Server";
changelog = "https://github.com/python-lsp/python-lsp-black/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
changelog = "https://github.com/python-lsp/python-lsp-black/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cpcloud ];
};
}

View File

@ -1,13 +1,18 @@
{
lib,
pythonOlder,
buildPythonPackage,
fetchPypi,
pythonOlder,
fetchFromGitHub,
ruff,
# dependencies
cattrs,
lsprotocol,
python-lsp-server,
tomli,
# checks
pytestCheckHook,
}:
@ -17,10 +22,11 @@ buildPythonPackage rec {
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "python_lsp_ruff";
hash = "sha256-P4C9sLSo7iRiRZahz/YLKMw3dxdzcw+b99lG3f+fDKw=";
src = fetchFromGitHub {
owner = "python-lsp";
repo = "python-lsp-ruff";
rev = "refs/tags/v${version}";
hash = "sha256-czGA/gl7uoWG9UqYUaY9zER79IKfv7ClqgimgyNCAa4=";
};
postPatch = ''

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "sdds";
version = "0.4.1";
version = "0.4.2";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "pylhc";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-4phANoYohuCaLbzO4TgRkSS+UHE8CnzonpEd46xzD0M=";
hash = "sha256-h1gEqzmKCUr8+w3Fv8lv35/0itZwela//AQsD3u0UJA=";
};
propagatedBuildInputs = [ numpy ];

View File

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "sievelib";
version = "1.4.0";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-eM8es/WZENFBASjOk1KVbbwkmzxTr7NirOiSLt7F3N8=";
hash = "sha256-z0cUBzFVMs9x2/b2YrAAzq0rR3pwz/XEshvF1DJLpT4=";
};
build-system = [ setuptools-scm ];

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "yolink-api";
version = "0.4.4";
version = "0.4.5";
pyproject = true;
disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "YoSmart-Inc";
repo = "yolink-api";
rev = "refs/tags/v${version}";
hash = "sha256-yRxv3Itj+SkLtj5rErOzJoxj0JhsAWrdi0DucKZKKIU=";
hash = "sha256-qavVdIcOaCdODceok5tTobSWpPzuLvbzaFYkOVjD+9A=";
};
build-system = [ setuptools ];

View File

@ -10,16 +10,16 @@
buildGoModule rec {
pname = "tflint";
version = "0.51.2";
version = "0.52.0";
src = fetchFromGitHub {
owner = "terraform-linters";
repo = pname;
rev = "v${version}";
hash = "sha256-tsp8+7LWX0W+jVI+O69LNiOCeUlSo6cN1NP9Y9NHonc=";
hash = "sha256-H27krznCX00F0EZ4ahdsMVh+wcAAUC/ErQac9Y4QaJs=";
};
vendorHash = "sha256-JbB78fBOb4dCeJcYLNb/tTJoj+tHqqlyS4caovYlVGE=";
vendorHash = "sha256-jTwzheC/BtcuLGwtLanOccbidOPCHmqxJ4Mwhsid6jY=";
doCheck = false;

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "pack";
version = "0.34.2";
version = "0.35.0";
src = fetchFromGitHub {
owner = "buildpacks";
repo = pname;
rev = "v${version}";
hash = "sha256-1s/0eBRnir2MyrDALcOi5drCIJVkrPBB4RXKX08mxKs=";
hash = "sha256-Y6weRD3MrWEL/KYBMb/bJd6NKfcRELG+RQAhmh/gsuo=";
};
vendorHash = "sha256-jhgTHhiQUDf9738Zusk1SxEae9G6MQapBRq7DBN5Tuc=";
vendorHash = "sha256-gp6Hd0MZxtUX0yYshFIGwrm6yY2pdSOtUs6xmzXBqc4=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "git-ps-rs";
version = "7.2.0";
version = "7.3.1";
src = fetchFromGitHub {
owner = "uptech";
repo = "git-ps-rs";
rev = version;
hash = "sha256-OkQLuTZ4CFxA8Ezpo7ChVDR3BzLzlF/EOkZjTIbjJl4=";
hash = "sha256-4lk6AHquWKgDk0pBaswbVShZbUDA3wO6cPakhrvrwac=";
};
cargoHash = "sha256-9SmUGSHPhByBkSyuyNSBCsYsWxF7e13i00Jbf4COOj4=";
cargoHash = "sha256-GS/RRPzULUla4XY4tO+eM2NAy2nG0qDxqcSq292ivgU=";
nativeBuildInputs = [ pkg-config ];

View File

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "reindeer";
version = "2024.07.01.00";
version = "2024.07.15.00";
src = fetchFromGitHub {
owner = "facebookincubator";
repo = "reindeer";
rev = "refs/tags/v${version}";
hash = "sha256-eA2eD/762/hJQ7p/V/Hw1dYzkqnqXZymdg8ef2wi8to=";
hash = "sha256-/pz+kFTT89AGQzvgaYsbiCFO1TouqyETsvahcgEe6qE=";
};
cargoHash = "sha256-hyySKUDeZ7aPXQ7f4grgYY3cTkhE82rrh2EFasrnGX0=";
cargoHash = "sha256-Tg0NhBZLbj9uaPS6FUcPyLSOxFAN9uPSzCwEE/63Ve0=";
nativeBuildInputs = [ pkg-config ];
buildInputs =

View File

@ -9,16 +9,16 @@
buildGoModule rec {
pname = "supabase-cli";
version = "1.183.0";
version = "1.187.2";
src = fetchFromGitHub {
owner = "supabase";
repo = "cli";
rev = "v${version}";
hash = "sha256-IQB3CGH7l8hHvZ6+wPyW3eDkbNWkT5SFz2xkak9Yao0=";
hash = "sha256-zc38w09+DvCJMlXMjWvSekrhck8BkWL46RfvQHGpE9c=";
};
vendorHash = "sha256-BK1ryal5ptOQ4Z0SyaNj452QFH871igiuMJKg/w5IiU=";
vendorHash = "sha256-87G0Smjt+/+f0IjloKySgRpIaIyHI5DG89uNuP0sb9U=";
ldflags = [
"-s"

View File

@ -8,16 +8,16 @@
}:
buildGoModule rec {
pname = "turso-cli";
version = "0.96.0";
version = "0.96.2";
src = fetchFromGitHub {
owner = "tursodatabase";
repo = "turso-cli";
rev = "v${version}";
hash = "sha256-SgUlGzQy+K+GhrbZR/lnKyLsI5cjXxBu/SpNqlfe5IA=";
hash = "sha256-G8rYCjGkk0/bVnp0A74HIduYuC5lLvlzAoaOLaQfhG4=";
};
vendorHash = "sha256-Za8njJ0aExZe2LmQe6q9Q0Phjo1ot3bYK/zGNzyi7fo=";
vendorHash = "sha256-nMhXjCRBv4q6c3VcQ+6JTijEH1EVctfb+i1sCYoD62E=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -28,10 +28,10 @@
}:
let
defaultVersion = "2024.04";
defaultVersion = "2024.07";
defaultSrc = fetchurl {
url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
hash = "sha256-GKhT/jn6160DqQzC1Cda6u1tppc13vrDSSuAUIhD3Uo=";
hash = "sha256-9ZHamrkO89az0XN2bQ3f+QxO1zMGgIl0hhF985DYPI8=";
};
# Dependencies for the tools need to be included as either native or cross,

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "power-calibrate";
version = "0.01.36";
version = "0.01.37";
src = fetchFromGitHub {
owner = "ColinIanKing";
repo = pname;
rev = "V${version}";
hash = "sha256-7NKR82waxooB62D59kRmJPqxoVHX9OIWKwLrmzsg9OQ=";
hash = "sha256-DZ6rXbhaSNy3TEX+lwv3tyKQ7BXOZ9ycrff/7pF60j0=";
};
installFlags = [

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "mtail";
version = "3.0.5";
version = "3.0.7";
src = fetchFromGitHub {
owner = "google";
repo = "mtail";
rev = "v${version}";
hash = "sha256-+P21rrWgV9xbZV45Z2brb4F1p5qpaWLKgFqdhyhnkR8=";
hash = "sha256-Uo3Mq3NaQf/MlvvqfIfVlvQ+7YmrhKn/hb2HpEoc628=";
};
vendorHash = "sha256-7u0r4AppzDpVulTPfI9K1njhHmu2kqESJXMjV3WKZFs=";
vendorHash = "sha256-FdvbwFrhvwJgqlssyqzZiBbh2HJEHAUi2s6IuBa6LC8=";
ldflags = [
"-X=main.Branch=main"

View File

@ -6,12 +6,12 @@
, stdenv
}:
let
version = "24.1.9";
version = "24.1.10";
src = fetchFromGitHub {
owner = "redpanda-data";
repo = "redpanda";
rev = "v${version}";
sha256 = "sha256-/A6BzhCdN8e7mV/Tp9TYfOmSAjmaa4S3FNCko4G9Vgs=";
sha256 = "sha256-HouhxCy0eQx4A4TF1id8XA7JEzDwzLfYre6MxufCeBM=";
};
in
buildGoModule rec {

View File

@ -42,7 +42,6 @@ in
_: ps:
lib.pipe ps [
(lib.filterAttrs isTest)
(as: as // { __attrsFailEvaluation = true; })
recurseIntoAttrs
]
))

View File

@ -6,16 +6,16 @@
rustPlatform.buildRustPackage rec {
pname = "httm";
version = "0.38.1";
version = "0.39.1";
src = fetchFromGitHub {
owner = "kimono-koans";
repo = pname;
rev = version;
hash = "sha256-aCWhjMXLNx5/wV1HFDtyUuUfpRAxDZhI/Bk7roqZkJ8=";
hash = "sha256-Wlmr2xI3RRiV8z+AhD1If3TSD/tBBFg3b9YNAximRk8=";
};
cargoHash = "sha256-ZmelNAewyrbiKqlyEwkgxlZToYD53UBZrK0nyqGN3RU=";
cargoHash = "sha256-9N+Yo82fx2mFrClk7H1fHhVS4lOX+us5Hs2EXmCbY4o=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -6,13 +6,13 @@
stdenvNoCC.mkDerivation rec {
pname = "er-patcher";
version = "1.12-2";
version = "1.12-3";
src = fetchFromGitHub {
owner = "gurrgur";
repo = "er-patcher";
rev = "v${version}";
sha256 = "sha256-C+QtPpvEuYAYxYGs2lbYLaYkDge6r0RNCISglkQpjEQ=";
sha256 = "sha256-D+XYZI3kmK5sb+i8RxtODTvbTgzhpDzwB/JM61ddcTA=";
};
buildInputs = [

View File

@ -5,18 +5,18 @@
buildGoModule rec {
pname = "google-cloud-sql-proxy";
version = "2.11.4";
version = "2.12.0";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "cloud-sql-proxy";
rev = "v${version}";
hash = "sha256-eM1sS9+L3Z7qCQl+HPcdfoSSdcCKvaz5zwQM4k55hZY=";
hash = "sha256-nEbrNRrEXXvLYi1vIvukUaq+WQn2HlonaaMn57yIA3I=";
};
subPackages = [ "." ];
vendorHash = "sha256-/cHQ1vElE+QCxQo6s3Isf2USFP0LWJH3YdcbUfGuuVw=";
vendorHash = "sha256-EI2PDVdS9JB8ACkRTsfCBLz4JEmHQ6hApFSSfSvD/cQ=";
checkFlags = [
"-short"

View File

@ -25,13 +25,13 @@ buildPythonPackage rec {
# The websites yt-dlp deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported
# to the latest stable release.
version = "2024.7.9";
version = "2024.7.16";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "yt_dlp";
hash = "sha256-4Z8A+eVekLyhyUvK+AmqM+UWNL6fDeLfhKctMgaTT5Q=";
hash = "sha256-xb1RekneoZI+yOFPUYWPEP2J3+zhTLcBOStIC0Gy9RY=";
};
build-system = [

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "hashrat";
version = "1.21";
version = "1.22";
src = fetchFromGitHub {
owner = "ColumPaget";
repo = "Hashrat";
rev = "v${version}";
hash = "sha256-WWUUwbAt2vxbXSj7r/kVDc85jhkikNeqUtITZepH8Dc=";
hash = "sha256-mjjK315OUUFVdUY+zcCvm7yeo7XxourR1sghWbeFT7c=";
};
configureFlags = [ "--enable-xattr" ];

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "nuclei";
version = "3.2.9";
version = "3.3.0";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "nuclei";
rev = "refs/tags/v${version}";
hash = "sha256-4YfdpM+F2hP88GbB5ct2dla/balbt8uQcJSUyJut99U=";
hash = "sha256-1Vc8bza7RVqIxnRQVNki43Y3iwS9wH4bGbJn2Ee4jVY=";
};
vendorHash = "sha256-zonoIvDbSHpURKPJoTfL2SrpiIAQkh0oAGEDEQiH35M=";
vendorHash = "sha256-53s4z0XWkoB52gRQJ8ADDQxo+RX7cN698E8PtLXcXrc=";
subPackages = [ "cmd/nuclei/" ];

View File

@ -16614,9 +16614,7 @@ with pkgs;
svdtools = callPackage ../development/embedded/svdtools { };
swiftPackages = recurseIntoAttrs (callPackage ../development/compilers/swift { });
inherit (swiftPackages) swift swiftpm sourcekit-lsp swift-format;
swiftpm2nix = callPackage ../development/tools/swiftpm2nix { };
inherit (swiftPackages) swift swiftpm sourcekit-lsp swift-format swiftpm2nix;
swiProlog = callPackage ../development/compilers/swi-prolog {
inherit (darwin.apple_sdk.frameworks) Security;

View File

@ -16,8 +16,8 @@
# - Attribute names should be computable without relying on `final`.
# - Extensions should take arguments to build attribute names before relying on `final`.
#
# Silvan's recommendation then is to explicitly use `callPackage` to provide everything our extensions need
# to compute the attribute names, without relying on `final`.
# Silvan's recommendation then is to explicitly use `callPackage` to provide everything our
# extensions need to compute the attribute names, without relying on `final`.
#
# I've (@connorbaker) attempted to do that, though I'm unsure of how this will interact with overrides.
{
@ -27,7 +27,6 @@
newScope,
pkgs,
config,
__attrsFailEvaluation ? true,
}:
let
inherit (lib)
@ -50,10 +49,14 @@ let
cudaAtLeast = strings.versionAtLeast cudaVersion;
# Maintain a reference to the final cudaPackages.
# Without this, if we use `final.callPackage` and a package accepts `cudaPackages` as an argument,
# it's provided with `cudaPackages` from the top-level scope, which is not what we want. We want to
# provide the `cudaPackages` from the final scope -- that is, the *current* scope.
cudaPackages = final;
# Without this, if we use `final.callPackage` and a package accepts `cudaPackages` as an
# argument, it's provided with `cudaPackages` from the top-level scope, which is not what we
# want. We want to provide the `cudaPackages` from the final scope -- that is, the *current*
# scope. However, we also want to prevent `pkgs/top-level/release-attrpaths-superset.nix` from
# recursing more than one level here.
cudaPackages = final // {
__attrsFailEvaluation = true;
};
# TODO(@connorbaker): `cudaFlags` is an alias for `flags` which should be removed in the future.
cudaFlags = flags;
@ -120,4 +123,4 @@ let
fixedPoints.extends composedExtension passthruFunction
);
in
cudaPackages // { inherit __attrsFailEvaluation; }
cudaPackages