Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-09-22 00:02:14 +00:00 committed by GitHub
commit c651d7d9e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 903 additions and 707 deletions

View file

@ -211,6 +211,16 @@
fingerprint = "7B59 F09E 0FE5 BC34 F032 1FB4 5270 1DE5 F5F5 1125"; fingerprint = "7B59 F09E 0FE5 BC34 F032 1FB4 5270 1DE5 F5F5 1125";
}]; }];
}; };
_9glenda = {
email = "plan9git@proton.me";
matrix = "@9front:matrix.org";
github = "9glenda";
githubId = 69043370;
name = "9glenda";
keys = [{
fingerprint = "DBF4 E6D0 90B8 BEA4 4BFE 1F1C 3442 4321 39B5 0691";
}];
};
a1russell = { a1russell = {
email = "adamlr6+pub@gmail.com"; email = "adamlr6+pub@gmail.com";
github = "a1russell"; github = "a1russell";

View file

@ -97,6 +97,19 @@ in
type = types.bool; type = types.bool;
}; };
banner = mkOption {
type = types.nullOr types.lines;
default = null;
example = ''
foo
bar
baz
'';
description = lib.mdDoc ''
Optional message to display on the login screen.
'';
};
settings = mkOption { settings = mkOption {
type = settingsFormat.type; type = settingsFormat.type;
default = { }; default = { };
@ -238,6 +251,11 @@ in
sleep-inactive-ac-timeout = lib.gvariant.mkInt32 0; sleep-inactive-ac-timeout = lib.gvariant.mkInt32 0;
sleep-inactive-battery-timeout = lib.gvariant.mkInt32 0; sleep-inactive-battery-timeout = lib.gvariant.mkInt32 0;
}; };
}] ++ lib.optionals (cfg.gdm.banner != null) [{
settings."org/gnome/login-screen" = {
banner-message-enable = true;
banner-message-text = cfg.gdm.banner;
};
}] ++ [ "${gdm}/share/gdm/greeter-dconf-defaults" ]; }] ++ [ "${gdm}/share/gdm/greeter-dconf-defaults" ];
# Use AutomaticLogin if delay is zero, because it's immediate. # Use AutomaticLogin if delay is zero, because it's immediate.

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, openjdk, glib, wrapGAppsHook, zstd }: { lib, stdenv, fetchurl, openjdk, glib, dpkg, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "bluej"; pname = "bluej";
@ -12,21 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE="; sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE=";
}; };
nativeBuildInputs = [ zstd wrapGAppsHook ]; nativeBuildInputs = [ dpkg wrapGAppsHook ];
buildInputs = [ glib ]; buildInputs = [ glib ];
sourceRoot = ".";
preUnpack = ''
unpackCmdHooks+=(_tryDebData)
_tryDebData() {
if ! [[ "$1" =~ \.deb$ ]]; then return 1; fi
ar xf $src
if ! [[ -e data.tar.zst ]]; then return 1; fi
unpackFile data.tar.zst
}
'';
dontWrapGApps = true; dontWrapGApps = true;
installPhase = '' installPhase = ''

View file

