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

This commit is contained in:
K900
2025-04-10 16:30:48 +03:00
59 changed files with 873 additions and 410 deletions
+6
View File
@@ -5413,6 +5413,12 @@
githubId = 64467514;
name = "Daniel Krywult";
};
danilobuerger = {
email = "info@danilobuerger.de";
github = "danilobuerger";
githubId = 996231;
name = "Danilo Bürger";
};
daniyalsuri6 = {
email = "daniyal.suri@gmail.com";
github = "daniyalsuri6";
@@ -1,95 +0,0 @@
{
stdenv,
lib,
fetchFromGitHub,
gitUpdater,
pkg-config,
qmake,
qt5compat ? null,
qtbase,
qttools,
qtwayland,
rtaudio_6,
rtmidi,
wrapQtAppsHook,
}:
assert lib.versionAtLeast qtbase.version "6.0" -> qt5compat != null;
stdenv.mkDerivation (finalAttrs: {
pname = "bambootracker";
version = "0.6.4";
src = fetchFromGitHub {
owner = "BambooTracker";
repo = "BambooTracker";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-tFUliKR55iZybNyYIF1FXh8RGf8jKEsGrWBuldB277g=";
};
postPatch = lib.optionalString (lib.versionAtLeast qtbase.version "6.0") ''
# Work around lrelease finding in qmake being broken by using pre-Qt5.12 code path
# https://github.com/NixOS/nixpkgs/issues/214765
substituteInPlace BambooTracker/lang/lang.pri \
--replace 'equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 12)' 'if(true)'
'';
nativeBuildInputs = [
pkg-config
qmake
qttools
wrapQtAppsHook
];
buildInputs =
[
qtbase
rtaudio_6
rtmidi
]
++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland
]
++ lib.optionals (lib.versionAtLeast qtbase.version "6.0") [
qt5compat
];
qmakeFlags =
[
"CONFIG+=system_rtaudio"
"CONFIG+=system_rtmidi"
]
++ lib.optionals (stdenv.cc.isClang || (lib.versionAtLeast qtbase.version "6.0")) [
# Clang is extra-strict about some deprecations
# Latest Qt6 deprecated QCheckBox::stateChanged(int)
"CONFIG+=no_warnings_are_errors"
];
postConfigure = "make qmake_all";
# Wrapping the inside of the app bundles, avoiding double-wrapping
dontWrapQtApps = stdenv.hostPlatform.isDarwin;
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/Applications
mv $out/{bin,Applications}/BambooTracker.app
ln -s $out/{Applications/BambooTracker.app/Contents/MacOS,bin}/BambooTracker
wrapQtApp $out/Applications/BambooTracker.app/Contents/MacOS/BambooTracker
'';
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = with lib; {
description = "Tracker for YM2608 (OPNA) which was used in NEC PC-8801/9801 series computers";
mainProgram = "BambooTracker";
homepage = "https://bambootracker.github.io/BambooTracker/";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ OPNA2608 ];
};
})
@@ -8,8 +8,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "RooVeterinaryInc";
name = "roo-cline";
version = "3.11.9";
hash = "sha256-+Bi9nHRXXZGKGvTS8o0CbtS6KBJmQz+Wiiinqs16vZA=";
version = "3.11.12";
hash = "sha256-f7IPxeF/UxywMm8yVEZV/sHTKILZ3n788bhwH4xx89I=";
};
passthru.updateScript = vscode-extensions-update-script { };
@@ -1,39 +0,0 @@
{
appimageTools,
fetchurl,
lib,
}:
let
pname = "protonup-qt";
version = "2.12.0";
src = fetchurl {
url = "https://github.com/DavidoTek/ProtonUp-Qt/releases/download/v${version}/ProtonUp-Qt-${version}-x86_64.AppImage";
hash = "sha256-8MeHSy3XW1oXAD2xrDSIB0ZLJxtk5UBIMpDRTPF9ksU=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
mkdir -p $out/share/{applications,pixmaps}
cp ${appimageContents}/net.davidotek.pupgui2.desktop $out/share/applications/${pname}.desktop
cp ${appimageContents}/net.davidotek.pupgui2.png $out/share/pixmaps/${pname}.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=net.davidotek.pupgui2' 'Exec=${pname}' \
--replace 'Icon=net.davidotek.pupgui2' 'Icon=${pname}'
'';
extraPkgs = pkgs: with pkgs; [ zstd ];
meta = with lib; {
homepage = "https://davidotek.github.io/protonup-qt/";
description = "Install and manage Proton-GE and Luxtorpeda for Steam and Wine-GE for Lutris with this graphical user interface";
license = licenses.gpl3;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
mainProgram = "protonup-qt";
changelog = "https://github.com/DavidoTek/ProtonUp-Qt/releases/tag/v${version}";
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ michaelBelsanti ];
};
}
@@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ANTs";
version = "2.5.4";
version = "2.6.0";
src = fetchFromGitHub {
owner = "ANTsX";
repo = "ANTs";
tag = "v${finalAttrs.version}";
hash = "sha256-7df9RcZZwfSkokG8dMQg65bCOk2atDGkJpPo8SrRrfY=";
hash = "sha256-3k9EOylOAUwxBNpzi6U/XZGarCZlbh9PdecKyJh81Yk=";
};
nativeBuildInputs = [
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''
for file in $out/bin/*; do
wrapProgram $file --set PATH "$out/bin"
wrapProgram $file --prefix PATH : "$out/bin"
done
'';
@@ -18,7 +18,6 @@
makeSetupHook,
cacert,
callPackage,
nixForLinking,
}:
let
@@ -55,7 +54,6 @@ in
lib.makeBinPath [
coreutils
nix-prefetch-git
nixForLinking
]
}
-14
View File
@@ -1,14 +0,0 @@
{
buildGoModule,
anvil-editor,
}:
buildGoModule {
inherit (anvil-editor) version src meta;
pname = "anvil-editor-extras";
modRoot = "anvil-extras";
vendorHash = "sha256-PH7HSMlCAHn4L1inJDbDcj6n+i6LXakIOqwdUkRjf9E=";
}
+19 -15
View File
@@ -1,7 +1,7 @@
{
lib,
stdenv,
buildGoModule,
buildGo123Module,
fetchzip,
pkg-config,
copyDesktopItems,
@@ -12,26 +12,31 @@
vulkan-headers,
libGL,
xorg,
callPackage,
buildPackages,
anvilExtras ? callPackage ./extras.nix { },
}:
buildGoModule rec {
buildGo123Module (finalAttrs: {
pname = "anvil-editor";
version = "0.4";
version = "0.6";
# has to update vendorHash of extra package manually
# nixpkgs-update: no auto update
src = fetchzip {
url = "https://anvil-editor.net/releases/anvil-src-v${version}.tar.gz";
hash = "sha256-0fi6UeppWC9KbWibjQYlPlRqsl9xsvij8YpJUS0S/wY=";
url = "https://anvil-editor.net/releases/anvil-src-v${finalAttrs.version}.tar.gz";
hash = "sha256-i0S5V3j6OPpu4z1ljDKP3WYa9L+EKwo/MBNgW2ENYk8=";
};
modRoot = "anvil/src/anvil";
vendorHash = "sha256-1oFBV7D7JgOt5yYAxVvC4vL4ccFv3JrNngZbo+5pzrk=";
anvilExtras = buildGo123Module {
pname = "anvil-editor-extras";
inherit (finalAttrs) version src meta;
vendorHash = "sha256-4pfk5XuwDbCWFZIF+1l+dy8NfnGNjgHmSg9y6/RnTSo=";
modRoot = "anvil-extras";
};
nativeBuildInputs =
[
pkg-config
@@ -60,8 +65,11 @@ buildGoModule rec {
exec = "anvil";
icon = "anvil";
desktopName = "Anvil";
comment = meta.description;
categories = [ "TextEditor" ];
comment = finalAttrs.meta.description;
categories = [
"Utility"
"TextEditor"
];
startupWMClass = "anvil";
})
];
@@ -76,13 +84,9 @@ buildGoModule rec {
install -Dm644 anvil_''${square}x32.png $out/share/icons/hicolor/''${square}/apps/anvil.png
done
popd
cp ${anvilExtras}/bin/* $out/bin
cp ${finalAttrs.anvilExtras}/bin/* $out/bin
'';
passthru = {
inherit anvilExtras;
};
meta = {
description = "Graphical, multi-pane tiling editor inspired by Acme";
homepage = "https://anvil-editor.net";
@@ -91,4 +95,4 @@ buildGoModule rec {
maintainers = with lib.maintainers; [ aleksana ];
platforms = with lib.platforms; unix ++ windows;
};
}
})
+125
View File
@@ -0,0 +1,125 @@
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
gitUpdater,
libsForQt5,
pkg-config,
qt6Packages,
rtaudio_6,
rtmidi,
withQt6 ? false,
}:
let
qtPackages = if withQt6 then qt6Packages else libsForQt5;
in
stdenv.mkDerivation (finalAttrs: {
pname = "bambootracker" + lib.optionalString withQt6 "-qt6";
version = "0.6.5";
src = fetchFromGitHub {
owner = "BambooTracker";
repo = "BambooTracker";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-WoyOqInOOOIEwsMOc2yoTdh9UhJOvFKE1GfkxOuXDe0=";
};
patches = [
# Remove when version > 0.6.5
(fetchpatch {
name = "0001-bambootracker-Fix-compiler-warnings.patch";
url = "https://github.com/BambooTracker/BambooTracker/commit/d670cf8b6113318cd938cf19be76b6b14d3635f1.patch";
hash = "sha256-yyOMaOYKSc1hbbCL7wjFNPDmX2oMYo10J4hjZJss2zs=";
})
# Remove when version > 0.6.5
(fetchpatch {
name = "0002-bambootracker-Fix-GCC15-compat.patch";
url = "https://github.com/BambooTracker/BambooTracker/commit/92c0a7d1cfb05d1c6ae9482181c5c378082b772c.patch";
hash = "sha256-6K0RZD0LevggxFr92LaNmq+eMgOFJgFX60IgAw7tYdM=";
})
# Remove when version > 0.6.5
(fetchpatch {
name = "0003-bambootracker-Drop-unused-property.patch";
url = "https://github.com/BambooTracker/BambooTracker/commit/de4459f0315f099d3e0a2d20b938ec76285f2d46.patch";
hash = "sha256-zTh6i+hgQZ3kEid0IzQaR/PsrYlnhplccdlaS5g8FeA=";
})
];
postPatch = lib.optionalString withQt6 ''
# Work around lrelease finding in qmake being broken by using pre-Qt5.12 code path
# https://github.com/NixOS/nixpkgs/issues/214765
substituteInPlace BambooTracker/lang/lang.pri \
--replace 'equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 12)' 'if(true)'
'';
nativeBuildInputs =
[
pkg-config
]
++ (with qtPackages; [
qmake
qttools
wrapQtAppsHook
]);
buildInputs =
[
rtaudio_6
rtmidi
]
++ (
with qtPackages;
[
qtbase
]
++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland
]
++ lib.optionals withQt6 [
qt5compat
]
);
qmakeFlags =
[
"CONFIG+=system_rtaudio"
"CONFIG+=system_rtmidi"
]
++ lib.optionals stdenv.cc.isClang [
# Clang is extra-strict about some deprecations
# https://github.com/BambooTracker/BambooTracker/issues/506
"CONFIG+=no_warnings_are_errors"
];
postConfigure = "make qmake_all";
# Wrapping the inside of the app bundles, avoiding double-wrapping
dontWrapQtApps = stdenv.hostPlatform.isDarwin;
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/Applications
mv $out/{bin,Applications}/BambooTracker.app
ln -s $out/{Applications/BambooTracker.app/Contents/MacOS,bin}/BambooTracker
wrapQtApp $out/Applications/BambooTracker.app/Contents/MacOS/BambooTracker
'';
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = {
description = "Tracker for YM2608 (OPNA) which was used in NEC PC-8801/9801 series computers";
mainProgram = "BambooTracker";
homepage = "https://bambootracker.github.io/BambooTracker/";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ OPNA2608 ];
};
})
+2 -4
View File
@@ -3,8 +3,7 @@
stdenv,
fetchFromGitHub,
cmake,
SDL2,
libGL,
sdl2-compat,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -23,8 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
libGL
SDL2
sdl2-compat
];
postInstall = ''
+37
View File
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "buffrs";
version = "0.9.0";
src = fetchFromGitHub {
owner = "helsing-ai";
repo = "buffrs";
tag = "v${version}";
hash = "sha256-c9GjSqVp2wEFgoy8j+Gy5FA3SG4JYEfeSwPWjW81w3Y=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-E7kskULt2eOY+mZjh6jAftj8ciExUF7d1z1pePTBzvQ=";
# Disabling tests meant to work over the network, as they will fail
# inside the builder.
checkFlags = [
"--skip=cmd::install::upgrade::fixture"
"--skip=cmd::publish::lib::fixture"
"--skip=cmd::publish::local::fixture"
"--skip=cmd::tuto::fixture"
];
meta = {
description = "Modern protobuf package management";
homepage = "https://github.com/helsing-ai/buffrs";
license = lib.licenses.asl20;
mainProgram = "buffrs";
maintainers = with lib.maintainers; [ danilobuerger ];
};
}
+3 -3
View File
@@ -6,17 +6,17 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-expand";
version = "1.0.104";
version = "1.0.106";
src = fetchFromGitHub {
owner = "dtolnay";
repo = "cargo-expand";
rev = version;
hash = "sha256-PSiuTw3H3vl4Tnts5eOTd1v8SLPvYZCkuQ/pTSa3O18=";
hash = "sha256-7j8i0wvbbAFPNgHamy+lybQpz1ht+n90oidVGSXP6MA=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-apFOBEao2DKsdjdth+vGzzRa9Mw7fTb/88TetY0vp6E=";
cargoHash = "sha256-e6K97VUsCYx56Y9r7QPVBV3eMwWnjEhZoEKpmuKmkJk=";
meta = with lib; {
description = "Cargo subcommand to show result of macro expansion";
+6
View File
@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
sound-theme-freedesktop,
rustPlatform,
libcosmicAppHook,
pulseaudio,
@@ -20,6 +21,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-ezOeRgqI/GOWFknUVZI7ZLEy1GYaBI+/An83HWKL6ho=";
};
postPatch = ''
substituteInPlace src/components/app.rs \
--replace-fail '/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga' '${sound-theme-freedesktop}/share/sounds/freedesktop/stereo/audio-volume-change.oga'
'';
useFetchCargoVendor = true;
cargoHash = "sha256-vYehF2RjPrTZiuGcRUe4XX3ftRo7f+SIoKizD/kOtR8=";
+3 -3
View File
@@ -21,12 +21,12 @@
rustPlatform.buildRustPackage {
pname = "crosvm";
version = "0-unstable-2025-03-27";
version = "0-unstable-2025-04-07";
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
rev = "779126e8670cb471fc35e07c9f6a958638bbd9e3";
hash = "sha256-xYd4KSLcuc1u6JV67UgW9FgkQGwQZLjlvpmngnWc0ew=";
rev = "7cb0f63341ca728c2d0f53c94fadfd20dd307186";
hash = "sha256-xEKOEEGyfrfCGzI2+brkVwHcKKKLctNU+adgzVNGses=";
fetchSubmodules = true;
};
+19 -34
View File
@@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitLab,
fetchpatch,
gitUpdater,
testers,
boost186,
@@ -20,13 +19,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "dbus-cpp";
version = "5.0.3";
version = "5.0.4";
src = fetchFromGitLab {
owner = "ubports";
repo = "development/core/lib-cpp/dbus-cpp";
rev = finalAttrs.version;
hash = "sha256-t8SzPRUuKeEchT8vAsITf8MwbgHA+mR5C9CnkdVyX7s=";
tag = finalAttrs.version;
hash = "sha256-ki4bnwRpvmB9yzt/Mn3MQs1Dr6Vrcs2D0tvCjvvfmq4=";
};
outputs = [
@@ -36,39 +35,22 @@ stdenv.mkDerivation (finalAttrs: {
"examples"
];
patches = [
# Handle already-stolen dbus call better
# Remove when version > 5.0.3
(fetchpatch {
name = "0001-dbus-cpp-src-Dont-steal-a-pending-dbus-call-more-then-once.patch";
url = "https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/-/commit/9f3d1ff2b1c6c732285949c3dbb35e40cf55ea92.patch";
hash = "sha256-xzOCIJVsK2J+X9RsV930R9uw6h4UxqwSaNOgv8v4qQU=";
})
# Fix GCC13 compilation
# Remove when version > 5.0.3
(fetchpatch {
name = "0002-dbus-cpp-Add-missing-headers-for-GCC13.patch";
url = "https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/-/commit/c761b1eec084962dbe64d35d7f7b86dcbe57a3f7.patch";
hash = "sha256-/tKe3iHWxP9jWtpdgwwRynj8565u9LxCt4WXJDXzgX4=";
})
];
postPatch =
''
substituteInPlace doc/CMakeLists.txt \
--replace 'DESTINATION share/''${CMAKE_PROJECT_NAME}/doc' 'DESTINATION ''${CMAKE_INSTALL_DOCDIR}'
--replace-fail 'DESTINATION share/''${CMAKE_PROJECT_NAME}/doc' 'DESTINATION ''${CMAKE_INSTALL_DOCDIR}'
# Warning on aarch64-linux breaks build due to -Werror
substituteInPlace CMakeLists.txt \
--replace '-Werror' ""
--replace-fail '-Werror' ""
# pkg-config output patching hook expects prefix variable here
substituteInPlace data/dbus-cpp.pc.in \
--replace 'includedir=''${exec_prefix}' 'includedir=''${prefix}'
--replace-fail 'includedir=''${exec_prefix}' 'includedir=''${prefix}'
''
+ lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
sed -i -e '/add_subdirectory(tests)/d' CMakeLists.txt
substituteInPlace CMakeLists.txt \
--replace-fail 'add_subdirectory(tests)' '# add_subdirectory(tests)'
'';
strictDeps = true;
@@ -98,11 +80,10 @@ stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
"-DDBUS_CPP_ENABLE_DOC_GENERATION=ON"
(lib.cmakeBool "DBUS_CPP_ENABLE_DOC_GENERATION" true)
];
# Too flaky on ARM CI & for some amd64 users
doCheck = false;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
# DBus, parallelism messes with communication
enableParallelChecking = false;
@@ -112,17 +93,21 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru = {
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = true;
};
updateScript = gitUpdater { };
};
meta = with lib; {
meta = {
description = "Dbus-binding leveraging C++-11";
homepage = "https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ OPNA2608 ];
changelog = "https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/-/blob/${finalAttrs.version}/ChangeLog";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ OPNA2608 ];
mainProgram = "dbus-cppc";
platforms = platforms.linux;
platforms = lib.platforms.linux;
pkgConfigModules = [
"dbus-cpp"
];
+2 -2
View File
@@ -6,12 +6,12 @@
python3Packages.buildPythonApplication rec {
pname = "fanficfare";
version = "4.43.0";
version = "4.44.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-uaYMmb896gJ31nbcGJs42jlSpvHUTvpLlD00r1icXRY=";
hash = "sha256-3+2T3qUk9tbQD+GxM2S+iDWNlKE+f3GplBoYIJGAJKE=";
};
nativeBuildInputs = with python3Packages; [
+2 -2
View File
@@ -35,13 +35,13 @@ let
in
buildGoModule rec {
pname = "gitea";
version = "1.23.6";
version = "1.23.7";
src = fetchFromGitHub {
owner = "go-gitea";
repo = "gitea";
tag = "v${gitea.version}";
hash = "sha256-psVny0qmx2wPiNK1qIXQiW0gdRsZs16MEfIgBXTWgFI=";
hash = "sha256-pdmRujcLnQBIQXc26MPpoLbbV00KMaVHPY4xTsitaCA=";
};
proxyVendor = true;
+5 -4
View File
@@ -2,22 +2,23 @@
lib,
buildGoModule,
fetchFromGitHub,
writableTmpDirAsHomeHook,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "gops";
version = "0.3.28";
src = fetchFromGitHub {
owner = "google";
repo = "gops";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-HNM487WSfNWNF31ccDIdotsEG8Mj2C7V85UI47a9drU=";
};
vendorHash = "sha256-ptC2G7cXcAjthJcAXvuBqI2ZpPuSMBqzO+gJiyaAUP0=";
preCheck = "export HOME=$(mktemp -d)";
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
meta = with lib; {
description = "Tool to list and diagnose Go processes currently running on your system";
@@ -26,4 +27,4 @@ buildGoModule rec {
license = licenses.bsd3;
maintainers = with maintainers; [ pborzenkov ];
};
}
})
@@ -19,6 +19,10 @@ buildNpmPackage rec {
npmFlags = [ "--ignore-scripts" ];
postInstall = ''
find $out/lib/node_modules -xtype l -delete
'';
dontNpmBuild = true;
meta = {
+1 -1
View File
@@ -118,7 +118,7 @@ buildNpmPackage rec {
rcoeurjoly
amerino
]
++ [ lib.teams.ngi ];
++ lib.teams.ngi.members;
mainProgram = "icestudio";
platforms = lib.platforms.linux;
};
-5
View File
@@ -23,11 +23,6 @@ stdenv.mkDerivation rec {
./fix-source-date.patch
];
# fixes non-determinism between builds on macos
preConfigure = lib.optional stdenv.hostPlatform.isDarwin ''
export LDFLAGS="$LDFLAGS -Wl,-no_uuid -Wl,-install_name,@rpath/libJudy.1.dylib"
'';
# Disable parallel builds as manpages lack some dependencies:
# ../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs
# make[2]: *** No rule to make target 'man/man3/JSLD', needed by 'all-am'. Stop.
+4 -4
View File
@@ -11,22 +11,22 @@
buildGoModule rec {
pname = "kargo";
version = "1.3.2";
version = "1.4.0";
src = fetchFromGitHub {
owner = "akuity";
repo = "kargo";
tag = "v${version}";
hash = "sha256-sLcNY6TopRObyU+TAFsX8odRJTo9BufCKb/pKhg9pwA=";
hash = "sha256-1zPSYvAhobhcZWIeIh0zTYPMg32r4PATvBIfKEcg9IU=";
};
vendorHash = "sha256-Xb+9zu2uivOYETtz3ryMnBUJ3gJ/1ta1dLEpsD00jpU=";
vendorHash = "sha256-+c7cUCI6Yy3qzDOWWvqEGss6QvTrS3gYScm8M48rGVA=";
subPackages = [ "cmd/cli" ];
ldflags =
let
package_url = "github.com/akuity/kargo/internal/version";
package_url = "github.com/akuity/kargo/pkg/x/version";
in
[
"-s"
+2 -2
View File
@@ -9,11 +9,11 @@
}:
stdenv.mkDerivation rec {
pname = "mathgl";
version = "8.0.2";
version = "8.0.3";
src = fetchurl {
url = "mirror://sourceforge/mathgl/mathgl-${version}.tar.gz";
sha256 = "sha256-cWYJlWhKawooI/Z49sQ4q6ukdKEVJGzfX5sLRgq/ysE=";
sha256 = "sha256-m7qe5qD4bRuPPzugN008t3b3ctu28aAWhMpsC9ViBNY=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -16,12 +16,12 @@
stdenv.mkDerivation rec {
pname = "morgen";
version = "3.6.10";
version = "3.6.11";
src = fetchurl {
name = "morgen-${version}.deb";
url = "https://dl.todesktop.com/210203cqcj00tw1/versions/${version}/linux/deb";
hash = "sha256-//HXWx0vi2lbCeZr+QMfif6B8MiCAdRDullQ1QlIZu8=";
hash = "sha256-vn3V7TXWMPesZt+65FAeNzUo8n4P9XfSIFnCDvLaZOI=";
};
nativeBuildInputs = [
+1
View File
@@ -184,6 +184,7 @@ stdenv.mkDerivation (finalAttrs: {
};
tests = {
pythonMujoco = python3Packages.mujoco;
pythonMujocoMjx = python3Packages.mujoco-mjx;
};
};
+68
View File
@@ -0,0 +1,68 @@
{
lib,
fetchFromGitHub,
rustPlatform,
cmake,
pkg-config,
alsa-lib,
gdk-pixbuf,
glib,
libnotify,
libopus,
openssl,
versionCheckHook,
nix-update-script,
installShellFiles,
withNotifications ? true,
withOgg ? true,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mum";
version = "0.5.1";
src = fetchFromGitHub {
owner = "mum-rs";
repo = "mum";
tag = "v${finalAttrs.version}";
hash = "sha256-r2isuwXq79dOQQWB+CsofYCLQYu9VKm7kzoxw103YV4=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-ey3nT6vZ5YOZGk08HykK9RxI7li+Sz+sER3HioGSXP0=";
nativeBuildInputs = [
cmake
pkg-config
installShellFiles
];
buildInputs = [
alsa-lib
gdk-pixbuf
glib
libopus
openssl
] ++ lib.optional withNotifications libnotify;
buildNoDefaultFeatures = true;
buildFeatures = lib.optional withNotifications "notifications" ++ lib.optional withOgg "ogg";
postInstall = ''
installManPage documentation/*.{1,5}
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/mumctl";
passthru.updateScript = nix-update-script { };
meta = {
description = "Daemon/cli mumble client";
homepage = "https://github.com/mum-rs/mum";
changelog = "https://github.com/mum-rs/mum/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ lykos153 ];
license = lib.licenses.mit;
};
})
+5 -2
View File
@@ -5,13 +5,13 @@
}:
stdenv.mkDerivation rec {
pname = "nauty";
version = "2.8.8";
version = "2.8.9";
src = fetchurl {
url = "https://pallini.di.uniroma1.it/nauty${
builtins.replaceStrings [ "." ] [ "_" ] version
}.tar.gz";
sha256 = "sha256-FZ0hVoEKa7JAQQzWHrZBrdhQiNnxXIiM2qN7hoH5Kc4=";
sha256 = "sha256-yXq0K/SHlqhqWYvOPpJpBHyisywU/CPgcgiiRP5SxO4=";
};
outputs = [
@@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
"dev"
];
# HACK: starting from 2.8.9, the makefile tries to copy .libs/*.a files unconditionally
dontDisableStatic = true;
configureFlags = [
# Prevent nauty from sniffing some cpu features. While those are very
# widely available, it can lead to nasty bugs when they are not available:
@@ -98,12 +98,12 @@ python.pkgs.buildPythonApplication rec {
export HOME=$(mktemp -d)
'';
meta = with lib; {
meta = {
description = "Network service exploitation tool (maintained fork of CrackMapExec)";
homepage = "https://github.com/Pennyw0rth/NetExec";
changelog = "https://github.com/Pennyw0rth/NetExec/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ vncsb ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vncsb ];
mainProgram = "nxc";
# FIXME: failing fixupPhase:
# $ Rewriting #!/nix/store/<hash>-python3-3.11.7/bin/python3.11 to #!/nix/store/<hash>-python3-3.11.7
+2 -5
View File
@@ -15,6 +15,7 @@
versionCheckHook,
gitUpdater,
onionshare-gui,
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
pname = "onionshare-cli";
@@ -95,16 +96,12 @@ python3Packages.buildPythonApplication rec {
nativeCheckInputs =
[
versionCheckHook
writableTmpDirAsHomeHook
]
++ (with python3Packages; [
pytestCheckHook
]);
preCheck = ''
# Tests use the home directory
export HOME="$(mktemp -d)"
'';
disabledTests =
lib.optionals stdenv.hostPlatform.isLinux [
"test_get_tor_paths_linux" # expects /usr instead of /nix/store
@@ -1,50 +1,45 @@
{
lib,
mkDerivation,
stdenv,
fetchFromGitHub,
# nativeBuildInputs
bison,
cmake,
doxygen,
flex,
git,
python3,
gitMinimal,
gtest,
libsForQt5,
pkg-config,
swig,
# buildInputs
boost186, # 1.87.0 broken https://github.com/boostorg/asio/issues/442
cbc, # for clp
cimg,
clp, # for or-tools
cudd,
eigen,
gtest,
glpk,
lcov,
lemon-graph,
libsForQt5,
libjpeg,
or-tools,
pcre,
pkg-config,
python3,
re2, # for or-tools
readline,
spdlog,
tcl,
tclPackages,
xorg,
yosys,
zlib,
xorg,
llvmPackages,
stdenv,
}:
let
or-tools-static = or-tools.overrideAttrs (oldAttrs: {
cmakeFlags = oldAttrs.cmakeFlags ++ [
# https://github.com/google/or-tools/issues/3709
"-DBUILD_SHARED_LIBS=OFF"
];
});
in
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "openroad";
version = "2.0-unstable-2025-03-01";
@@ -61,39 +56,42 @@ mkDerivation rec {
cmake
doxygen
flex
git
gitMinimal
gtest
libsForQt5.wrapQtAppsHook
pkg-config
swig
];
buildInputs = [
boost186
cbc
cimg
clp
cudd
eigen
glpk
lcov
lemon-graph
libjpeg
or-tools-static
pcre
python3
libsForQt5.qtbase
libsForQt5.qtcharts
libsForQt5.qtsvg
libsForQt5.qtdeclarative
re2
readline
spdlog
tcl
tclPackages.tclreadline
yosys
xorg.libX11
zlib
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.openmp ];
buildInputs =
[
boost186
cbc
cimg
clp
cudd
eigen
glpk
lcov
lemon-graph
libjpeg
libsForQt5.qtbase
libsForQt5.qtcharts
libsForQt5.qtdeclarative
libsForQt5.qtsvg
or-tools
pcre
python3
re2
readline
spdlog
tcl
tclPackages.tclreadline
yosys
zlib
]
++ lib.optionals stdenv.hostPlatform.isLinux [ xorg.libX11 ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.openmp ];
postPatch = ''
patchShebangs --build etc/find_messages.py
@@ -103,18 +101,18 @@ mkDerivation rec {
cmakeFlags =
[
"-DENABLE_TESTS=ON"
"-DUSE_SYSTEM_BOOST=ON"
"-DUSE_SYSTEM_ABC=OFF"
"-DABC_SKIP_TESTS=ON" # it attempts to download gtest
"-DUSE_SYSTEM_OPENSTA=OFF"
"-DOPENROAD_VERSION=${version}_${src.rev}"
"-DCMAKE_RULE_MESSAGES=OFF"
"-DTCL_HEADER=${tcl}/include/tcl.h"
"-DTCL_LIBRARY=${tcl}/lib/libtcl${stdenv.hostPlatform.extensions.sharedLibrary}"
(lib.cmakeBool "ENABLE_TESTS" true)
(lib.cmakeBool "USE_SYSTEM_BOOST" true)
(lib.cmakeBool "USE_SYSTEM_ABC" false)
(lib.cmakeBool "ABC_SKIP_TESTS" true) # it attempts to download gtest
(lib.cmakeBool "USE_SYSTEM_OPENSTA" false)
(lib.cmakeFeature "OPENROAD_VERSION" "${version}_${src.rev}")
(lib.cmakeBool "CMAKE_RULE_MESSAGES" false)
(lib.cmakeFeature "TCL_HEADER" "${tcl}/include/tcl.h")
(lib.cmakeFeature "TCL_LIBRARY" "${tcl}/lib/libtcl${stdenv.hostPlatform.extensions.sharedLibrary}")
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"-DCMAKE_CXX_FLAGS=-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED"
(lib.cmakeFeature "CMAKE_CXX_FLAGS" "-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED")
];
# Resynthesis needs access to the Yosys binaries.
@@ -130,18 +128,22 @@ mkDerivation rec {
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/openroad -version
$out/bin/sta -version
runHook postInstallCheck
'';
meta = with lib; {
meta = {
description = "OpenROAD's unified application implementing an RTL-to-GDS flow";
homepage = "https://theopenroadproject.org";
license = licenses.bsd3;
maintainers = with maintainers; [
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
trepetti
hzeller
];
platforms = platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}
+2 -2
View File
@@ -32,13 +32,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "pdi";
version = "1.8.3";
version = "1.9.0";
src = fetchFromGitHub {
owner = "pdidev";
repo = "pdi";
tag = finalAttrs.version;
hash = "sha256-oiHkCXQZGeijoJf8XpbBPdxmxClWyCsnv6laDdMXk6U=";
hash = "sha256-eWBbhHBDS2NbY74vbeD/+UDdpam4XiX7loYb1chjryo=";
};
# Current hdf5 version in nixpkgs is 1.14.4.3 which is 4 numbers long and doesn't match the 3 number regex. :')
@@ -10,7 +10,7 @@
fixup-yarn-lock,
jq,
fd,
nodejs,
nodejs_18,
which,
yarn,
}:
@@ -48,33 +48,33 @@ let
in
stdenv.mkDerivation rec {
pname = "peertube";
version = "6.3.3";
version = "7.0.1";
src = fetchFromGitHub {
owner = "Chocobozzz";
repo = "PeerTube";
tag = "v${version}";
hash = "sha256-kPZcCJtnoqE1g0fAuM98IhuDy1E9QBDkFNWrWIpFIDA=";
hash = "sha256-DoUSzqb8lrU+s5R95rxCN/5A8sgb11edAhv0T6YACRo=";
};
yarnOfflineCacheServer = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-I6TC5KO+NQ0NAtoJzYQPLelp8/hYUtIeof+UI45qpdk=";
hash = "sha256-WLaIIyz6SEekLFeVO39Swpny5/x5Jc1zoxy/6bmOXTk=";
};
yarnOfflineCacheClient = fetchYarnDeps {
yarnLock = "${src}/client/yarn.lock";
hash = "sha256-ADck9+5TDZ3OGInZ+NYYpBg9XXHugtiwyxYCYqSIOzM=";
hash = "sha256-/ZdORSnwk29ubsgKKB7RfHCetODNOH9DzkflQdDsMz0=";
};
yarnOfflineCacheAppsCli = fetchYarnDeps {
yarnLock = "${src}/apps/peertube-cli/yarn.lock";
hash = "sha256-t5MwysPVLbtIfDhvnwWoGocck1ntP8OP9Vf9DF6L7Cg=";
hash = "sha256-lcWtZGE/6XGm8KXmzSowCHAb/vGwBoqkwk32Ru3mMYU=";
};
yarnOfflineCacheAppsRunner = fetchYarnDeps {
yarnLock = "${src}/apps/peertube-runner/yarn.lock";
hash = "sha256-x5qFCprn8q0xC88HudLV7W53X1Nkbz3F52RMp2PxIu8=";
hash = "sha256-R7oXJUT698l2D1WkQGTWfkmbC7bC1XJ04xT0O8bwuI8=";
};
outputs = [
@@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
fd
];
buildInputs = [ nodejs ];
buildInputs = [ nodejs_18 ];
buildPhase = ''
# Build node modules
+2 -2
View File
@@ -16,13 +16,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pkg";
version = "2.0.6";
version = "2.1.0";
src = fetchFromGitHub {
owner = "freebsd";
repo = "pkg";
rev = finalAttrs.version;
hash = "sha256-NTjAhqCUN2bN4ilijoeHHIkl58XXP5nSj/yLUL0N2fw=";
hash = "sha256-tOHt5Ra628qg/4N7fkUnL/xq4qV6Vmv2vsJpwSaDba8=";
};
setOutputFlags = false;
+4 -2
View File
@@ -3,21 +3,23 @@
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "planarity";
version = "3.0.2.0";
version = "4.0.0.0";
src = fetchFromGitHub {
owner = "graph-algorithms";
repo = "edge-addition-planarity-suite";
rev = "Version_${version}";
sha256 = "sha256-cUAh2MXCSmtxFtV6iTHgSRgsq/26DjWwxhWJH1+367A=";
sha256 = "sha256-A7huHvMgUyvw2zM9qA7Ax/1Ai5VZ6A1PZIo3eiCpu44=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
doCheck = true;
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "plasma-panel-colorizer";
version = "2.4.1";
version = "2.4.2";
src = fetchFromGitHub {
owner = "luisbocanegra";
repo = "plasma-panel-colorizer";
tag = "v${finalAttrs.version}";
hash = "sha256-YDYVjAbizmo1+E1DVeyISKM4Jb/HkKY/On9RanJBuvI=";
hash = "sha256-SQ2jf0YWmDN0Yce2lmTpD11zLdUz2otm98TO/agaY28=";
};
nativeBuildInputs = [
+45
View File
@@ -0,0 +1,45 @@
{
lib,
appimageTools,
fetchurl,
makeWrapper,
}:
appimageTools.wrapAppImage rec {
pname = "protonup-qt";
version = "2.12.0";
src = appimageTools.extractType2 {
inherit pname version;
src = fetchurl {
url = "https://github.com/DavidoTek/ProtonUp-Qt/releases/download/v${version}/ProtonUp-Qt-${version}-x86_64.AppImage";
hash = "sha256-8MeHSy3XW1oXAD2xrDSIB0ZLJxtk5UBIMpDRTPF9ksU=";
};
};
nativeBuildInputs = [ makeWrapper ];
extraInstallCommands = ''
install -Dm644 ${src}/net.davidotek.pupgui2.desktop $out/share/applications/protonup-qt.desktop
install -Dm644 ${src}/net.davidotek.pupgui2.png $out/share/pixmaps/protonup-qt.png
substituteInPlace $out/share/applications/protonup-qt.desktop \
--replace-fail "Exec=net.davidotek.pupgui2" "Exec=protonup-qt" \
--replace-fail "Icon=net.davidotek.pupgui2" "Icon=protonup-qt"
wrapProgram $out/bin/protonup-qt \
--unset QT_PLUGIN_PATH \
--unset QML2_IMPORT_PATH
'';
extraPkgs = pkgs: with pkgs; [ zstd ];
meta = {
homepage = "https://davidotek.github.io/protonup-qt/";
description = "Install and manage Proton-GE and Luxtorpeda for Steam and Wine-GE for Lutris with this graphical user interface";
license = lib.licenses.gpl3Plus;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
mainProgram = "protonup-qt";
changelog = "https://github.com/DavidoTek/ProtonUp-Qt/releases/tag/v${version}";
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ michaelBelsanti ];
};
}
+3 -3
View File
@@ -9,16 +9,16 @@
buildGoModule rec {
pname = "pscale";
version = "0.230.0";
version = "0.236.0";
src = fetchFromGitHub {
owner = "planetscale";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-aWml3iTcci1V8RkiCrvv+E7zmW5JJCDzDNv2RaDhjAg=";
sha256 = "sha256-sL/TBcUtHYqZuUp5JlcKshwlyVSf0t0XukMmRkWRyvk=";
};
vendorHash = "sha256-soDM7IfgTKWZnFNfGSlKH4aScGr1A26OZrgqiJ5UAlA=";
vendorHash = "sha256-Uw4A6RBq0OiBHWRfmj9wKI2FenDN6C8CWEsKicGS/1Q=";
ldflags = [
"-s"
+13
View File
@@ -0,0 +1,13 @@
diff --git a/cmd/root.go b/cmd/root.go
index 5ef5d46..e99b245 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -139,7 +139,7 @@ const (
)
var rootCmd = &cobra.Command{
- Use: fmt.Sprintf("%s [command] [flags]", utils.GlobalFlags.Project),
+ Use: fmt.Sprintf("sbom-utility [command] [flags]"),
SilenceErrors: false,
SilenceUsage: false,
Short: MSG_APP_NAME,
+39 -2
View File
@@ -2,11 +2,18 @@
lib,
buildGoModule,
fetchFromGitHub,
fetchpatch,
versionCheckHook,
installShellFiles,
stdenv,
}:
buildGoModule rec {
pname = "sbom-utility";
let
version = "0.17.0";
in
buildGoModule {
pname = "sbom-utility";
inherit version;
src = fetchFromGitHub {
owner = "CycloneDX";
@@ -17,10 +24,40 @@ buildGoModule rec {
vendorHash = "sha256-vyYSir5u6d5nv+2ScrHpasQGER4VFSoLb1FDUDIrtDM=";
patches = [
# work around https://github.com/CycloneDX/sbom-utility/issues/121, which otherwise
# breaks shell completions
./name.patch
# Output logs to stderr rather than stdout.
# Patch of https://github.com/CycloneDX/sbom-utility/pull/122, adapted to apply
# against v0.17.0
./stderr.patch
];
ldflags = [
"-X main.Version=${version}"
];
nativeBuildInputs = [
installShellFiles
];
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
preCheck = ''
cd test
'';
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
for shell in bash fish zsh; do
installShellCompletion --cmd sbom-utility \
--$shell <($out/bin/sbom-utility -q completion $shell)
done
'';
meta = with lib; {
description = "Utility that provides an API platform for validating, querying and managing BOM data";
homepage = "https://github.com/CycloneDX/sbom-utility";
+67
View File
@@ -0,0 +1,67 @@
diff --git a/log/log.go b/log/log.go
index 2615f0a..c82b6c5 100644
--- a/log/log.go
+++ b/log/log.go
@@ -104,7 +104,7 @@ func NewDefaultLogger() *MiniLogger {
tagEnter: DEFAULT_ENTER_TAG,
tagExit: DEFAULT_EXIT_TAG,
tagColor: color.New(color.FgMagenta),
- outputFile: os.Stdout,
+ outputFile: os.Stderr,
maxStrLength: 64,
}
@@ -361,7 +361,7 @@ func (log MiniLogger) dumpInterface(lvl Level, tag string, value interface{}, sk
}
// TODO: use a general output writer (set to stdout, stderr, or file stream)
- fmt.Println(sb.String())
+ fmt.Fprintln(log.outputFile, sb.String())
} else {
os.Stderr.WriteString("Error: Unable to retrieve call stack. Exiting...")
os.Exit(-2)
@@ -370,7 +370,7 @@ func (log MiniLogger) dumpInterface(lvl Level, tag string, value interface{}, sk
}
func (log MiniLogger) DumpString(value string) {
- fmt.Print(value)
+ fmt.Fprint(log.outputFile, value)
}
func (log MiniLogger) DumpStruct(structName string, field interface{}) error {
@@ -389,7 +389,7 @@ func (log MiniLogger) DumpStruct(structName string, field interface{}) error {
}
// TODO: print to output stream
- fmt.Println(sb.String())
+ fmt.Fprintln(log.outputFile, sb.String())
return nil
}
@@ -398,8 +398,8 @@ func (log MiniLogger) DumpArgs() {
args := os.Args
for i, a := range args {
// TODO: print to output stream
- fmt.Print(log.indentRunes)
- fmt.Printf("os.Arg[%d]: `%v`\n", i, a)
+ fmt.Fprint(log.outputFile, log.indentRunes)
+ fmt.Fprintf(log.outputFile, "os.Arg[%d]: `%v`\n", i, a)
}
}
@@ -409,7 +409,7 @@ func (log MiniLogger) DumpSeparator(sep byte, repeat int) (string, error) {
for i := 0; i < repeat; i++ {
sb.WriteByte(sep)
}
- fmt.Println(sb.String())
+ fmt.Fprintln(log.outputFile, sb.String())
return sb.String(), nil
} else {
return "", errors.New("invalid repeat length (>80)")
@@ -417,5 +417,5 @@ func (log MiniLogger) DumpSeparator(sep byte, repeat int) (string, error) {
}
func (log *MiniLogger) DumpStackTrace() {
- fmt.Println(string(debug.Stack()))
+ fmt.Fprintln(log.outputFile, string(debug.Stack()))
}
+44
View File
@@ -0,0 +1,44 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
pname = "sou";
version = "0.2.0";
src = fetchFromGitHub {
owner = "knqyf263";
repo = "sou";
tag = "v${finalAttrs.version}";
hash = "sha256-uGYCmW60OvEfserujQMXC9r8S8W+EN+w9EXUGjk1vtw=";
};
vendorHash = "sha256-6kgiZx/g1PA7R50z7noG+ql+S9wSgTuVTkY5DIqeJHY=";
ldflags = [
"-s"
"-w"
"-X=main.version=${finalAttrs.version}"
];
doInstallCheck = true;
nativeInstallCheck = [ versionCheckHook ];
# Some of the tests use localhost networking
__darwinAllowLocalNetworking = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool for exploring files in container image layers";
homepage = "https://github.com/knqyf263/sou";
changelog = "https://github.com/knqyf263/sou/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nicolas-goudry ];
mainProgram = "sou";
};
})
+4 -3
View File
@@ -9,16 +9,16 @@
rustPlatform.buildRustPackage rec {
pname = "syndicate-server";
version = "0.48.0";
version = "0.50.1";
src = fetchFromGitea {
domain = "git.syndicate-lang.org";
owner = "syndicate-lang";
repo = "syndicate-rs";
rev = "${pname}-v${version}";
hash = "sha256-DVgFlJCqaTmQ7eL2LQ8rkIbvaEfwx+NDeXRA8qB+/Qo=";
hash = "sha256-orQN83DE+ZNgdx2PVcYrte/rVDFFtuQuRDKzeumpsLo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-P/NYyoH/9kkyBwCGORK9bxEjyye12SP3hRDnL9c6i78=";
cargoHash = "sha256-lR36UAMedPdfvX613adxxRzJe+Ri09hiZYanyu7xbLU=";
nativeBuildInputs = [
pkg-config
versionCheckHook
@@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec {
RUSTC_BOOTSTRAP = 1;
doCheck = false;
doInstallCheck = true;
meta = {
+3 -3
View File
@@ -14,17 +14,17 @@
rustPlatform.buildRustPackage rec {
pname = "tpnote";
version = "1.25.6";
version = "1.25.7";
src = fetchFromGitHub {
owner = "getreu";
repo = "tp-note";
tag = "v${version}";
hash = "sha256-9mj88mUCpMPBIUrwAL61/XAtn3OQ3EtdP8ZlQBHE4/I=";
hash = "sha256-lTUS3sAMq5FPxC8Moi6a+S71XtG+9AlBTO/cDVTrncM=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-K/vtA6Gr015xwuJBge+QDW3MQMJNyKyfxtkV6fs/zmE=";
cargoHash = "sha256-3oallbuiRrBDAWsIl8vGz3xbjPIb5ceBmQsNHVOWbTE=";
nativeBuildInputs = [
cmake
+14
View File
@@ -19,6 +19,20 @@ buildGoModule rec {
vendorHash = "sha256-c6H/8/dmCWasFKVR15U/kty4AzQAqmiL/VLKrPtH+s4=";
ldflags = [
"-X github.com/p4gefau1t/trojan-go/constant.Version=v${version}"
"-X github.com/p4gefau1t/trojan-go/constant.Commit=v${version}"
];
tags = [
"api"
"client"
"server"
"forward"
"nat"
"other"
];
# tests fail due to requiring networking
doCheck = false;
+3 -3
View File
@@ -11,16 +11,16 @@
buildGoModule rec {
pname = "updatecli";
version = "0.96.0";
version = "0.97.0";
src = fetchFromGitHub {
owner = "updatecli";
repo = "updatecli";
rev = "v${version}";
hash = "sha256-znl0yUqnN9eQHY18wPfcYiUnsGw349tLSkZNa/Wz2KA=";
hash = "sha256-3I7SRtbMKPm/j8bdIvVHkRy/5Jq8goZ0hyREsfsM5OU=";
};
vendorHash = "sha256-jUVoNTA1wVHNjxkLBgERo8650dxpzmuVBGiAw5sUql0=";
vendorHash = "sha256-LUc73GyBj72kwQXUEnwkkGPmkIXhAhiKJiLcc1IiAps=";
# tests require network access
doCheck = false;
+3 -3
View File
@@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "zircolite";
version = "2.30.1";
version = "2.40.0";
format = "other";
src = fetchFromGitHub {
owner = "wagga40";
repo = "Zircolite";
tag = version;
hash = "sha256-9stQa0EMNA/qEN+bU7qBOdcwUR1vMGk70Br6wxRK8cs=";
hash = "sha256-11jNd7Ids2aB+R+Hv6n8Wfm2hDuKCxC0EMZSBWJfDos=";
};
__darwinAllowLocalNetworking = true;
@@ -58,7 +58,7 @@ python3.pkgs.buildPythonApplication rec {
description = "SIGMA-based detection tool for EVTX, Auditd, Sysmon and other logs";
mainProgram = "zircolite";
homepage = "https://github.com/wagga40/Zircolite";
changelog = "https://github.com/wagga40/Zircolite/releases/tag/${version}";
changelog = "https://github.com/wagga40/Zircolite/releases/tag/${src.tag}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
@@ -26,6 +26,7 @@ mkWrapper "sdk" (
paths = dotnetPackages;
pathsToLink = map (x: "/share/dotnet/${x}") [
"host"
"metadata"
"packs"
"sdk"
"sdk-manifests"
@@ -549,24 +549,24 @@ self: super:
# Manually maintained
cachix-api = overrideCabal (drv: {
version = "1.7.7";
version = "1.7.8";
src = pkgs.fetchFromGitHub {
owner = "cachix";
repo = "cachix";
rev = "v1.7.7";
hash = "sha256-D0gP8srrX0qj+wNYNPdtVJsQuFzIng3q43thnHXQ/es=";
tag = "v1.7.8";
hash = "sha256-pb5aYkE8FOoa4n123slgHiOf1UbNSnKe5pEZC+xXD5g=";
};
postUnpack = "sourceRoot=$sourceRoot/cachix-api";
}) super.cachix-api;
cachix = (
overrideCabal
(drv: {
version = "1.7.7";
version = "1.7.8";
src = pkgs.fetchFromGitHub {
owner = "cachix";
repo = "cachix";
rev = "v1.7.7";
hash = "sha256-D0gP8srrX0qj+wNYNPdtVJsQuFzIng3q43thnHXQ/es=";
tag = "v1.7.8";
hash = "sha256-pb5aYkE8FOoa4n123slgHiOf1UbNSnKe5pEZC+xXD5g=";
};
postUnpack = "sourceRoot=$sourceRoot/cachix";
})
@@ -14,7 +14,7 @@
stdenv.mkDerivation rec {
pname = "sundials";
version = "7.2.1";
version = "7.3.0";
outputs = [
"out"
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/LLNL/sundials/releases/download/v${version}/sundials-${version}.tar.gz";
hash = "sha256-N4Hj983zcsoS9/vmT1Yai5pQe4qLLE1s4o2OTfS+++o=";
hash = "sha256-/ZcKkCP46je4HFBlwGe/Fyb2VrOfWQe0gWmm+Y0wa6c=";
};
nativeBuildInputs = [
@@ -3564,15 +3564,15 @@ final: prev: {
}:
buildLuarocksPackage {
pname = "lze";
version = "0.11.0-1";
version = "0.11.1-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/lze-0.11.0-1.rockspec";
sha256 = "05465ndcfvvyvvxz8h7xm9vrcfbfhvs6sbrcy73cl5s44r46ym00";
url = "mirror://luarocks/lze-0.11.1-1.rockspec";
sha256 = "1wikzksjz7nqshnc6pbdaq5yfa4cxc5kh06shvahfxxwz2n3q7i4";
}).outPath;
src = fetchzip {
url = "https://github.com/BirdeeHub/lze/archive/v0.11.0.zip";
sha256 = "1awqix5xx4pkv09gba5xwv67qyi2qzf9aji48bk2xr431vshz5jv";
url = "https://github.com/BirdeeHub/lze/archive/v0.11.1.zip";
sha256 = "14lx8addmi1zr57141gvwlv0i7rgachybfynmmw8bqkadhwaz470";
};
disabled = luaOlder "5.1";
@@ -3595,15 +3595,15 @@ final: prev: {
}:
buildLuarocksPackage {
pname = "lzextras";
version = "0.3.0-1";
version = "0.4.0-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/lzextras-0.3.0-1.rockspec";
sha256 = "1w8ar8qi1hnbnj70f3lhrzf0hp1d0jbvya9v318pqcd16wh7x6ii";
url = "mirror://luarocks/lzextras-0.4.0-1.rockspec";
sha256 = "12s4jy3xqzb1dcan0gmgza6c9wyh44h348f4m3zzj29icffx4vyv";
}).outPath;
src = fetchzip {
url = "https://github.com/BirdeeHub/lzextras/archive/v0.3.0.zip";
sha256 = "0942wnlk7cf74z2ni3dhv2zm8ld4nazs9ciaql00vvbswh4a9z2w";
url = "https://github.com/BirdeeHub/lzextras/archive/v0.4.0.zip";
sha256 = "1c92vm5q9vrr1imc3h9z9vvpkhlayywgk1n3wfkqbfi37ni066kw";
};
disabled = luaOlder "5.1";
@@ -0,0 +1,113 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
stdenv,
# build-system
setuptools,
# dependencies
absl-py,
dm-env,
etils,
flask,
flask-cors,
flax,
grpcio,
gym,
jax,
jaxlib,
jaxopt,
jinja2,
ml-collections,
mujoco,
mujoco-mjx,
numpy,
optax,
orbax-checkpoint,
pillow,
pytinyrenderer,
scipy,
tensorboardx,
trimesh,
# tests
pytestCheckHook,
pytest-xdist,
transforms3d,
}:
buildPythonPackage rec {
pname = "brax";
version = "0.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "brax";
tag = "v${version}";
hash = "sha256-whkkqTTy5CY6soyS5D7hWtBZuVHc6si1ArqwLgzHDkw=";
};
build-system = [
setuptools
];
dependencies = [
absl-py
# TODO: remove dm_env after dropping legacy v1 code
dm-env
etils
flask
flask-cors
flax
# TODO: remove grpcio and gym after dropping legacy v1 code
grpcio
gym
jax
jaxlib
jaxopt
jinja2
ml-collections
mujoco
mujoco-mjx
numpy
optax
orbax-checkpoint
pillow
# TODO: remove pytinyrenderer after dropping legacy v1 code
pytinyrenderer
scipy
tensorboardx
trimesh
];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
transforms3d
];
disabledTests = lib.optionals stdenv.hostPlatform.isAarch64 [
# Flaky:
# AssertionError: Array(-0.00135638, dtype=float32) != 0.0 within 0.001 delta (Array(0.00135638, dtype=float32) difference)
"test_pendulum_period2"
];
disabledTestPaths = [
# ValueError: matmul: Input operand 1 has a mismatch in its core dimension
"brax/generalized/constraint_test.py"
];
pythonImportsCheck = [
"brax"
];
meta = {
description = "Massively parallel rigidbody physics simulation on accelerator hardware";
homepage = "https://github.com/google/brax";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nim65s ];
};
}
@@ -33,13 +33,13 @@
buildPythonPackage rec {
pname = "marimo";
version = "0.12.0";
version = "0.12.2";
pyproject = true;
# The github archive does not include the static assets
src = fetchPypi {
inherit pname version;
hash = "sha256-cZK0Z4pN8oYdBvJd5JeSAMdexiF4H/fVIj7bVLp5Ww8=";
hash = "sha256-FrOuujO0YUneQYQdnVKKzJIGqfcUoHDWpf28SJlAgOY=";
};
build-system = [ hatchling ];
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
# src / metadata
mujoco-main,
# build-system
setuptools,
# dependencies
absl-py,
etils,
importlib-resources,
jax,
jaxlib,
mujoco,
scipy,
trimesh,
}:
buildPythonPackage {
pname = "mujoco-mjx";
inherit (mujoco-main) src version;
pyproject = true;
sourceRoot = "${mujoco-main.src.name}/mjx";
build-system = [ setuptools ];
dependencies = [
absl-py
etils
importlib-resources
jax
jaxlib
mujoco
scipy
trimesh
] ++ etils.optional-dependencies.epath;
pythonImportsCheck = [ "mujoco.mjx" ];
meta = {
description = "MuJoCo XLA (MJX)";
inherit (mujoco.meta) homepage changelog license;
maintainers = with lib.maintainers; [ nim65s ];
};
}
@@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "pyghmi";
version = "1.5.76";
version = "1.5.77";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-nJEL9x/+fZT/vpAKL5qVLXYVPcMvUXT9WSEvHzOrGZU=";
hash = "sha256-RGV3d944MKrbuBM/eX9NIyHiasmLkkHH+zyeEjkIt7U=";
};
build-system = [
@@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "pytinyrenderer";
version = "0.0.14";
pyproject = true;
# github has no tags
src = fetchPypi {
inherit pname version;
hash = "sha256-X+20eYUJy5EaA6O8no3o1NWqNrHeUuuHjv7xBLlaPRU=";
};
build-system = [
setuptools
];
pythonImportsCheck = [
"pytinyrenderer"
];
# There are no tests in the pypi archive
doCheck = false;
meta = {
description = "Python bindings for Tiny Renderer";
homepage = "https://pypi.org/project/pytinyrenderer/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nim65s ];
};
}
-36
View File
@@ -1,36 +0,0 @@
{
lib,
stdenv,
fetchurl,
makeWrapper,
python2,
}:
stdenv.mkDerivation {
pname = "ecryptfs-helper";
version = "20160722";
src = fetchurl {
url = "https://gist.githubusercontent.com/obadz/ec053fdb00dcb48441d8313169874e30/raw/4b657a4b7c3dc684e4d5e3ffaf46ced1b7675163/ecryptfs-helper.py";
sha256 = "0gp4m22zc80814ng80s38hp930aa8r4zqihr7jr23m0m2iq4pdpg";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
# Do not hardcode PATH to ${ecryptfs} as we need the script to invoke executables from /run/wrappers/bin
installPhase = ''
mkdir -p $out/bin $out/libexec
cp $src $out/libexec/ecryptfs-helper.py
makeWrapper "${python2.interpreter}" "$out/bin/ecryptfs-helper" --add-flags "$out/libexec/ecryptfs-helper.py"
'';
meta = with lib; {
description = "Helper script to create/mount/unemount encrypted directories using eCryptfs without needing root permissions";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ obadz ];
platforms = platforms.linux;
hydraPlatforms = [ ];
};
}
+1
View File
@@ -533,6 +533,7 @@ mapAliases {
ec2_api_tools = throw "'ec2_api_tools' has been renamed to/replaced by 'ec2-api-tools'"; # Converted to throw 2024-10-17
ec2-utils = amazon-ec2-utils; # Added 2022-02-01
ecryptfs-helper = throw "'ecryptfs-helper' has been removed, for filesystem-level encryption, use fscrypt"; # Added 2025-04-08
edUnstable = throw "edUnstable was removed; use ed instead"; # Added 2024-07-01
edgedb = throw "edgedb replaced to gel because of change of upstream"; # Added 2025-02-24
elasticsearch7Plugins = elasticsearchPlugins;
+1 -14
View File
@@ -3251,8 +3251,6 @@ with pkgs;
ecryptfs = callPackage ../tools/security/ecryptfs { };
ecryptfs-helper = callPackage ../tools/security/ecryptfs/helper.nix { };
eid-mw = callPackage ../tools/security/eid-mw {
autoreconfHook = buildPackages.autoreconfHook269;
};
@@ -4183,8 +4181,6 @@ with pkgs;
nanoemoji = with python3Packages; toPythonApplication nanoemoji;
netexec = callPackage ../tools/security/netexec { };
netdata = callPackage ../tools/system/netdata {
protobuf = protobuf_21;
};
@@ -13837,8 +13833,7 @@ with pkgs;
av-98 = callPackage ../applications/networking/browsers/av-98 { };
bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { };
bambootracker-qt6 = qt6Packages.callPackage ../applications/audio/bambootracker { };
bambootracker-qt6 = bambootracker.override { withQt6 = true; };
schismtracker = callPackage ../applications/audio/schismtracker {
inherit (darwin.apple_sdk.frameworks) Cocoa;
@@ -14758,8 +14753,6 @@ with pkgs;
pixinsight = qt6Packages.callPackage ../applications/graphics/pixinsight { };
protonup-qt = python3Packages.callPackage ../applications/misc/protonup-qt { };
inherit (callPackage ../applications/virtualization/singularity/packages.nix { })
apptainer
singularity
@@ -15775,10 +15768,6 @@ with pkgs;
stdenv = gccStdenv;
};
peertube = callPackage ../servers/peertube {
nodejs = nodejs_18;
};
photoflare = libsForQt5.callPackage ../applications/graphics/photoflare { };
phototonic = libsForQt5.callPackage ../applications/graphics/phototonic { };
@@ -18503,8 +18492,6 @@ with pkgs;
qcsxcad = libsForQt5.qcsxcad;
};
openroad = libsForQt5.callPackage ../applications/science/electronics/openroad { };
qucs-s = qt6Packages.callPackage ../applications/science/electronics/qucs-s { };
xyce = callPackage ../applications/science/electronics/xyce { };
+6
View File
@@ -2025,6 +2025,8 @@ self: super: with self; {
bravia-tv = callPackage ../development/python-modules/bravia-tv { };
brax = callPackage ../development/python-modules/brax { };
breathe = callPackage ../development/python-modules/breathe { };
breezy = callPackage ../development/python-modules/breezy { };
@@ -9089,6 +9091,8 @@ self: super: with self; {
mujoco = callPackage ../development/python-modules/mujoco { inherit (pkgs) mujoco; };
mujoco-mjx = callPackage ../development/python-modules/mujoco-mjx { mujoco-main = pkgs.mujoco; };
mujson = callPackage ../development/python-modules/mujson { };
mullvad-api = callPackage ../development/python-modules/mullvad-api { };
@@ -14268,6 +14272,8 @@ self: super: with self; {
pytimeparse2 = callPackage ../development/python-modules/pytimeparse2 { };
pytinyrenderer = callPackage ../development/python-modules/pytinyrenderer { };
pytlv = callPackage ../development/python-modules/pytlv { };
pytm = callPackage ../development/python-modules/pytm { };