Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2025-10-19 00:18:30 +00:00
committed by GitHub
10 changed files with 72 additions and 33 deletions

View File

@@ -12,18 +12,18 @@
pango, pango,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: {
pname = "browsers"; pname = "browsers";
version = "0.7.0"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Browsers-software"; owner = "Browsers-software";
repo = "browsers"; repo = "browsers";
tag = version; tag = finalAttrs.version;
hash = "sha256-s03BEscaYdSitLtlqbX/tgGSLRHuXc9Ht+3RMCUIdY8="; hash = "sha256-1RWGAEiSJWDoScKuUB5LL1tQyTw5NRnld7Fi93vP0BA=";
}; };
cargoHash = "sha256-tz4ju0NwgG5yb1VndYqyf+g631izPl904KYDUvawO28="; cargoHash = "sha256-M1KAZPjNu4j5b5Ml2J9OHpD+/jeF8WRP6EzfmLnb0hY=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@@ -46,7 +46,7 @@ rustPlatform.buildRustPackage rec {
mv $out/share/applications/software.Browsers.template.desktop $out/share/applications/software.Browsers.desktop mv $out/share/applications/software.Browsers.template.desktop $out/share/applications/software.Browsers.desktop
substituteInPlace \ substituteInPlace \
$out/share/applications/software.Browsers.desktop \ $out/share/applications/software.Browsers.desktop \
--replace-fail 'Exec=ExecCommand' 'Exec=${pname} %u' --replace-fail 'Exec=ExecCommand' 'Exec=${finalAttrs.pname} %u'
cp -r resources $out cp -r resources $out
for size in 16 32 128 256 512; do for size in 16 32 128 256 512; do
install -m 444 \ install -m 444 \
@@ -58,9 +58,9 @@ rustPlatform.buildRustPackage rec {
meta = { meta = {
description = "Open the right browser at the right time"; description = "Open the right browser at the right time";
homepage = "https://browsers.software"; homepage = "https://browsers.software";
changelog = "https://github.com/Browsers-software/browsers/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/Browsers-software/browsers/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ravenz46 ]; maintainers = with lib.maintainers; [ ravenz46 ];
mainProgram = "browsers"; mainProgram = "browsers";
}; };
} })

View File