@ -1,31 +1,41 @@
{ lib, stdenv, fetchurl, makeWrapper, jdk }: { lib, stdenv, fetchurl, openjdk, glib, dpkg, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "greenfoot"; pname = "greenfoot";
version = "3.7.1"; version = "3.8.0";
src = fetchurl { src = fetchurl {
# We use the deb here. First instinct might be to go for the "generic" JAR # We use the deb here. First instinct might be to go for the "generic" JAR
# download, but that is actually a graphical installer that is much harder # download, but that is actually a graphical installer that is much harder
# to unpack than the deb. # to unpack than the deb.
url = "https://www.greenfoot.org/download/files/Greenfoot-linux-${builtins.replaceStrings ["."] [""] version}.deb"; url = "https://www.greenfoot.org/download/files/Greenfoot-linux-${builtins.replaceStrings ["."] [""] version}.deb";
sha256 = "sha256-wGgKDsA/2luw+Nzs9dWb/HRHMx/0S0CFfoI53OCzxug="; sha256 = "sha256-HDXmgLHS18VZVV+hCA0RgIrKRftOlV7t+fvE0pAHGjk=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ dpkg wrapGAppsHook ];
buildInputs = [ glib ];
unpackPhase = '' dontWrapGApps = true;
ar xf $src
tar xf data.tar.xz
'';
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out mkdir -p $out
cp -r usr/* $out cp -r usr/* $out
rm -r $out/share/greenfoot/jdk
rm -r $out/share/greenfoot/javafx
makeWrapper ${jdk}/bin/java $out/bin/greenfoot \ rm -r $out/share/greenfoot/jdk
--add-flags "-Djavafx.embed.singleThread=true -Dawt.useSystemAAFontSettings=on -Xmx512M -cp \"$out/share/greenfoot/bluej.jar\" bluej.Boot -greenfoot=true -bluej.compiler.showunchecked=false -greenfoot.scenarios=$out/share/doc/Greenfoot/scenarios -greenfoot.url.javadoc=file://$out/share/doc/Greenfoot/API" rm -r $out/share/greenfoot/javafx-*.jar
makeWrapper ${openjdk}/bin/java $out/bin/greenfoot \
"''${gappsWrapperArgs[@]}" \
--add-flags "-Dawt.useSystemAAFontSettings=on -Xmx512M \
--add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED \
-cp $out/share/greenfoot/boot.jar bluej.Boot \
-greenfoot=true -bluej.compiler.showunchecked=false \
-greenfoot.scenarios=$out/share/doc/Greenfoot/scenarios \
-greenfoot.url.javadoc=file://$out/share/doc/Greenfoot/API"
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
@ -33,7 +43,8 @@ stdenv.mkDerivation rec {
homepage = "https://www.greenfoot.org/"; homepage = "https://www.greenfoot.org/";
sourceProvenance = with sourceTypes; [ binaryBytecode ]; sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl2ClasspathPlus; license = licenses.gpl2ClasspathPlus;
mainProgram = pname;
maintainers = [ maintainers.chvp ]; maintainers = [ maintainers.chvp ];
platforms = platforms.unix; platforms = platforms.linux;
}; };
} }

View file

@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
routers. routers.
''; '';
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; mainProgram = "dynamips";
maintainers = with maintainers; [ primeos ]; maintainers = with maintainers; [ primeos ];
platforms = platforms.linux ++ platforms.darwin;
}; };
} }

View file

@ -1,20 +1,20 @@
{ {
stable = import ./browser.nix { stable = import ./browser.nix {
channel = "stable"; channel = "stable";
version = "116.0.1938.76"; version = "117.0.2045.35";
revision = "1"; revision = "1";
sha256 = "sha256-zSnNgnpsxR2sRgoG+Vi2K3caaVUPLiJJ9d+EjjIzu7Y="; sha256 = "sha256-2am+TLZC024mpxOk6GLB0TZY+Kfnm/CyH8sMBLod1Js=";
}; };
beta = import ./browser.nix { beta = import ./browser.nix {
channel = "beta"; channel = "beta";
version = "117.0.2045.21"; version = "117.0.2045.31";
revision = "1"; revision = "1";
sha256 = "sha256-vsZy9WGlT4Yqf/tHmsgZV8Pj7D0nmhmziKYGrRj7Bi0="; sha256 = "sha256-Nee99jE6kswYfmZlMjv4EV4HDz1l+9YhhWHonhe2uUM=";
}; };
dev = import ./browser.nix { dev = import ./browser.nix {
channel = "dev"; channel = "dev";
version = "118.0.2060.1"; version = "118.0.2088.9";
revision = "1"; revision = "1";
sha256 = "sha256-OKjCmULPjYuoumqAqivyCFzHSR1IOutEIWTqXtDgMhM="; sha256 = "sha256-JNIccQrdLpiEItgt4Lh0eZQgnXE+5Lx3vGDjzm5sKWM=";
}; };
} }

View file

@ -21,16 +21,17 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
setKV version ${LATEST_VERSION} setKV version ${LATEST_VERSION}
setKV sha256 ${SHA256} setKV sha256 ${SHA256}
setKV manifestsSha256 ${SPEC_SHA256} setKV manifestsSha256 ${SPEC_SHA256}
setKV vendorSha256 "0000000000000000000000000000000000000000000000000000" # The same as lib.fakeSha256 setKV vendorHash "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" # The same as lib.fakeHash
set +e set +e
VENDOR_SHA256=$(nix-build --no-out-link -A fluxcd $NIXPKGS_PATH 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g') VENDOR_HASH=$(nix-build --no-out-link -A fluxcd $NIXPKGS_PATH 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g')
VENDOR_HASH=$(nix hash to-sri --type sha256 $VENDOR_HASH)
set -e set -e
if [ -n "${VENDOR_SHA256:-}" ]; then if [ -n "${VENDOR_HASH:-}" ]; then
setKV vendorSha256 ${VENDOR_SHA256} setKV vendorHash ${VENDOR_HASH}
else else
echo "Update failed. VENDOR_SHA256 is empty." echo "Update failed. VENDOR_HASH is empty."
exit 1 exit 1
fi fi

View file

@ -17,17 +17,17 @@ setKV () {
setKV version ${VERSION} setKV version ${VERSION}
setKV sha256 ${SHA256} setKV sha256 ${SHA256}
setKV vendorSha256 "0000000000000000000000000000000000000000000000000000" # Necessary to force clean build. setKV vendorHash "sha256-BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=" # Necessary to force clean build.
cd ../../../../../ cd ../../../../../
set +e set +e
VENDOR_SHA256=$(nix-build --no-out-link -A linkerd_edge 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g') VENDOR_HASH=$(nix-build --no-out-link -A linkerd_edge 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g')
set -e set -e
cd - > /dev/null cd - > /dev/null
if [ -n "${VENDOR_SHA256:-}" ]; then if [ -n "${VENDOR_HASH:-}" ]; then
setKV vendorSha256 ${VENDOR_SHA256} setKV vendorHash ${VENDOR_HASH}
else else
echo "Update failed. VENDOR_SHA256 is empty." echo "Update failed. VENDOR_HASH is empty."
exit 1 exit 1
fi fi

View file

@ -17,17 +17,17 @@ setKV () {
setKV version ${VERSION} setKV version ${VERSION}
setKV sha256 ${SHA256} setKV sha256 ${SHA256}
setKV vendorSha256 "0000000000000000000000000000000000000000000000000000" # Necessary to force clean build. setKV vendorHash "sha256-BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=" # Necessary to force clean build.
cd ../../../../../ cd ../../../../../
set +e set +e
VENDOR_SHA256=$(nix-build --no-out-link -A linkerd 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g') VENDOR_HASH=$(nix-build --no-out-link -A linkerd 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g')
set -e set -e
cd - > /dev/null cd - > /dev/null
if [ -n "${VENDOR_SHA256:-}" ]; then if [ -n "${VENDOR_HASH:-}" ]; then
setKV vendorSha256 ${VENDOR_SHA256} setKV vendorHash ${VENDOR_HASH}
else else
echo "Update failed. VENDOR_SHA256 is empty." echo "Update failed. VENDOR_HASH is empty."
exit 1 exit 1
fi fi

View file

@ -2,13 +2,13 @@
(if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec { (if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec {
pname = "signalbackup-tools"; pname = "signalbackup-tools";
version = "20230919"; version = "20230921";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bepaald"; owner = "bepaald";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-/Nz+T3ePjabETFrN8fq+JI5g18UEQmmqiJ0XAMR+gzM="; hash = "sha256-wxJPz6zm/mZEW7/p5Aac2PQRf3mmXj84k2hz2RzuNbw=";
}; };
postPatch = '' postPatch = ''

View file

@ -39,14 +39,14 @@ let
in in
buildGoModule rec { buildGoModule rec {
pname = "forgejo"; pname = "forgejo";
version = "1.20.4-0"; version = "1.20.4-1";
src = fetchFromGitea { src = fetchFromGitea {
domain = "codeberg.org"; domain = "codeberg.org";
owner = "forgejo"; owner = "forgejo";
repo = "forgejo"; repo = "forgejo";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-guKU3VG1Wyhr5p6w0asL/CopQ5b7HiNi26Tw8WCEpwE="; hash = "sha256-Fxlj+ckw1LSgiQDex3ZizHakIKd52U6JcdTurJj8YWg=";
}; };
vendorHash = "sha256-dgtZjsLBwblhdge3BvdbK/mN/TeZKps9K5dJbqomtjo="; vendorHash = "sha256-dgtZjsLBwblhdge3BvdbK/mN/TeZKps9K5dJbqomtjo=";

View file

@ -1,4 +1,4 @@
{ buildVersion, x64sha256, dev ? false }: { buildVersion, aarch64sha256, x64sha256, dev ? false }:
{ fetchurl, lib, stdenv, xorg, glib, libGL, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook { fetchurl, lib, stdenv, xorg, glib, libGL, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
, pkexecPath ? "/run/wrappers/bin/pkexec" , pkexecPath ? "/run/wrappers/bin/pkexec"
@ -8,14 +8,23 @@
let let
pnameBase = "sublime-merge"; pnameBase = "sublime-merge";
packageAttribute = "sublime-merge${lib.optionalString dev "-dev"}"; packageAttribute = "sublime-merge${lib.optionalString dev "-dev"}";
binaries = [ "sublime_merge" "crash_reporter" "git-credential-sublime" "ssh-askpass-sublime" ]; binaries = [ "sublime_merge" crashHandlerBinary "git-credential-sublime" "ssh-askpass-sublime" ];
primaryBinary = "sublime_merge"; primaryBinary = "sublime_merge";
primaryBinaryAliases = [ "smerge" ]; primaryBinaryAliases = [ "smerge" ];
crashHandlerBinary = if lib.versionAtLeast buildVersion "2086" then "crash_handler" else "crash_reporter";
downloadUrl = arch: "https://download.sublimetext.com/sublime_merge_build_${buildVersion}_${arch}.tar.xz"; downloadUrl = arch: "https://download.sublimetext.com/sublime_merge_build_${buildVersion}_${arch}.tar.xz";
versionUrl = "https://www.sublimemerge.com/${if dev then "dev" else "download"}"; versionUrl = "https://www.sublimemerge.com/${if dev then "dev" else "download"}";
versionFile = builtins.toString ./default.nix; versionFile = builtins.toString ./default.nix;
libPath = lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango curl ]; neededLibraries = [
xorg.libX11
glib
gtk3
cairo
pango
curl
];
redirects = [ "/usr/bin/pkexec=${pkexecPath}" "/bin/true=${coreutils}/bin/true" ]; redirects = [ "/usr/bin/pkexec=${pkexecPath}" "/bin/true=${coreutils}/bin/true" ];
in let in let
binaryPackage = stdenv.mkDerivation rec { binaryPackage = stdenv.mkDerivation rec {
@ -35,7 +44,7 @@ in let
for binary in ${ builtins.concatStringsSep " " binaries }; do for binary in ${ builtins.concatStringsSep " " binaries }; do
patchelf \ patchelf \
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath ${libPath}:${libGL}/lib:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"} \ --set-rpath ${lib.makeLibraryPath neededLibraries}:${libGL}/lib:${stdenv.cc.cc.lib}/lib${lib.optionalString stdenv.is64bit "64"} \
$binary $binary
done done
@ -76,6 +85,10 @@ in let
passthru = { passthru = {
sources = { sources = {
"aarch64-linux" = fetchurl {
url = downloadUrl "arm64";
sha256 = aarch64sha256;
};
"x86_64-linux" = fetchurl { "x86_64-linux" = fetchurl {
url = downloadUrl "x64"; url = downloadUrl "x64";
sha256 = x64sha256; sha256 = x64sha256;
@ -109,7 +122,7 @@ in stdenv.mkDerivation (rec {
passthru = { passthru = {
updateScript = updateScript =
let let
script = writeShellScript "${pnameBase}-update-script" '' script = writeShellScript "${packageAttribute}-update-script" ''
set -o errexit set -o errexit
PATH=${lib.makeBinPath [ common-updater-scripts curl gnugrep ]} PATH=${lib.makeBinPath [ common-updater-scripts curl gnugrep ]}
@ -137,6 +150,6 @@ in stdenv.mkDerivation (rec {
maintainers = with maintainers; [ zookatron ]; maintainers = with maintainers; [ zookatron ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.unfree; license = licenses.unfree;
platforms = [ "x86_64-linux" ]; platforms = [ "aarch64-linux" "x86_64-linux" ];
}; };
}) })

View file

@ -4,13 +4,15 @@ let
common = opts: callPackage (import ./common.nix opts); common = opts: callPackage (import ./common.nix opts);
in { in {
sublime-merge = common { sublime-merge = common {
buildVersion = "2083"; buildVersion = "2091";
x64sha256 = "bWHbP8j228jUDr1XDLRciq7hcET6o6Udr/lLODXRudc="; aarch64sha256 = "dkPKuuzQQtL3eZlaAPeL7e2p5PCxroFRSp6Rw5wHODc=";
x64sha256 = "T5g6gHgl9xGytEOsh3VuB08IrbDvMu24o/1edCGmfd4=";
} {}; } {};
sublime-merge-dev = common { sublime-merge-dev = common {
buildVersion = "2085"; buildVersion = "2090";
x64sha256 = "40yI6EtP2l22aPP50an3ycvdEcAqJphhGhYYoOPyHw0="; aarch64sha256 = "96nJn+7bVoLM6D14pFujlj3JOQL5PwdU1+SWzEjoYhU=";
x64sha256 = "bu51gsu0XxZBF8/HncPttcKiIRpC7qsKTgR9cktKOnI=";
dev = true; dev = true;
} {}; } {};
} }

View file

@ -39,18 +39,18 @@
, withX ? true , withX ? true
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "open-vm-tools"; pname = "open-vm-tools";
version = "12.3.0"; version = "12.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vmware"; owner = "vmware";
repo = "open-vm-tools"; repo = "open-vm-tools";
rev = "stable-${version}"; rev = "stable-${finalAttrs.version}";
hash = "sha256-YVpWomLED5sBKXKdJtuDjb7/aKB2flVIm2ED3xSsccE="; hash = "sha256-YVpWomLED5sBKXKdJtuDjb7/aKB2flVIm2ED3xSsccE=";
}; };
sourceRoot = "${src.name}/open-vm-tools"; sourceRoot = "${finalAttrs.src.name}/open-vm-tools";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@ -137,7 +137,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/vmware/open-vm-tools"; homepage = "https://github.com/vmware/open-vm-tools";
changelog = "https://github.com/vmware/open-vm-tools/releases/tag/stable-${version}"; changelog = "https://github.com/vmware/open-vm-tools/releases/tag/stable-${finalAttrs.version}";
description = "Set of tools for VMWare guests to improve host-guest interaction"; description = "Set of tools for VMWare guests to improve host-guest interaction";
longDescription = '' longDescription = ''
A set of services and modules that enable several features in VMware products for A set of services and modules that enable several features in VMware products for
@ -147,4 +147,4 @@ stdenv.mkDerivation rec {
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
maintainers = with maintainers; [ joamaki kjeremy ]; maintainers = with maintainers; [ joamaki kjeremy ];
}; };
} })

View file

@ -0,0 +1,43 @@
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, bluez
, dmenu
, nix-update-script
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dmenu-bluetooth";
version = "unstable-2023-07-16";
src = fetchFromGitHub {
owner = "Layerex";
repo = "dmenu-bluetooth";
rev = "96e2e3e1dd7ea2d2ab0c20bf21746aba8d70cc46";
hash = "sha256-0G2PXWq9/JsLHnbOIJWSWWqfnBgOxaA8N2VyCbTUGmI=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
install -D --target-directory=$out/bin/ ./dmenu-bluetooth
wrapProgram $out/bin/dmenu-bluetooth \
--prefix PATH ":" ${lib.makeBinPath [ dmenu bluez ] }
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "A script that generates a dmenu menu that uses bluetoothctl to connect to bluetooth devices and display status info";
homepage = "https://github.com/Layerex/dmenu-bluetooth";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ ludovicopiero ];
platforms = lib.platforms.linux;
};
})

View file

@ -6,7 +6,7 @@
let let
pname = "engage"; pname = "engage";
version = "0.1.3"; version = "0.2.0";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
inherit pname version; inherit pname version;
@ -15,10 +15,10 @@ rustPlatform.buildRustPackage {
src = fetchgit { src = fetchgit {
url = "https://or.computer.surgery/charles/${pname}"; url = "https://or.computer.surgery/charles/${pname}";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-B7pDJDoQiigaxcia0LfG7zHEzYtvhCUNpbmfR2ny4ZE="; hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk=";
}; };
cargoHash = "sha256-Akk7fh7/eyN8gyuh3y3aeeKD2STtrEx+trOm5ww9lgw="; cargoHash = "sha256-CKe0nb5JHi5+1UlVOl01Q3qSXQLlpEBdat/IzRKfaz0=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage {
+ builtins.concatStringsSep + builtins.concatStringsSep
" " " "
(builtins.map (builtins.map
(shell: "--${shell} <($out/bin/${pname} self completions ${shell})") (shell: "--${shell} <($out/bin/${pname} completions ${shell})")
[ [
"bash" "bash"
"fish" "fish"

View file

@ -5,33 +5,37 @@
, wallutils , wallutils
}: }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sunpaper"; pname = "sunpaper";
version = "2.0"; version = "2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hexive"; owner = "hexive";
repo = "sunpaper"; repo = "sunpaper";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM="; hash = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM=";
}; };
buildInputs = [ buildInputs = [
wallutils
sunwait sunwait
wallutils
]; ];
postPatch = '' postPatch = ''
substituteInPlace sunpaper.sh \ substituteInPlace sunpaper.sh \
--replace "sunwait" "${sunwait}/bin/sunwait" \ --replace "sunwait" "${lib.getExe sunwait}" \
--replace "setwallpaper" "${wallutils}/bin/setwallpaper" \ --replace "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
--replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/" --replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/"
''; '';
installPhase = '' installPhase = ''
mkdir -p "$out/bin" "$out/share/sunpaper/images" runHook preInstall
cp sunpaper.sh $out/bin/sunpaper
install -Dm555 sunpaper.sh $out/bin/sunpaper
mkdir -p "$out/share/sunpaper/images"
cp -R images $out/share/sunpaper/ cp -R images $out/share/sunpaper/
runHook postInstall
''; '';
doInstallCheck = true; doInstallCheck = true;
@ -40,11 +44,12 @@ stdenvNoCC.mkDerivation rec {
$out/bin/sunpaper --help > /dev/null $out/bin/sunpaper --help > /dev/null
''; '';
meta = with lib; { meta = {
description = "A utility to change wallpaper based on local weather, sunrise and sunset times"; description = "A utility to change wallpaper based on local weather, sunrise and sunset times";
homepage = "https://github.com/hexive/sunpaper"; homepage = "https://github.com/hexive/sunpaper";
license = lib.licenses.unfree; license = lib.licenses.asl20;
maintainers = with maintainers; [ jevy ]; mainProgram = "sunpaper";
platforms = platforms.unix; maintainers = with lib.maintainers; [ eclairevoyant jevy ];
platforms = lib.platforms.linux;
}; };
} })

View file

@ -3044,7 +3044,7 @@ dependencies = [
[[package]] [[package]]
name = "process-event" name = "process-event"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -4314,7 +4314,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicator" name = "symbolicator"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@ -4350,7 +4350,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicator-crash" name = "symbolicator-crash"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"bindgen", "bindgen",
"cmake", "cmake",
@ -4358,7 +4358,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicator-service" name = "symbolicator-service"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"apple-crash-report-parser", "apple-crash-report-parser",
@ -4415,7 +4415,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicator-sources" name = "symbolicator-sources"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"aws-types", "aws-types",
@ -4430,7 +4430,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicator-stress" name = "symbolicator-stress"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@ -4450,7 +4450,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicator-test" name = "symbolicator-test"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"axum", "axum",
"humantime", "humantime",
@ -4468,7 +4468,7 @@ dependencies = [
[[package]] [[package]]
name = "symbolicli" name = "symbolicli"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -4491,7 +4491,7 @@ dependencies = [
[[package]] [[package]]
name = "symsorter" name = "symsorter"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
@ -5239,7 +5239,7 @@ checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
[[package]] [[package]]
name = "wasm-split" name = "wasm-split"
version = "23.9.0" version = "23.9.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

View file

@ -11,13 +11,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "symbolicator"; pname = "symbolicator";
version = "23.9.0"; version = "23.9.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "getsentry"; owner = "getsentry";
repo = "symbolicator"; repo = "symbolicator";
rev = version; rev = version;
hash = "sha256-odlxslhSsalWbgouzq/1Gyn/5hekoW0dtgshz1vxsg8="; hash = "sha256-QsU9hxBF7Te3vO6in/nWn6hYbovI1jOWYXB6PcqWGTA=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -1,12 +1,10 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nixosTests , nixosTests
, dtkwidget , dtkwidget
, qt5integration , qt5integration
, qt5platform-plugins , qt5platform-plugins
, dde-qt-dbus-factory
, cmake , cmake
, qtbase , qtbase
, qtsvg , qtsvg
@ -14,7 +12,6 @@
, qtx11extras , qtx11extras
, pkg-config , pkg-config
, wrapQtAppsHook , wrapQtAppsHook
, at-spi2-core
, libsecret , libsecret
, chrpath , chrpath
, lxqt , lxqt
@ -22,13 +19,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "deepin-terminal"; pname = "deepin-terminal";
version = "6.0.6"; version = "6.0.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linuxdeepin"; owner = "linuxdeepin";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-LzCbh+BErgh7Ojbw314oHB8QvyS6UeJkDUkNngzVm+A="; hash = "sha256-vXykC/x9F+cPTSqKTWimUhnr+IsfoeQncdj75sXG4/g=";
}; };
cmakeFlags = [ "-DVERSION=${version}" ]; cmakeFlags = [ "-DVERSION=${version}" ];
@ -47,9 +44,7 @@ stdenv.mkDerivation rec {
qtbase qtbase
qtsvg qtsvg
dtkwidget dtkwidget
dde-qt-dbus-factory
qtx11extras qtx11extras
at-spi2-core
libsecret libsecret
chrpath chrpath
]; ];

View file

@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
}; };
meta = with lib; { meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme";
platforms = with platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
maintainers = teams.gnome.members; maintainers = teams.gnome.members;
license = licenses.cc-by-sa-30; license = licenses.cc-by-sa-30;

View file

@ -3,12 +3,14 @@
, version, buildPlatform, hostPlatform, targetPlatform , version, buildPlatform, hostPlatform, targetPlatform
, gnat-bootstrap ? null , gnat-bootstrap ? null
, langAda ? false , langAda ? false
, langFortran
, langJava ? false , langJava ? false
, langJit ? false , langJit ? false
, langGo , langGo
, withoutTargetLibc , withoutTargetLibc
, enableShared , enableShared
, enableMultilib , enableMultilib
, pkgsBuildTarget
}: }:
assert langJava -> lib.versionOlder version "7"; assert langJava -> lib.versionOlder version "7";
@ -27,6 +29,15 @@ in lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) ''
export PATH=${gnat-bootstrap}/bin:$PATH export PATH=${gnat-bootstrap}/bin:$PATH
'' ''
# For a cross-built native compiler, i.e. build!=(host==target), the
# bundled libgfortran needs a gfortran which can run on the
# buildPlatform and emit code for the targetPlatform. The compiler
# which is built alongside gfortran in this configuration doesn't
# meet that need: it runs on the hostPlatform.
+ lib.optionalString (langFortran && (with stdenv; buildPlatform != hostPlatform && hostPlatform == targetPlatform)) ''
export GFORTRAN_FOR_TARGET=${pkgsBuildTarget.gfortran}/bin/${stdenv.targetPlatform.config}-gfortran
''
# On x86_64-darwin, the gnat-bootstrap bootstrap compiler that we need to build a # On x86_64-darwin, the gnat-bootstrap bootstrap compiler that we need to build a
# native GCC with Ada support emits assembly that is accepted by the Clang # native GCC with Ada support emits assembly that is accepted by the Clang
# integrated assembler, but not by the GNU assembler in cctools-port that Nix # integrated assembler, but not by the GNU assembler in cctools-port that Nix

View file

@ -27,6 +27,7 @@
, gnused ? null , gnused ? null
, cloog # unused; just for compat with gcc4, as we override the parameter on some places , cloog # unused; just for compat with gcc4, as we override the parameter on some places
, buildPackages , buildPackages
, pkgsBuildTarget
, libxcrypt , libxcrypt
, disableGdbPlugin ? !enablePlugin , disableGdbPlugin ? !enablePlugin
, nukeReferences , nukeReferences
@ -176,6 +177,7 @@ let inherit version;
nukeReferences nukeReferences
patchelf patchelf
perl perl
pkgsBuildTarget
profiledCompiler profiledCompiler
reproducibleBuild reproducibleBuild
staticCompiler staticCompiler

View file

@ -64,6 +64,10 @@ stdenv.mkDerivation (finalAttrs: {
depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross.package; depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross.package;
postPatch = ''
patchShebangs .
'';
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./iana-etc-1.17.patch; src = ./iana-etc-1.17.patch;
@ -88,6 +92,8 @@ stdenv.mkDerivation (finalAttrs: {
GOOS = stdenv.targetPlatform.parsed.kernel.name; GOOS = stdenv.targetPlatform.parsed.kernel.name;
GOARCH = goarch stdenv.targetPlatform; GOARCH = goarch stdenv.targetPlatform;
# GOHOSTOS/GOHOSTARCH must match the building system, not the host system. # GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
# Go will nevertheless build a for host system that we will copy over in
# the install phase.
GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name; GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
GOHOSTARCH = goarch stdenv.buildPlatform; GOHOSTARCH = goarch stdenv.buildPlatform;
@ -110,16 +116,14 @@ stdenv.mkDerivation (finalAttrs: {
GOROOT_BOOTSTRAP = if useGccGoBootstrap then goBootstrap else "${goBootstrap}/share/go"; GOROOT_BOOTSTRAP = if useGccGoBootstrap then goBootstrap else "${goBootstrap}/share/go";
# Note that we use distpack to avoid moving around cross-compiled binaries.
# The paths are slightly different when buildPlatform != hostPlatform and
# distpack handles assembling outputs in the right place, same as the official
# Go binary releases. See also https://pkg.go.dev/cmd/distpack
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
export GOCACHE=$TMPDIR/go-cache export GOCACHE=$TMPDIR/go-cache
# this is compiled into the binary # this is compiled into the binary
export GOROOT_FINAL=$out/share/go export GOROOT_FINAL=$out/share/go
export PATH=$(pwd)/bin:$PATH
${lib.optionalString isCross '' ${lib.optionalString isCross ''
# Independent from host/target, CC should produce code for the building system. # Independent from host/target, CC should produce code for the building system.
# We only set it when cross-compiling. # We only set it when cross-compiling.
@ -128,16 +132,34 @@ stdenv.mkDerivation (finalAttrs: {
ulimit -a ulimit -a
pushd src pushd src
bash make.bash -no-banner -distpack ./make.bash
popd popd
runHook postBuild runHook postBuild
''; '';
preInstall = ''
# Contains the wrong perl shebang when cross compiling,
# since it is not used for anything we can deleted as well.
rm src/regexp/syntax/make_perl_groups.pl
'' + (if (stdenv.buildPlatform.system != stdenv.hostPlatform.system) then ''
mv bin/*_*/* bin
rmdir bin/*_*
${lib.optionalString (!(finalAttrs.GOHOSTARCH == finalAttrs.GOARCH && finalAttrs.GOOS == finalAttrs.GOHOSTOS)) ''
rm -rf pkg/${finalAttrs.GOHOSTOS}_${finalAttrs.GOHOSTARCH} pkg/tool/${finalAttrs.GOHOSTOS}_${finalAttrs.GOHOSTARCH}
''}
'' else lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system) ''
rm -rf bin/*_*
${lib.optionalString (!(finalAttrs.GOHOSTARCH == finalAttrs.GOARCH && finalAttrs.GOOS == finalAttrs.GOHOSTOS)) ''
rm -rf pkg/${finalAttrs.GOOS}_${finalAttrs.GOARCH} pkg/tool/${finalAttrs.GOOS}_${finalAttrs.GOARCH}
''}
'');
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/{share,bin} mkdir -p $GOROOT_FINAL
tar -C $out/share -x -z -f "pkg/distpack/go${finalAttrs.version}.$GOOS-$GOARCH.tar.gz" cp -a bin pkg src lib misc api doc go.env $GOROOT_FINAL
ln -s $out/share/go/bin/* $out/bin mkdir -p $out/bin
ln -s $GOROOT_FINAL/bin/* $out/bin
runHook postInstall runHook postInstall
''; '';

View file

@ -11,17 +11,17 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "unison-code-manager"; pname = "unison-code-manager";
version = "M5e"; version = "M5g";
src = if stdenv.isDarwin then src = if stdenv.isDarwin then
fetchurl { fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz"; url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz";
hash = "sha256-jg8/DmIJru2OKZu5WfA7fatKcburPiXnoALifxL26kc="; hash = "sha256-4E/8CfWmD+IVeXBqcTE74k2HZtk9dt/4G9GqBjVhtWo=";
} }
else else
fetchurl { fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz"; url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz";
hash = "sha256-+2dIxqf9b8DfoTUakxA6Qrpb7cAQKCventxDS1sFxjM="; hash = "sha256-Gl447CSuLgEPPHzgxPTIC8QXGgk/1moNqFU+Phv6e/U=";
}; };
# The tarball is just the prebuilt binary, in the archive root. # The tarball is just the prebuilt binary, in the archive root.

View file

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, guile , guile
, libssh , libssh
, autoreconfHook , autoreconfHook
@ -9,43 +10,57 @@
, which , which
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "guile-ssh"; pname = "guile-ssh";
version = "0.16.3"; version = "0.16.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "artyom-poptsov"; owner = "artyom-poptsov";
repo = pname; repo = "guile-ssh";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-P29U88QrCjoyl/wdTPZbiMoykd/v6ul6CW/IJn9UAyw="; hash = "sha256-P29U88QrCjoyl/wdTPZbiMoykd/v6ul6CW/IJn9UAyw=";
}; };
configureFlags = [ "--with-guilesitedir=\${out}/${guile.siteDir}" ]; patches = [
(fetchpatch {
url = "https://github.com/artyom-poptsov/guile-ssh/pull/31/commits/38636c978f257d5228cd065837becabf5da16854.patch";
hash = "sha256-J+TDgdjihKoEjhbeH+BzqrHhjpVlGdscRj3L/GAFgKg=";
})
];
postFixup = '' strictDeps = true;
for f in $out/${guile.siteDir}/ssh/**.scm; do \
substituteInPlace $f \
--replace "libguile-ssh" "$out/lib/libguile-ssh"; \
done
'';
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook pkg-config texinfo which autoreconfHook
guile
pkg-config
texinfo
which
]; ];
buildInputs = [ buildInputs = [
guile guile
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
libssh libssh
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;
# FAIL: server-client.scm
doCheck = !stdenv.isDarwin;
postInstall = ''
mv $out/bin/*.scm $out/share/guile-ssh
rmdir $out/bin
'';
meta = with lib; { meta = with lib; {
description = "Bindings to Libssh for GNU Guile"; description = "Bindings to Libssh for GNU Guile";
homepage = "https://github.com/artyom-poptsov/guile-ssh"; homepage = "https://github.com/artyom-poptsov/guile-ssh";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ ethancedwards8 ]; maintainers = with maintainers; [ ethancedwards8 foo-dogsquared ];
platforms = guile.meta.platforms; platforms = guile.meta.platforms;
}; };
} })

View file

@ -2,17 +2,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wasmtime"; pname = "wasmtime";
version = "12.0.1"; version = "13.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bytecodealliance"; owner = "bytecodealliance";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-4h+c5ke4MZuIMiCaLBt6RsRe9PWAn6VqW2Z6Wnh7X30="; hash = "sha256-D8Osn/vlPr9eg5F8O0K/eC/M0prHQM7U96k8Cx9D1/4=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoHash = "sha256-SG/SFskr6ywCtJu2WVWTJC9GUKJJB0fUb+hZUaxag0M="; cargoHash = "sha256-nFKk6T3S86lPxn/JCEid2Xd9c5zQPOMFcKTi6eM89uE=";
cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ]; cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ];
cargoPatches = [ cargoPatches = [

View file

@ -1,6 +0,0 @@
{ callPackage, ... } @ args:
callPackage ./generic-v3.nix ({
version = "3.17.3";
sha256 = "08644kaxhpjs38q5q4fp01yr0wakg1ijha4g3lzp2ifg7y3c465d";
} // args)

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "maestro"; pname = "maestro";
version = "1.32.0"; version = "1.33.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro.zip"; url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro.zip";
sha256 = "1bhyg0w6dwgba0ykk898dxs661imcx2s6si3ldwgg01pmxpcsm30"; sha256 = "0xv7kbnr3q7w3lvlhwqwbpxz18wsb22k51xrq2dp73wdqk3jd36v";
}; };
dontUnpack = true; dontUnpack = true;

View file

@ -23,7 +23,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aesara"; pname = "aesara";
version = "2.9.1"; version = "2.9.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -32,7 +32,7 @@ buildPythonPackage rec {
owner = "aesara-devs"; owner = "aesara-devs";
repo = "aesara"; repo = "aesara";
rev = "refs/tags/rel-${version}"; rev = "refs/tags/rel-${version}";
hash = "sha256-eanFkEiuPzm4InLd9dFmoLs/IOofObn9NIzaqzINdMQ="; hash = "sha256-6SZHr81OiqzKh977RrJtrDvFlAIjguK+1imP3bjxhS8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -2,9 +2,7 @@
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , pdm-backend
, pdm
, python3
, pyvcd , pyvcd
, jinja2 , jinja2
, importlib-resources , importlib-resources
@ -34,13 +32,12 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
git git
pdm-backend
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
jinja2 jinja2
pdm
pyvcd pyvcd
python3.pkgs.pdm-backend
] ++ ] ++
lib.optional (pythonOlder "3.9") importlib-resources ++ lib.optional (pythonOlder "3.9") importlib-resources ++
lib.optional (pythonOlder "3.8") importlib-metadata; lib.optional (pythonOlder "3.8") importlib-metadata;

View file

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "appthreat-vulnerability-db"; pname = "appthreat-vulnerability-db";
version = "5.4.2"; version = "5.4.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "AppThreat"; owner = "AppThreat";
repo = "vulnerability-db"; repo = "vulnerability-db";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-S0ebTM7X21Lny9Y1JG7ztv/H5gUjxXxNOQIIBTGFB7c="; hash = "sha256-hALpNLXPg2Apha3KbEixFEH3NuzLe6lnEy9V5otskDM=";
}; };
postPatch = '' postPatch = ''

View file

@ -5,14 +5,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "art"; pname = "art";
version = "6.0"; version = "6.1";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sepandhaghighi"; owner = "sepandhaghighi";
repo = "art"; repo = "art";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-ZF7UvqJU7KxNccMXL7tsL/s5KYpgGeGqaEATHo4WyNI="; hash = "sha256-RJexYOGWwAwxQ7lWGgXzFSR2aly1twB9pC4QFs5m7k8=";
}; };
pythonImportsCheck = [ "art" ]; pythonImportsCheck = [ "art" ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "garminconnect"; pname = "garminconnect";
version = "0.2.6"; version = "0.2.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "cyberjunky"; owner = "cyberjunky";
repo = "python-garminconnect"; repo = "python-garminconnect";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-e/6fq9PkrfX2dz+QfgyKft6difkXfoj40WWiyK6h0n4="; hash = "sha256-hyrj3icj5QxXf9NDk/x7bocFg6iD+KEDZNcpZVBEx4k=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -12,7 +12,6 @@
, numpy , numpy
, opt-einsum , opt-einsum
, pytestCheckHook , pytestCheckHook
, pytest-xdist
, pythonOlder , pythonOlder
, scipy , scipy
, stdenv , stdenv
@ -62,18 +61,13 @@ buildPythonPackage rec {
jaxlib' jaxlib'
matplotlib matplotlib
pytestCheckHook pytestCheckHook
pytest-xdist
]; ];
# high parallelism will result in the tests getting stuck
dontUsePytestXdist = true;
# NOTE: Don't run the tests in the expiremental directory as they require flax # NOTE: Don't run the tests in the expiremental directory as they require flax
# which creates a circular dependency. See https://discourse.nixos.org/t/how-to-nix-ify-python-packages-with-circular-dependencies/14648/2. # which creates a circular dependency. See https://discourse.nixos.org/t/how-to-nix-ify-python-packages-with-circular-dependencies/14648/2.
# Not a big deal, this is how the JAX docs suggest running the test suite # Not a big deal, this is how the JAX docs suggest running the test suite
# anyhow. # anyhow.
pytestFlagsArray = [ pytestFlagsArray = [
"--numprocesses=4"
"-W ignore::DeprecationWarning" "-W ignore::DeprecationWarning"
"tests/" "tests/"
]; ];

View file

@ -66,10 +66,14 @@ in buildPythonPackage rec {
--replace 'include(googletest)' "" --replace 'include(googletest)' ""
substituteInPlace cmake/unittest.cmake \ substituteInPlace cmake/unittest.cmake \
--replace 'googletest)' ')' --replace 'googletest)' ')'
'' + lib.optionalString stdenv.isLinux ''
# remove this override in 1.15 that will enable to set the CMAKE_CXX_STANDARD with cmakeFlags # remove this override in 1.15 that will enable to set the CMAKE_CXX_STANDARD with cmakeFlags
substituteInPlace CMakeLists.txt \ substituteInPlace CMakeLists.txt \
--replace 'CMAKE_CXX_STANDARD 11' 'CMAKE_CXX_STANDARD 17' --replace 'CMAKE_CXX_STANDARD 11' 'CMAKE_CXX_STANDARD 17'
'' + lib.optionalString stdenv.isDarwin ''
# remove this override in 1.15 that will enable to set the CMAKE_CXX_STANDARD with cmakeFlags
substituteInPlace CMakeLists.txt \
--replace 'CMAKE_CXX_STANDARD 11' 'CMAKE_CXX_STANDARD 14'
''; '';
preConfigure = '' preConfigure = ''

View file

@ -6,7 +6,7 @@
, icu70 , icu70
, libkrb5 , libkrb5
, lttng-ust , lttng-ust
, openssl_1_1 , openssl
, zlib , zlib
, azure-static-sites-client , azure-static-sites-client
# "latest", "stable" or "backup" # "latest", "stable" or "backup"
@ -37,9 +37,9 @@ stdenv.mkDerivation {
buildInputs = [ buildInputs = [
curl curl
icu70 icu70
openssl_1_1
libkrb5 libkrb5
lttng-ust lttng-ust
openssl
stdenv.cc.cc.lib stdenv.cc.cc.lib
zlib zlib
]; ];
@ -58,7 +58,7 @@ stdenv.mkDerivation {
patchelf --add-needed 'libgssapi_krb5.so' \ patchelf --add-needed 'libgssapi_krb5.so' \
--add-needed 'liblttng-ust.so' \ --add-needed 'liblttng-ust.so' \
--add-needed 'libssl.so.1.1' \ --add-needed 'libssl.so.3' \
"$out/bin/StaticSitesClient" "$out/bin/StaticSitesClient"
runHook postInstall runHook postInstall

View file

@ -1,58 +1,58 @@
[ [
{ {
"version": "latest", "version": "latest",
"buildId": "1.0.023121", "buildId": "1.0.024471",
"publishDate": "2023-05-01T20:32:05.431065Z", "publishDate": "2023-09-13T13:29:09.6126059Z",
"files": { "files": {
"linux-x64": { "linux-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023121/linux/StaticSitesClient", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.024471/linux/StaticSitesClient",
"sha": "99c8b876922587ee0729d103ba5509ae88ec6b457c2d7d7bf69da26b1428ef6b" "sha": "5f96bf5b6d192703f340c76cd664eb12a1f5752ecf7783428bf0b16d6d6f4c84"
}, },
"win-x64": { "win-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023121/windows/StaticSitesClient.exe", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.024471/windows/StaticSitesClient.exe",
"sha": "7c24aa28e7e9758a08ee6a33fa085e46d4b92101b5396e78a1eba218853aff76" "sha": "b2f76fd169ca61e82576e88797c5414d5ee308bc368baa60ad2ac731bb157af9"
}, },
"osx-x64": { "osx-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023121/macOS/StaticSitesClient", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.024471/macOS/StaticSitesClient",
"sha": "cf2d799edcd87aeb4e9cab83bf8906770c1d05277130131740b50a95e31786f7" "sha": "3fab8406268e51c3c1060b6c0fcc13a6cfa4d1335624c871719430b50d3fe2aa"
} }
} }
}, },
{ {
"version": "stable", "version": "stable",
"buildId": "1.0.023121", "buildId": "1.0.023911",
"publishDate": "2023-05-01T20:32:05.431065Z", "publishDate": "2023-07-19T16:29:13.2087179Z",
"files": { "files": {
"linux-x64": { "linux-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023121/linux/StaticSitesClient", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023911/linux/StaticSitesClient",
"sha": "99c8b876922587ee0729d103ba5509ae88ec6b457c2d7d7bf69da26b1428ef6b" "sha": "b3073cc39bc362b3838512b3b5f3b3af3a6b1c6f768c323592cd88dc5527046f"
}, },
"win-x64": { "win-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023121/windows/StaticSitesClient.exe", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023911/windows/StaticSitesClient.exe",
"sha": "7c24aa28e7e9758a08ee6a33fa085e46d4b92101b5396e78a1eba218853aff76" "sha": "5f9548aa7f0060f9fce6abdaddea23d5e970e76ce54f1213df6a133764e56337"
}, },
"osx-x64": { "osx-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023121/macOS/StaticSitesClient", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023911/macOS/StaticSitesClient",
"sha": "cf2d799edcd87aeb4e9cab83bf8906770c1d05277130131740b50a95e31786f7" "sha": "515b60de77132cacc5ef355cc654eaf2a2c3c1ab1ec1d071f6b8ed3062d8ea4e"
} }
} }
}, },
{ {
"version": "backup", "version": "backup",
"buildId": "1.0.022851", "buildId": "1.0.023911",
"publishDate": "2023-04-04T18:55:18.5999465Z", "publishDate": "2023-07-19T16:29:13.2087179Z",
"files": { "files": {
"linux-x64": { "linux-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.022851/linux/StaticSitesClient", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023911/linux/StaticSitesClient",
"sha": "dbbf2785549d2e002f69057c54d4df378c1e52e5e564d484f6871440ef336689" "sha": "b3073cc39bc362b3838512b3b5f3b3af3a6b1c6f768c323592cd88dc5527046f"
}, },
"win-x64": { "win-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.022851/windows/StaticSitesClient.exe", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023911/windows/StaticSitesClient.exe",
"sha": "a3d37f5793ce433ba8cd7743285d9e6f9c0174c2d09c530483a6a50f8a448637" "sha": "5f9548aa7f0060f9fce6abdaddea23d5e970e76ce54f1213df6a133764e56337"
}, },
"osx-x64": { "osx-x64": {
"url": "https://swalocaldeploy.azureedge.net/downloads/1.0.022851/macOS/StaticSitesClient", "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.023911/macOS/StaticSitesClient",
"sha": "9de09ad2b000c6943a8103c323e95a0fb8fea1a3c2bd406859cc59b4b6cec548" "sha": "515b60de77132cacc5ef355cc654eaf2a2c3c1ab1ec1d071f6b8ed3062d8ea4e"
} }
} }
} }

View file

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jenkins"; pname = "jenkins";
version = "2.414.1"; version = "2.414.2";
src = fetchurl { src = fetchurl {
url = "https://get.jenkins.io/war-stable/${version}/jenkins.war"; url = "https://get.jenkins.io/war-stable/${version}/jenkins.war";
hash = "sha256-8lI/m1/lAZn2j2D5a2vvnKEA4YCZ4+PaeppJroxHsBU="; hash = "sha256-kiu/Ymn92tYUu2VAJB7QzlUjpKUyginhX157t//VZbg=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View file

@ -13,23 +13,23 @@ let
sass-language = fetchFromGitHub { sass-language = fetchFromGitHub {
owner = "sass"; owner = "sass";
repo = "sass"; repo = "sass";
rev = "refs/tags/embedded-protocol-2.0.0"; rev = "refs/tags/embedded-protocol-2.2.0";
hash = "sha256-3qk3XbI/DpNj4oa/3ar5hqEY8LNmQsokinuKt4xV7ck="; hash = "sha256-rSjhQZnLL4UXhp8rBIcaEtQyE81utTfljJTkyhQW5wA=";
}; };
in in
buildDartApplication rec { buildDartApplication rec {
pname = "dart-sass"; pname = "dart-sass";
version = "1.66.1"; version = "1.68.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sass"; owner = "sass";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-2bqYoWG8xGh7HGZyCPLNz/ZWXH29Be12YfYgGTCIVx8="; hash = "sha256-Q7pXYcEOqROxVMw5irB23i44PwhFz7YWBVJcftzu998=";
}; };
pubspecLockFile = ./pubspec.lock; pubspecLockFile = ./pubspec.lock;
vendorHash = "sha256-oLHHKV5tTgEkCzqRscBXMNafKg4jdH2U9MhVY/Myfv4="; vendorHash = "sha256-ypKiiLW4Zr0rhTLTXzOoRqZsFC3nGzqUhPFdKKIWDmk=";
nativeBuildInputs = [ nativeBuildInputs = [
buf buf

View file

@ -21,10 +21,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: archive name: archive
sha256: "0c8368c9b3f0abbc193b9d6133649a614204b528982bebc7026372d61677ce3a" sha256: e0902a06f0e00414e4e3438a084580161279f137aeb862274710f29ec10cf01e
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.3.7" version: "3.3.9"
args: args:
dependency: "direct main" dependency: "direct main"
description: description:
@ -145,6 +145,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.3.0" version: "6.3.0"
ffi:
dependency: transitive
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
file: file:
dependency: transitive dependency: transitive
description: description:
@ -277,10 +285,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: meta name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.9.1" version: "1.10.0"
mime: mime:
dependency: transitive dependency: transitive
description: description:
@ -289,6 +297,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.4" version: "1.0.4"
native_synchronization:
dependency: "direct main"
description:
name: native_synchronization
sha256: ff200fe0a64d733ff7d4dde2005271c297db81007604c8cd21037959858133ab
url: "https://pub.dev"
source: hosted
version: "0.2.0"
node_interop: node_interop:
dependency: "direct main" dependency: "direct main"
description: description:
@ -597,10 +613,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: webkit_inspection_protocol name: webkit_inspection_protocol
sha256: "67d3a8b6c79e1987d19d848b0892e582dbb0c66c57cc1fef58a177dd2aa2823d" sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.2.0" version: "1.2.1"
xml: xml:
dependency: transitive dependency: transitive
description: description:

View file

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rsonpath"; pname = "rsonpath";
version = "0.8.0"; version = "0.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "v0ldek"; owner = "v0ldek";
repo = "rsonpath"; repo = "rsonpath";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-WrapSvWoaBVxlpCxau70Et5K9tRs84xsXBDWsuoFI+E="; hash = "sha256-xLDKTvlKPhJhGPmLmKaoTnzGABEgOU/qNDODJDlqmHs=";
}; };
cargoHash = "sha256-fGu6eypizOGHCiyAeH7nCLHyfVLMBPNU1xmqfVGhSzw="; cargoHash = "sha256-lZ4A35WwQws39OJXePdoxItHYAE8EvqTLX7i8r7fW4o=";
cargoBuildFlags = [ "-p=rsonpath" ]; cargoBuildFlags = [ "-p=rsonpath" ];
cargoTestFlags = cargoBuildFlags; cargoTestFlags = cargoBuildFlags;

View file

@ -1,5 +1,5 @@
{ lib { lib
, buildGoModule , buildGo121Module
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, nodejs , nodejs
@ -9,18 +9,18 @@
, runme , runme
}: }:
buildGoModule rec { buildGo121Module rec {
pname = "runme"; pname = "runme";
version = "1.7.3"; version = "1.7.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stateful"; owner = "stateful";
repo = "runme"; repo = "runme";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-3NCD9kagcxW8Ahet20imFYqo3G7nkR1iPM0C5tQX72o="; hash = "sha256-0WqyX2vpGoDjsltJJjR2zAi+Iq5l1Ugv/koEA+ycq1U=";
}; };
vendorHash = "sha256-sGk2K0I9onGFpDwboRugNHjFictisY4Q0NTNnOT3BW4="; vendorHash = "sha256-vfLLL/sV8Jg/QE4oT45XLXAwvlLep3ehtPwXbpwo5PQ=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

File diff suppressed because it is too large Load diff

View file

@ -10,13 +10,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-shuttle"; pname = "cargo-shuttle";
version = "0.26.0"; version = "0.27.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "shuttle-hq"; owner = "shuttle-hq";
repo = "shuttle"; repo = "shuttle";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-O6erIv+6DbxioB4F1Mfaj51zSswQErcUuFdA+A7DQRA="; hash = "sha256-IjalWQtO0UkLs9dsoXVAKsCblXxqtoNllAT9fms25h0=";
}; };
cargoLock = { cargoLock = {

View file

@ -27,12 +27,12 @@ rec {
stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest; stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
production = generic { production = generic {
version = "535.104.05"; version = "535.113.01";
sha256_64bit = "sha256-L51gnR2ncL7udXY2Y1xG5+2CU63oh7h8elSC4z/L7ck="; sha256_64bit = "sha256-KOME2N/oG39en2BAS/OMYvyjVXjZdSLjxwoOjyMWdIE=";
sha256_aarch64 = "sha256-J4uEQQ5WK50rVTI2JysBBHLpmBEWQcQ0CihgEM6xuvk="; sha256_aarch64 = "sha256-mw/p5ELGTNcM4P94soJIGqpLMBJHSPf+z9qsGnISuCk=";
openSha256 = "sha256-0ng4hyiUt0rHZkNveFTo+dSaqkMFO4UPXh85/js9Zbw="; openSha256 = "sha256-SePRFb5S2T0pOmkSGflYfJkJBjG3Dx/Z0MjwnWccfcI=";
settingsSha256 = "sha256-pS9W5LMenX0Rrwmpg1cszmpAYPt0Mx+apVQmOmLWTog="; settingsSha256 = "sha256-hiX5Nc4JhiYYt0jaRgQzfnmlEQikQjuO0kHnqGdDa04=";
persistencedSha256 = "sha256-uqT++w0gZRNbzyqbvP3GBqgb4g18r6VM3O8AMEfM7GU="; persistencedSha256 = "sha256-V5Wu8a7EhwZarGsflAhEQDE9s9PjuQ3JNMU1nWvNNsQ=";
}; };
latest = selectHighestVersion production (generic { latest = selectHighestVersion production (generic {
@ -109,7 +109,7 @@ rec {
# source: https://gist.github.com/joanbm/2ec3c512a1ac21f5f5c6b3c1a4dbef35 # source: https://gist.github.com/joanbm/2ec3c512a1ac21f5f5c6b3c1a4dbef35
(fetchpatch { (fetchpatch {
url = "https://gist.github.com/joanbm/2ec3c512a1ac21f5f5c6b3c1a4dbef35/raw/615feaefed2de3a28bd12fe9783894b84a7c86e4/nvidia-470xx-fix-linux-6.6.patch"; url = "https://gist.github.com/joanbm/2ec3c512a1ac21f5f5c6b3c1a4dbef35/raw/615feaefed2de3a28bd12fe9783894b84a7c86e4/nvidia-470xx-fix-linux-6.6.patch";
hash = "sha256-pOYlL5wYfeJsq9EX8zhn/CkNm4ZocNSns5N5pAuIuow="; hash = "sha256-gdV+a+JFzQX8MzRz9eb4gVbnOfTWN+Ds9sOeyIBN5y0=";
}) })
]; ];
}; };

View file

@ -4,9 +4,9 @@
"sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A=" "sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A="
}, },
"invidious": { "invidious": {
"rev": "1377f2ce7d0a8fed716e8e285902bfbfef1a17e0", "rev": "bb14f794969f62582917a39c2dd57bf92fa146a7",
"sha256": "sha256-ro5XneQqKGOfR7UZrowiht5V45s7EgkpbJiyBoLcnBo=", "sha256": "sha256-UX66SBscxvjl0rUHmJko12HXo5+ckKvoOfNtCIVrjXY=",
"version": "unstable-2023-08-25" "version": "unstable-2023-09-18"
}, },
"lsquic": { "lsquic": {
"sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=", "sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=",

View file

@ -3,8 +3,8 @@
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mastodon"; owner = "mastodon";
repo = "mastodon"; repo = "mastodon";
rev = "v4.1.8"; rev = "v4.1.9";
hash = "sha256-L4ikr270hXpTgh9DAyN9c5wzj/93urulcG9bTxwNOFw="; hash = "sha256-xpE/mg2AeioW6NThUjLS+SBxGavG4w1xtp3BOMADfYo=";
}; };
in applyPatches { in applyPatches {
inherit src; inherit src;

View file

@ -1 +1 @@
"4.1.8" "4.1.9"

View file

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "mediamtx"; pname = "mediamtx";
version = "1.0.3"; version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bluenviron"; owner = "bluenviron";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-7DuQkTGBB4yL4ZxufQ6v1qm8icuCyzihgX/a94NE5lo="; hash = "sha256-XD7m6vp7Xu/Fmtv9smzz+zwVosP8UAOUkE+6KRAfVMQ=";
}; };
vendorHash = "sha256-UBbkCOfvMHxCJa2gaxEZtFIjWNC+r+PJXHewSvkC4Uc="; vendorHash = "sha256-Mnyc7PL6nUyoCnS6Mm+EGsxV8ciq0x4GXdbwslOs9hw=";
# Tests need docker # Tests need docker
doCheck = false; doCheck = false;

View file

@ -28,9 +28,10 @@ if [ ! "${oldVersion}" = "${targetVersion}" ]; then
update-source-version grafana "${targetVersion#v}" update-source-version grafana "${targetVersion#v}"
oldStaticHash="$(nix-instantiate --eval -A grafana.srcStatic.outputHash | tr -d '"')" oldStaticHash="$(nix-instantiate --eval -A grafana.srcStatic.outputHash | tr -d '"')"
newStaticHash="$(nix-prefetch-url "https://dl.grafana.com/oss/release/grafana-${targetVersion#v}.linux-amd64.tar.gz")" newStaticHash="$(nix-prefetch-url "https://dl.grafana.com/oss/release/grafana-${targetVersion#v}.linux-amd64.tar.gz")"
newStaticHash="$(nix hash to-sri --type sha256 $newStaticHash)"
replaceHash "$oldStaticHash" "$newStaticHash" replaceHash "$oldStaticHash" "$newStaticHash"
goHash="$(nix-instantiate --eval -A grafana.vendorSha256 | tr -d '"')" goHash="$(nix-instantiate --eval -A grafana.vendorHash | tr -d '"')"
emptyHash="$(nix-instantiate --eval -A lib.fakeSha256 | tr -d '"')" emptyHash="$(nix-instantiate --eval -A lib.fakeHash | tr -d '"')"
replaceHash "$goHash" "$emptyHash" replaceHash "$goHash" "$emptyHash"
replaceHash "$emptyHash" "$(extractVendorHash "$goHash")" replaceHash "$emptyHash" "$(extractVendorHash "$goHash")"
nix-build -A grafana nix-build -A grafana

View file

@ -60,20 +60,20 @@ in {
''; '';
nextcloud25 = generic { nextcloud25 = generic {
version = "25.0.11"; version = "25.0.12";
hash = "sha256-UkOCknG6t9uN8ry3dGZ0y7DS3KlQu7mS5K6UO+N+rtE="; hash = "sha256-UgMYQkEdh7hjL47EEq14y0K9VIi+LT77/OSmhRykTYw=";
packages = nextcloud25Packages; packages = nextcloud25Packages;
}; };
nextcloud26 = generic { nextcloud26 = generic {
version = "26.0.6"; version = "26.0.7";
hash = "sha256-LKyP2S0kgjDc0Ea7u0RGmyIPWLAQ5j+V2APZhXVer2Y="; hash = "sha256-vtJEqLlNE7YWqSdAUhZwwdZ9Q8SAR3I/sTGAv/bUjpI=";
packages = nextcloud26Packages; packages = nextcloud26Packages;
}; };
nextcloud27 = generic { nextcloud27 = generic {
version = "27.1.0"; version = "27.1.1";
hash = "sha256-wxZwWeacUXt64H87sLgyQz0yRnWFkIH+lT6kG8ffEkI="; hash = "sha256-OpFQBWaHRnVnb6O1v64lh6g5zeQd+sUxgEOxYsExH6s=";
packages = nextcloud27Packages; packages = nextcloud27Packages;
}; };

View file

@ -16,16 +16,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "broot"; pname = "broot";
version = "1.25.1"; version = "1.25.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Canop"; owner = "Canop";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-CgWng5b0w6LGt2m9bx3IVMxOXwqYjgsIddTQdBnN/IY="; hash = "sha256-VN78nFMn2+EN1Zwh8t9ptge3ko0kjsiJJCcz+RDBxaA=";
}; };
cargoHash = "sha256-xcUDg2vfGq4nmdbN6kFfWwbwaH/WqdLpIO0qrvQ7/t4="; cargoHash = "sha256-IR7AOefx5Ly1G0UM3UhNOE2pYcZNmNRdiYNH48eAKXs=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

View file

@ -64,7 +64,7 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/eza-community/eza/releases/tag/v${version}"; changelog = "https://github.com/eza-community/eza/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
mainProgram = "eza"; mainProgram = "eza";
maintainers = with maintainers; [ cafkafk ]; maintainers = with maintainers; [ cafkafk _9glenda ];
platforms = platforms.unix ++ platforms.windows; platforms = platforms.unix ++ platforms.windows;
}; };
} }

View file

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "interactsh"; pname = "interactsh";
version = "1.1.6"; version = "1.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "projectdiscovery"; owner = "projectdiscovery";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-cSqDiJEJdtHwL/xumZPOp1JHg7SUZ/47nKFv4bWBo5U="; hash = "sha256-9mUyVFm/UZw0bQkI3JumFoyzYBz7X6m1YLdpEsypb7s=";
}; };
vendorHash = "sha256-xtV+QLheWU6RJSjmoOunrsOfUhNCDWJORQDBAmJd2Io="; vendorHash = "sha256-C4tlyvKQ2sG6uqbO06eT9E72JCPc44PhFAcek+O8sN4=";
modRoot = "."; modRoot = ".";
subPackages = [ subPackages = [

View file

@ -1,5 +1,9 @@
{ lib, stdenv, fetchFromGitHub { lib
, stdenv
, fetchFromGitHub
, libpcap , libpcap
, testers
, ubridge
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -21,10 +25,22 @@ stdenv.mkDerivation rec {
buildInputs = [ libpcap ]; buildInputs = [ libpcap ];
preInstall = '' installPhase = ''
runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
install -Dm755 ubridge $out/bin/ubridge
runHook postInstall
''; '';
passthru = {
tests.version = testers.testVersion {
package = ubridge;
command = "ubridge -v";
};
};
meta = with lib; { meta = with lib; {
description = "Bridge for UDP tunnels, Ethernet, TAP, and VMnet interfaces"; description = "Bridge for UDP tunnels, Ethernet, TAP, and VMnet interfaces";
longDescription = '' longDescription = ''
@ -35,7 +51,8 @@ stdenv.mkDerivation rec {
inherit (src.meta) homepage; inherit (src.meta) homepage;
changelog = "https://github.com/GNS3/ubridge/releases/tag/v${version}"; changelog = "https://github.com/GNS3/ubridge/releases/tag/v${version}";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; mainProgram = "ubridge";
maintainers = with maintainers; [ primeos ]; maintainers = with maintainers; [ primeos ];
platforms = platforms.linux ++ platforms.darwin;
}; };
} }

View file

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kubeclarity"; pname = "kubeclarity";
version = "2.19.0"; version = "2.21.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openclarity"; owner = "openclarity";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-ua9BmQh5NacxmcgiwnaJ8avjuR6ZrG3ilx11dF+tDWs="; hash = "sha256-aTbad1w/8ywBbZKA0PIbY18K1fUikXZ8VLFKsX7JI6g=";
}; };
vendorHash = "sha256-XXjKkq5bFf8iFhBLJ3xYHuNWctP3Qo5Gqo/gfZQF/n8="; vendorHash = "sha256-rpP+3x/+e5PxyRL+IR2k3OEOSkm5341oScqRm+EdFUI=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View file

@ -4,9 +4,9 @@ version = 3
[[package]] [[package]]
name = "aho-corasick" name = "aho-corasick"
version = "1.0.5" version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" checksum = "ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
@ -146,9 +146,9 @@ dependencies = [
[[package]] [[package]]
name = "insta" name = "insta"
version = "1.31.0" version = "1.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0770b0a3d4c70567f0d58331f3088b0e4c4f56c9b8d764efe654b4a5d46de3a" checksum = "a3e02c584f4595792d09509a94cdb92a3cef7592b1eb2d9877ee6f527062d0ea"
dependencies = [ dependencies = [
"console", "console",
"lazy_static", "lazy_static",
@ -180,9 +180,9 @@ checksum = "baff4b617f7df3d896f97fe922b64817f6cd9a756bb81d40f8883f2f66dcb401"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.147" version = "0.2.148"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b"
[[package]] [[package]]
name = "linked-hash-map" name = "linked-hash-map"
@ -232,9 +232,9 @@ checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.66" version = "1.0.67"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]
@ -309,7 +309,7 @@ checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.32", "syn 2.0.37",
] ]
[[package]] [[package]]
@ -358,9 +358,9 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.11.0" version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a"
[[package]] [[package]]
name = "syn" name = "syn"
@ -375,9 +375,9 @@ dependencies = [
[[package]] [[package]]
name = "syn" name = "syn"
version = "2.0.32" version = "2.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2" checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -448,7 +448,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.32", "syn 2.0.37",
] ]
[[package]] [[package]]
@ -504,7 +504,7 @@ dependencies = [
[[package]] [[package]]
name = "typstfmt" name = "typstfmt"
version = "0.2.4" version = "0.2.5"
dependencies = [ dependencies = [
"lexopt", "lexopt",
"typstfmt_lib", "typstfmt_lib",
@ -512,7 +512,7 @@ dependencies = [
[[package]] [[package]]
name = "typstfmt_lib" name = "typstfmt_lib"
version = "0.2.4" version = "0.2.5"
dependencies = [ dependencies = [
"globmatch", "globmatch",
"insta", "insta",
@ -585,9 +585,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]] [[package]]
name = "winapi-util" name = "winapi-util"
version = "0.1.5" version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
dependencies = [ dependencies = [
"winapi", "winapi",
] ]

View file

@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "typstfmt"; pname = "typstfmt";
version = "0.2.4"; version = "0.2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "astrale-sharp"; owner = "astrale-sharp";
repo = "typstfmt"; repo = "typstfmt";
rev = version; rev = version;
hash = "sha256-d0vlZqg0RcRvZM7xYdMLX2/UeolUbqZ9H4drJRRKBmc="; hash = "sha256-+iQOS+WPCWevUFurLfuC5mhuRdJ/1ZsekFoFDzZviag=";
}; };
cargoLock = { cargoLock = {

View file

@ -13415,8 +13415,6 @@ with pkgs;
sunwait = callPackage ../applications/misc/sunwait { }; sunwait = callPackage ../applications/misc/sunwait { };
sunpaper = callPackage ../tools/X11/sunpaper { };
surface-control = callPackage ../applications/misc/surface-control { }; surface-control = callPackage ../applications/misc/surface-control { };
syntex = callPackage ../tools/graphics/syntex { }; syntex = callPackage ../tools/graphics/syntex { };
@ -31671,7 +31669,10 @@ with pkgs;
gpg-mdp = callPackage ../applications/misc/gpg-mdp { }; gpg-mdp = callPackage ../applications/misc/gpg-mdp { };
greenfoot = callPackage ../applications/editors/greenfoot { greenfoot = callPackage ../applications/editors/greenfoot {
jdk = jetbrains.jdk; openjdk = openjdk17.override {
enableJavaFX = true;
openjfx = openjfx17.override { withWebKit = true; };
};
}; };
gspeech = callPackage ../applications/audio/gspeech { }; gspeech = callPackage ../applications/audio/gspeech { };

View file

@ -7543,7 +7543,7 @@ self: super: with self; {
abseil-cpp = if stdenv.isLinux then abseil-cpp = if stdenv.isLinux then
pkgs.abseil-cpp_202301 pkgs.abseil-cpp_202301
else else
pkgs.abseil-cpp_202301.override { cxxStandard = "17"; }; pkgs.abseil-cpp_202301.override { cxxStandard = "14"; };
}; };
onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common { onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common {