@@ -11,7 +11,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "codeql"; pname = "codeql";
version = "2.23.0"; version = "2.23.3";
dontConfigure = true; dontConfigure = true;
dontBuild = true; dontBuild = true;
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchzip { src = fetchzip {
url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip";
hash = "sha256-8T1aOy2okhwj2rFz3jUpUm2JaJcrXdB6KpSD8btCEx4="; hash = "sha256-Y6E3itwm/BZuNAs4b1roynEEdpOArfKPh+vNQidu+y8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@@ -1,12 +1,12 @@
{ {
lib, lib,
stdenv, stdenv,
fetchurl, fetchpatch,
fetchFromGitHub,
cmake, cmake,
pkg-config, pkg-config,
openssl, openssl,
libxml2, libxml2,
boost,
python3, python3,
libuuid, libuuid,
curl, curl,
@@ -27,7 +27,7 @@ let
boolToUpper = b: lib.toUpper (lib.boolToString b); boolToUpper = b: lib.toUpper (lib.boolToString b);
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.8.7"; version = "0.8.10";
pname = "davix" + lib.optionalString enableThirdPartyCopy "-copy"; pname = "davix" + lib.optionalString enableThirdPartyCopy "-copy";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
@@ -35,7 +35,6 @@ stdenv.mkDerivation rec {
python3 python3
]; ];
buildInputs = [ buildInputs = [
boost
curl curl
libxml2 libxml2
openssl openssl
@@ -44,14 +43,11 @@ stdenv.mkDerivation rec {
++ lib.optional (!stdenv.hostPlatform.isDarwin) libuuid ++ lib.optional (!stdenv.hostPlatform.isDarwin) libuuid
++ lib.optional enableThirdPartyCopy gsoap; ++ lib.optional enableThirdPartyCopy gsoap;
# using the url below since the github release page states src = fetchFromGitHub {
# "please ignore the GitHub-generated tarballs, as they are incomplete" owner = "cern-fts";
# https://github.com/cern-fts/davix/releases/tag/R_0_8_0 repo = "davix";
src = fetchurl { rev = "refs/tags/R_${lib.replaceStrings [ "." ] [ "_" ] version}";
url = "https://github.com/cern-fts/davix/releases/download/R_${ hash = "sha256-n4NeHBgQwGwgHAFQzPc3oEP9k3F/sqrTmkI/zHW+Miw=";
lib.replaceStrings [ "." ] [ "_" ] version
}/davix-${version}.tar.gz";
sha256 = "sha256-eMJOFO3X5OVgOS1nFH7IZYwqoNNkBBW99rxROvz2leY=";
}; };
preConfigure = '' preConfigure = ''
@@ -61,6 +57,7 @@ stdenv.mkDerivation rec {
''; '';
cmakeFlags = [ cmakeFlags = [
"-DDAVIX_TESTS=OFF"
"-DENABLE_TOOLS=${boolToUpper enableTools}" "-DENABLE_TOOLS=${boolToUpper enableTools}"
"-DEMBEDDED_LIBCURL=OFF" "-DEMBEDDED_LIBCURL=OFF"
"-DLIBCURL_BACKEND_BY_DEFAULT=${boolToUpper defaultToLibcurl}" "-DLIBCURL_BACKEND_BY_DEFAULT=${boolToUpper defaultToLibcurl}"
@@ -69,6 +66,14 @@ stdenv.mkDerivation rec {
"-DENABLE_THIRD_PARTY_COPY=${boolToUpper enableThirdPartyCopy}" "-DENABLE_THIRD_PARTY_COPY=${boolToUpper enableThirdPartyCopy}"
]; ];
patches = [
# Update CMake minimum requirement and supported versions, backport from unreleased davix 0.8.11
(fetchpatch {
url = "https://github.com/cern-fts/davix/commit/687d424c9f87888c94d96f3ea010de11ef70cd23.patch";
hash = "sha256-FNXOQrY0gsMK+D4jwbJmYyEqD3lFui0giXUd+Rr0jLk=";
})
];
meta = with lib; { meta = with lib; {
description = "Toolkit for Http-based file management"; description = "Toolkit for Http-based file management";

View File

@@ -109,6 +109,36 @@ stdenv.mkDerivation (finalAttrs: {
] ]
); );
preConfigure =
let
cmakeFiles = [
"CMakeLists.txt"
"src/CMakeLists.txt"
"src/core/CMakeLists.txt"
"src/core/transfer/CMakeLists.txt"
"src/plugins/CMakeLists.txt"
"src/plugins/dcap/CMakeLists.txt"
"src/plugins/file/CMakeLists.txt"
"src/plugins/gridftp/CMakeLists.txt"
"src/plugins/http/CMakeLists.txt"
"src/plugins/lfc/CMakeLists.txt"
"src/plugins/mock/CMakeLists.txt"
"src/plugins/rfio/CMakeLists.txt"
"src/plugins/sftp/CMakeLists.txt"
"src/plugins/srm/CMakeLists.txt"
"src/plugins/xrootd/CMakeLists.txt"
"src/utils/CMakeLists.txt"
"src/version/CMakeLists.txt"
];
in
''
for f in ${lib.escapeShellArgs cmakeFiles}; do
substituteInPlace "$f" \
--replace-fail 'cmake_minimum_required (VERSION 2.6)' \
'cmake_minimum_required (VERSION 3.10)'
done
'';
cmakeFlags = cmakeFlags =
(map ( (map (
pluginName: pluginName:

View File

@@ -7,16 +7,16 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "harsh"; pname = "harsh";
version = "0.10.22"; version = "0.11.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wakatara"; owner = "wakatara";
repo = "harsh"; repo = "harsh";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-TGhhiqFf6POR7x/Nc8m5/mBlj23EnjZlL5AL9IwXghk="; hash = "sha256-mQhBQFDint6ZlS5yQ9oGLJVxmol9p+st9X7wRCBuc/g=";
}; };
vendorHash = "sha256-m+5MSgzuRUZuP1GhEUCttLRLL63kphMi8N9tDUaTaOQ="; vendorHash = "sha256-+yHIpUttvrdiTt0IuMTT4iCN34hNOb3JjZTmi5qb8yI=";
nativeCheckInputs = [ writableTmpDirAsHomeHook ]; nativeCheckInputs = [ writableTmpDirAsHomeHook ];

View File

@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
a Miscellaneous section. a Miscellaneous section.
''; '';
platforms = platforms.gnu ++ platforms.linux; platforms = platforms.gnu ++ platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
mainProgram = "logstalgia"; mainProgram = "logstalgia";
}; };

View File

@@ -10,17 +10,17 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "museum"; pname = "museum";
version = "1.2.8"; version = "1.2.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ente-io"; owner = "ente-io";
repo = "ente"; repo = "ente";
sparseCheckout = [ "server" ]; sparseCheckout = [ "server" ];
tag = "photos-v${finalAttrs.version}"; tag = "photos-v${finalAttrs.version}";
hash = "sha256-CHdDtIEohEWKULkEZMs2+fsQR0HL++ejdCL2KA9SXt0="; hash = "sha256-GSHWEbnBn2nS2aQ1lQU8Vpp8lEQiPBfmU7BsfXADVXs=";
}; };
vendorHash = "sha256-iltf6TVTzMhNpQxLtp/wqOCVXeJCmPvmlfWARbNgc4g="; vendorHash = "sha256-5o2nOFBwMY3qHyMWp+NDRkxf/2egTzWCiGMzY3No4OY=";
sourceRoot = "${finalAttrs.src.name}/server"; sourceRoot = "${finalAttrs.src.name}/server";

View File

@@ -35,13 +35,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "velocity"; pname = "velocity";
version = "3.4.0-unstable-2025-10-11"; version = "3.4.0-unstable-2025-10-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PaperMC"; owner = "PaperMC";
repo = "Velocity"; repo = "Velocity";
rev = "806b386cdb8da23051a9679682ed6a76370b9818"; rev = "4cd3b6869729484887b4fa58b7a6c3b007710a10";
hash = "sha256-2Wy9mnIvGab/vgH6fVK+HJcpOUwPMkgncXOGcZPnDhg="; hash = "sha256-SGZqKsAI8QW65B2u0tn7NwciwjViExvxv6UdoHkzheI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@@ -47,7 +47,7 @@ class VersionManager:
# we only want versions that are no pre-releases # we only want versions that are no pre-releases
release_versions = filter( release_versions = filter(
lambda v_name: 'pre' not in v_name, response.json()["versions"]) lambda v_name: all(s not in v_name for s in ["pre", "rc"]), response.json()["versions"])
for version_name in release_versions: for version_name in release_versions:

View File

@@ -86,5 +86,9 @@
"1.21.8": { "1.21.8": {
"hash": "sha256-jefFLDsCQDUD0W+sWAA/Hv733XoCVnhoQ5J/qS7lfx4=", "hash": "sha256-jefFLDsCQDUD0W+sWAA/Hv733XoCVnhoQ5J/qS7lfx4=",
"version": "1.21.8-60" "version": "1.21.8-60"
},
"1.21.9": {
"hash": "sha256-YXZVx7iTC3EViKM8r4SKBLgArd0JcZ9jziZuBtWBYOc=",
"version": "1.21.9-41"
} }
} }