Merge master into staging-next

authored by nixpkgs-ci[bot] and committed by GitHub 68cbd06e 2c9e477c

+1453 -858
+20
doc/build-helpers/testers.chapter.md
··· 40 41 ::: 42 43 ## `lycheeLinkCheck` {#tester-lycheeLinkCheck} 44 45 Check a packaged static site's links with the [`lychee` package](https://search.nixos.org/packages?show=lychee&type=packages&query=lychee).
··· 40 41 ::: 42 43 + ## `hasCmakeConfigModules` {#tester-hasCmakeConfigModules} 44 + 45 + Checks whether a package exposes a given list of `*config.cmake` modules. 46 + Note the moduleNames used in cmake find_package are case sensitive. 47 + 48 + :::{.example #ex-hascmakeconfigmodules} 49 + 50 + # Check that `*config.cmake` modules are exposed using explicit module names 51 + 52 + ```nix 53 + { 54 + passthru.tests.cmake-config = testers.hasCmakeConfigModules { 55 + package = finalAttrs.finalPackage; 56 + moduleNames = [ "Foo" ]; 57 + }; 58 + } 59 + ``` 60 + 61 + ::: 62 + 63 ## `lycheeLinkCheck` {#tester-lycheeLinkCheck} 64 65 Check a packaged static site's links with the [`lychee` package](https://search.nixos.org/packages?show=lychee&type=packages&query=lychee).
+6
doc/redirects.json
··· 1709 "ex-haspkgconfigmodules-explicitmodules": [ 1710 "index.html#ex-haspkgconfigmodules-explicitmodules" 1711 ], 1712 "tester-lycheeLinkCheck": [ 1713 "index.html#tester-lycheeLinkCheck" 1714 ],
··· 1709 "ex-haspkgconfigmodules-explicitmodules": [ 1710 "index.html#ex-haspkgconfigmodules-explicitmodules" 1711 ], 1712 + "tester-hasCmakeConfigModules": [ 1713 + "index.html#tester-hasCmakeConfigModules" 1714 + ], 1715 + "ex-hascmakeconfigmodules": [ 1716 + "index.html#ex-hascmakeconfigmodules" 1717 + ], 1718 "tester-lycheeLinkCheck": [ 1719 "index.html#tester-lycheeLinkCheck" 1720 ],
+6
maintainers/maintainer-list.nix
··· 17895 githubId = 810877; 17896 name = "Tom Doggett"; 17897 }; 17898 noisersup = { 17899 email = "patryk@kwiatek.xyz"; 17900 github = "noisersup";
··· 17895 githubId = 810877; 17896 name = "Tom Doggett"; 17897 }; 17898 + noiioiu = { 17899 + github = "noiioiu"; 17900 + githubId = 151288161; 17901 + name = "noiioiu"; 17902 + keys = [ { fingerprint = "99CC 06D6 1456 3689 CE75 58F3 BF51 F00D 0748 2A89"; } ]; 17903 + }; 17904 noisersup = { 17905 email = "patryk@kwiatek.xyz"; 17906 github = "noisersup";
+2 -2
nixos/modules/programs/yazi.nix
··· 76 example = lib.literalExpression '' 77 { 78 foo = ./foo; 79 - bar = pkgs.bar; 80 } 81 ''; 82 }; ··· 97 example = lib.literalExpression '' 98 { 99 foo = ./foo; 100 - bar = pkgs.bar; 101 } 102 ''; 103 };
··· 76 example = lib.literalExpression '' 77 { 78 foo = ./foo; 79 + inherit (pkgs.yaziPlugins) bar; 80 } 81 ''; 82 }; ··· 97 example = lib.literalExpression '' 98 { 99 foo = ./foo; 100 + inherit (pkgs.yaziPlugins) bar; 101 } 102 ''; 103 };
+22 -13
nixos/tests/tracee.nix
··· 20 # Test_EventFilters/trace_only_events_from_"dockerd"_binary_and_contain_it's_pid 21 # require docker/dockerd 22 virtualisation.docker.enable = true; 23 - 24 - environment.systemPackages = with pkgs; [ 25 - # required by Test_EventFilters/trace_events_from_ls_and_which_binary_in_separate_scopes 26 - which 27 - # the go integration tests as a binary 28 - tracee.passthru.tests.integration-test-cli 29 - ]; 30 }; 31 }; 32 ··· 38 # the policies and run tracee myself but doesn't work in the integration 39 # test either with the automatic run or running the commands by hand 40 # while it's searching. 41 - "Test_EventFilters/comm:_event:_args:_trace_event_set_in_a_specific_policy_with_args_from_ls_command" 42 "Test_EventFilters/comm:_event:_trace_events_set_in_two_specific_policies_from_ls_and_uname_commands" 43 - 44 - # worked at some point, seems to be flakey 45 - "Test_EventFilters/pid:_event:_args:_trace_event_sched_switch_with_args_from_pid_0" 46 ]; 47 in 48 '' ··· 61 ) 62 63 with subtest("run integration tests"): 64 - # Test_EventFilters/trace_event_set_in_a_specific_scope expects to be in a dir that includes "integration" 65 # tests must be ran with 1 process 66 print(machine.succeed( 67 'mkdir /tmp/integration', 68 - 'cd /tmp/integration && export PATH="/tmp/testdir:$PATH" && integration.test -test.v -test.parallel 1 -test.skip="^${builtins.concatStringsSep "$|^" skippedTests}$"' 69 )) 70 ''; 71 }
··· 20 # Test_EventFilters/trace_only_events_from_"dockerd"_binary_and_contain_it's_pid 21 # require docker/dockerd 22 virtualisation.docker.enable = true; 23 + environment = { 24 + variables.PATH = "/tmp/testdir"; 25 + systemPackages = with pkgs; [ 26 + # 'ls', 'uname' and 'who' are required by many tests in event_filters_test.go 27 + coreutils 28 + # the go integration tests as a binary 29 + tracee.passthru.tests.integration-test-cli 30 + ]; 31 + }; 32 }; 33 }; 34 ··· 40 # the policies and run tracee myself but doesn't work in the integration 41 # test either with the automatic run or running the commands by hand 42 # while it's searching. 43 + "Test_EventFilters/comm:_event:_data:_trace_event_magic_write_set_in_multiple_policies_using_multiple_filter_types" 44 + "Test_EventFilters/comm:_event:_data:_trace_event_security_file_open_and_magic_write_using_multiple_filter_types" 45 + "Test_EventFilters/comm:_event:_data:_trace_event_security_file_open_and_magic_write_using_multiple_filter_types_combined" 46 + "Test_EventFilters/comm:_event:_data:_trace_event_security_file_open_set_in_multiple_policies_\\(with_and_without_in-kernel_filter\\)" 47 + "Test_EventFilters/comm:_event:_data:_trace_event_security_file_open_set_in_multiple_policies_using_multiple_filter_types" 48 + "Test_EventFilters/comm:_event:_data:_trace_event_set_in_a_specific_policy_with_data_from_ls_command" 49 "Test_EventFilters/comm:_event:_trace_events_set_in_two_specific_policies_from_ls_and_uname_commands" 50 + "Test_EventFilters/pid:_event:_data:_trace_event_sched_switch_with_data_from_pid_0" 51 + "Test_EventsDependencies/non_existing_ksymbol_dependency_with_sanity" 52 + "Test_EventsDependencies/non_existing_probe_function_with_sanity" 53 + "Test_EventsDependencies/sanity_of_exec_test_event" 54 + "Test_TraceeCapture/capture_packet_context" 55 ]; 56 in 57 '' ··· 70 ) 71 72 with subtest("run integration tests"): 73 + # Test_EventFilters/comm:_event:_data:_trace_event_set_in_a_specific_policy_with_data_from_ls_command expects to be in a dir that includes "integration" 74 # tests must be ran with 1 process 75 print(machine.succeed( 76 'mkdir /tmp/integration', 77 + 'cd /tmp/integration && integration.test -test.v -test.parallel 1 -test.skip="^${builtins.concatStringsSep "$|^" skippedTests}$"' 78 )) 79 ''; 80 }
+5 -1
pkgs/applications/audio/librespot/default.nix
··· 15 libpulseaudio, 16 withRodio ? true, 17 withAvahi ? false, 18 avahi-compat, 19 }: 20 ··· 44 buildInputs = 45 [ openssl ] 46 ++ lib.optional withALSA alsa-lib 47 - ++ lib.optional withAvahi avahi-compat 48 ++ lib.optional withPortAudio portaudio 49 ++ lib.optional withPulseAudio libpulseaudio; 50 51 buildNoDefaultFeatures = true; 52 buildFeatures = 53 lib.optional withRodio "rodio-backend" 54 ++ lib.optional withALSA "alsa-backend" 55 ++ lib.optional withAvahi "with-avahi" 56 ++ lib.optional withPortAudio "portaudio-backend"
··· 15 libpulseaudio, 16 withRodio ? true, 17 withAvahi ? false, 18 + withMDNS ? true, 19 + withDNS-SD ? false, 20 avahi-compat, 21 }: 22 ··· 46 buildInputs = 47 [ openssl ] 48 ++ lib.optional withALSA alsa-lib 49 + ++ lib.optional withDNS-SD avahi-compat 50 ++ lib.optional withPortAudio portaudio 51 ++ lib.optional withPulseAudio libpulseaudio; 52 53 buildNoDefaultFeatures = true; 54 buildFeatures = 55 lib.optional withRodio "rodio-backend" 56 + ++ lib.optional withMDNS "with-libmdns" 57 + ++ lib.optional withDNS-SD "with-dns-sd" 58 ++ lib.optional withALSA "alsa-backend" 59 ++ lib.optional withAvahi "with-avahi" 60 ++ lib.optional withPortAudio "portaudio-backend"
+28 -26
pkgs/applications/audio/mopidy/mopidy.nix
··· 24 25 nativeBuildInputs = [ wrapGAppsNoGuiHook ]; 26 27 - buildInputs = with gst_all_1; [ 28 - glib-networking 29 - gst-plugins-bad 30 - gst-plugins-base 31 - gst-plugins-good 32 - gst-plugins-ugly 33 - # Required patches for the Spotify plugin (https://github.com/mopidy/mopidy-spotify/releases/tag/v5.0.0a3) 34 - (gst-plugins-rs.overrideAttrs ( 35 - newAttrs: oldAttrs: { 36 - cargoDeps = oldAttrs.cargoDeps.overrideAttrs (oldAttrs': { 37 - vendorStaging = oldAttrs'.vendorStaging.overrideAttrs { 38 - inherit (newAttrs) patches; 39 - outputHash = "sha256-urRYH5N1laBq1/SUEmwFKAtsHAC+KWYfYp+fmb7Ey7s="; 40 - }; 41 - }); 42 43 - # https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1801/ 44 - patches = oldAttrs.patches or [ ] ++ [ 45 - ./spotify-access-token-auth.patch 46 - ]; 47 - } 48 - )) 49 - pipewire 50 - ]; 51 52 propagatedBuildInputs = 53 [ gobject-introspection ] ··· 73 inherit (nixosTests) mopidy; 74 }; 75 76 - meta = with lib; { 77 homepage = "https://www.mopidy.com/"; 78 description = "Extensible music server that plays music from local disk, Spotify, SoundCloud, and more"; 79 mainProgram = "mopidy"; 80 - license = licenses.asl20; 81 - maintainers = [ maintainers.fpletz ]; 82 hydraPlatforms = [ ]; 83 }; 84 }
··· 24 25 nativeBuildInputs = [ wrapGAppsNoGuiHook ]; 26 27 + buildInputs = 28 + with gst_all_1; 29 + [ 30 + glib-networking 31 + gst-plugins-bad 32 + gst-plugins-base 33 + gst-plugins-good 34 + gst-plugins-ugly 35 + # Required patches for the Spotify plugin (https://github.com/mopidy/mopidy-spotify/releases/tag/v5.0.0a3) 36 + (gst-plugins-rs.overrideAttrs ( 37 + newAttrs: oldAttrs: { 38 + cargoDeps = oldAttrs.cargoDeps.overrideAttrs (oldAttrs': { 39 + vendorStaging = oldAttrs'.vendorStaging.overrideAttrs { 40 + inherit (newAttrs) patches; 41 + outputHash = "sha256-urRYH5N1laBq1/SUEmwFKAtsHAC+KWYfYp+fmb7Ey7s="; 42 + }; 43 + }); 44 45 + # https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1801/ 46 + patches = oldAttrs.patches or [ ] ++ [ 47 + ./spotify-access-token-auth.patch 48 + ]; 49 + } 50 + )) 51 + ] 52 + ++ lib.optional (!stdenv.hostPlatform.isDarwin) pipewire; 53 54 propagatedBuildInputs = 55 [ gobject-introspection ] ··· 75 inherit (nixosTests) mopidy; 76 }; 77 78 + meta = { 79 homepage = "https://www.mopidy.com/"; 80 description = "Extensible music server that plays music from local disk, Spotify, SoundCloud, and more"; 81 mainProgram = "mopidy"; 82 + license = lib.licenses.asl20; 83 + maintainers = [ lib.maintainers.fpletz ]; 84 hydraPlatforms = [ ]; 85 }; 86 }
+14 -8
pkgs/applications/audio/mopidy/tidal.nix
··· 1 { 2 lib, 3 python3Packages, 4 - fetchPypi, 5 mopidy, 6 }: 7 8 python3Packages.buildPythonApplication rec { 9 pname = "Mopidy-Tidal"; 10 - version = "0.3.2"; 11 12 - src = fetchPypi { 13 - inherit pname version; 14 - hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc="; 15 }; 16 17 - propagatedBuildInputs = [ 18 mopidy 19 python3Packages.tidalapi 20 ]; ··· 26 27 pytestFlagsArray = [ "tests/" ]; 28 29 - meta = with lib; { 30 description = "Mopidy extension for playing music from Tidal"; 31 homepage = "https://github.com/tehkillerbee/mopidy-tidal"; 32 - license = licenses.mit; 33 maintainers = [ ]; 34 }; 35 }
··· 1 { 2 lib, 3 python3Packages, 4 + fetchFromGitHub, 5 mopidy, 6 }: 7 8 python3Packages.buildPythonApplication rec { 9 pname = "Mopidy-Tidal"; 10 + version = "0.3.9"; 11 + pyproject = true; 12 13 + src = fetchFromGitHub { 14 + owner = "tehkillerbee"; 15 + repo = "mopidy-tidal"; 16 + rev = "v${version}"; 17 + hash = "sha256-RFhuxsb6nQPYxkaeAEABQdCwjbmnOw5pnmYnx6gNCcg="; 18 }; 19 20 + build-system = [ python3Packages.poetry-core ]; 21 + 22 + dependencies = [ 23 mopidy 24 python3Packages.tidalapi 25 ]; ··· 31 32 pytestFlagsArray = [ "tests/" ]; 33 34 + meta = { 35 description = "Mopidy extension for playing music from Tidal"; 36 homepage = "https://github.com/tehkillerbee/mopidy-tidal"; 37 + changelog = "https://github.com/tehkillerbee/mopidy-tidal/releases/tag/v${version}"; 38 + license = lib.licenses.mit; 39 maintainers = [ ]; 40 }; 41 }
+2 -2
pkgs/applications/editors/vscode/extensions/default.nix
··· 2449 mktplcRef = { 2450 name = "vscode-vibrancy-continued"; 2451 publisher = "illixion"; 2452 - version = "1.1.52"; 2453 - hash = "sha256-biSWnICmVPTf/zounQd6IfIPBMVDQzXjcCTgp5J00nA="; 2454 }; 2455 meta = { 2456 downloadPage = "https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued";
··· 2449 mktplcRef = { 2450 name = "vscode-vibrancy-continued"; 2451 publisher = "illixion"; 2452 + version = "1.1.53"; 2453 + hash = "sha256-6yhyGMX1U9clMNkcQRjNfa+HpLvWVI1WvhTUyn4g3ZY="; 2454 }; 2455 meta = { 2456 downloadPage = "https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued";
+5 -5
pkgs/applications/editors/vscode/extensions/tekumara.typos-vscode/default.nix
··· 14 { 15 x86_64-linux = { 16 arch = "linux-x64"; 17 - hash = "sha256-130QnFYclUmvlqWZ62g8/rMZsJF43heXi9thp+RHfLo="; 18 }; 19 aarch64-linux = { 20 arch = "linux-arm64"; 21 - hash = "sha256-K+ZfHzxOwp4lTC0929am/KOs8RdVk5MXGP8JTYP7pX4="; 22 }; 23 x86_64-darwin = { 24 arch = "darwin-x64"; 25 - hash = "sha256-H4N/nKWwv9IdQkjHeb1Q5VXoNguWXHZkB0s3MCfG17Y="; 26 }; 27 aarch64-darwin = { 28 arch = "darwin-arm64"; 29 - hash = "sha256-WyO18JIs3FCfcHh6p9YvrCk9SX/vSHQM2uI+AL9zFbo="; 30 }; 31 } 32 .${system} or (throw "Unsupported system: ${system}"); ··· 38 # Please update the corresponding binary (typos-lsp) 39 # when updating this extension. 40 # See pkgs/by-name/ty/typos-lsp/package.nix 41 - version = "0.1.37"; 42 inherit (extInfo) hash arch; 43 }; 44
··· 14 { 15 x86_64-linux = { 16 arch = "linux-x64"; 17 + hash = "sha256-pEmDg//DyZvSiJdvqlNH7kuK6Dz3w2tpeAPpUTVCraI="; 18 }; 19 aarch64-linux = { 20 arch = "linux-arm64"; 21 + hash = "sha256-Vh7VkYH93wVS+WzGsGZ/w+DzbE5Z4y4KFl2SvmAgcVI="; 22 }; 23 x86_64-darwin = { 24 arch = "darwin-x64"; 25 + hash = "sha256-Lmru00/I43IP9Wf3wtXsnh5rlzWPdvMtNImJzN5ELsg="; 26 }; 27 aarch64-darwin = { 28 arch = "darwin-arm64"; 29 + hash = "sha256-lh7YX65p/88GeAHAAGHovektYci3sXrXgdSyXJwfUF4="; 30 }; 31 } 32 .${system} or (throw "Unsupported system: ${system}"); ··· 38 # Please update the corresponding binary (typos-lsp) 39 # when updating this extension. 40 # See pkgs/by-name/ty/typos-lsp/package.nix 41 + version = "0.1.38"; 42 inherit (extInfo) hash arch; 43 }; 44
-44
pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/qt-6.9.patch
··· 1 - diff --git a/Telegram/SourceFiles/media/view/media_view_pip.cpp b/Telegram/SourceFiles/media/view/media_view_pip.cpp 2 - index 4e1d7c136..7c8f95888 100644 3 - --- a/Telegram/SourceFiles/media/view/media_view_pip.cpp 4 - +++ b/Telegram/SourceFiles/media/view/media_view_pip.cpp 5 - @@ -362,6 +362,10 @@ void PipPanel::init() { 6 - ) | rpl::filter(rpl::mappers::_1) | rpl::start_with_next([=] { 7 - // Workaround Qt's forced transient parent. 8 - Ui::Platform::ClearTransientParent(widget()); 9 - + }, rp()->lifetime()); 10 - + 11 - + rp()->shownValue( 12 - + ) | rpl::filter(rpl::mappers::_1) | rpl::start_with_next([=] { 13 - Ui::Platform::SetWindowMargins(widget(), _padding); 14 - }, rp()->lifetime()); 15 - 16 - Submodule Telegram/lib_base contains modified content 17 - diff --git a/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp b/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp 18 - index 8aca67c..6b781fb 100644 19 - --- a/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp 20 - +++ b/Telegram/lib_base/base/platform/linux/base_linux_xdp_utilities.cpp 21 - @@ -16,7 +16,11 @@ 22 - #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) 23 - #include <qpa/qplatformintegration.h> 24 - #include <private/qguiapplication_p.h> 25 - +#if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0) 26 - +#include <private/qdesktopunixservices_p.h> 27 - +#else // Qt >= 6.9.0 28 - #include <private/qgenericunixservices_p.h> 29 - +#endif // Qt < 6.9.0 30 - #endif // Qt >= 6.5.0 31 - 32 - #include <sstream> 33 - @@ -39,7 +43,10 @@ std::string ParentWindowID(QWindow *window) { 34 - } 35 - 36 - #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) 37 - - if (const auto services = dynamic_cast<QGenericUnixServices*>( 38 - +#if QT_VERSION < QT_VERSION_CHECK(6, 9, 0) 39 - + using QDesktopUnixServices = QGenericUnixServices; 40 - +#endif // Qt < 6.9.0 41 - + if (const auto services = dynamic_cast<QDesktopUnixServices*>( 42 - QGuiApplicationPrivate::platformIntegration()->services())) { 43 - return services->portalWindowIdentifier(window).toStdString(); 44 - }
···
+4 -10
pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/unwrapped.nix
··· 8 ninja, 9 clang, 10 python3, 11 tg_owt ? callPackage ./tg_owt.nix { inherit stdenv; }, 12 qtbase, 13 qtimageformats, ··· 46 47 stdenv.mkDerivation (finalAttrs: { 48 pname = "telegram-desktop-unwrapped"; 49 - version = "5.13.1"; 50 51 src = fetchFromGitHub { 52 owner = "telegramdesktop"; 53 repo = "tdesktop"; 54 rev = "v${finalAttrs.version}"; 55 fetchSubmodules = true; 56 - hash = "sha256-E9d5jWw4HeCO4sqDB0tXXgxM91kg1Gixi9B0xZQYe14="; 57 }; 58 59 - # Combined backport to fix Qt 6.9 issues: 60 - # - https://github.com/telegramdesktop/tdesktop/commit/8b92ab25c776899c5432bf935447cac6f0b3ea2d 61 - # - https://github.com/telegramdesktop/tdesktop/commit/c261c3367a11eeef69e6e346d339706dc4f00406 62 - # FIXME: remove in next update 63 - patches = [ 64 - ./qt-6.9.patch 65 - ]; 66 - 67 postPatch = lib.optionalString stdenv.hostPlatform.isLinux '' 68 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ 69 --replace-fail '"libasound.so.2"' '"${lib.getLib alsa-lib}/lib/libasound.so.2"' ··· 104 microsoft-gsl 105 boost 106 ada 107 ] 108 ++ lib.optionals stdenv.hostPlatform.isLinux [ 109 protobuf
··· 8 ninja, 9 clang, 10 python3, 11 + tdlib, 12 tg_owt ? callPackage ./tg_owt.nix { inherit stdenv; }, 13 qtbase, 14 qtimageformats, ··· 47 48 stdenv.mkDerivation (finalAttrs: { 49 pname = "telegram-desktop-unwrapped"; 50 + version = "5.14.3"; 51 52 src = fetchFromGitHub { 53 owner = "telegramdesktop"; 54 repo = "tdesktop"; 55 rev = "v${finalAttrs.version}"; 56 fetchSubmodules = true; 57 + hash = "sha256-nNYQpWbBK+E/LAbwTWpNUhs2+wb8iuMfqkxJKjaFmhg="; 58 }; 59 60 postPatch = lib.optionalString stdenv.hostPlatform.isLinux '' 61 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ 62 --replace-fail '"libasound.so.2"' '"${lib.getLib alsa-lib}/lib/libasound.so.2"' ··· 97 microsoft-gsl 98 boost 99 ada 100 + (tdlib.override { tde2eOnly = true; }) 101 ] 102 ++ lib.optionals stdenv.hostPlatform.isLinux [ 103 protobuf
+3
pkgs/applications/version-management/gitlab-triage/Gemfile
··· 1 source 'https://rubygems.org' do 2 gem 'gitlab-triage' 3 end
··· 1 source 'https://rubygems.org' do 2 gem 'gitlab-triage' 3 + # Extra dependencies 4 + gem 'csv' 5 + gem 'racc' 6 end
+44 -20
pkgs/applications/version-management/gitlab-triage/Gemfile.lock
··· 4 GEM 5 remote: https://rubygems.org/ 6 specs: 7 - activesupport (7.0.3) 8 - concurrent-ruby (~> 1.0, >= 1.0.2) 9 i18n (>= 1.6, < 2) 10 minitest (>= 5.1) 11 - tzinfo (~> 2.0) 12 - concurrent-ruby (1.1.10) 13 - gitlab-triage (1.23.1) 14 activesupport (>= 5.1) 15 - globalid (~> 0.4) 16 graphql-client (~> 0.16) 17 - httparty (~> 0.17) 18 - globalid (0.6.0) 19 - activesupport (>= 5.0) 20 - graphql (2.0.11) 21 - graphql-client (0.18.0) 22 activesupport (>= 3.0) 23 - graphql 24 httparty (0.20.0) 25 mime-types (~> 3.0) 26 multi_xml (>= 0.5.2) 27 - i18n (1.10.0) 28 concurrent-ruby (~> 1.0) 29 - mime-types (3.4.1) 30 - mime-types-data (~> 3.2015) 31 - mime-types-data (3.2022.0105) 32 - minitest (5.16.2) 33 - multi_xml (0.6.0) 34 - tzinfo (2.0.4) 35 concurrent-ruby (~> 1.0) 36 37 PLATFORMS 38 ruby 39 x86_64-linux 40 41 DEPENDENCIES 42 gitlab-triage! 43 44 BUNDLED WITH 45 - 2.3.9
··· 4 GEM 5 remote: https://rubygems.org/ 6 specs: 7 + activesupport (8.0.2) 8 + base64 9 + benchmark (>= 0.3) 10 + bigdecimal 11 + concurrent-ruby (~> 1.0, >= 1.3.1) 12 + connection_pool (>= 2.2.5) 13 + drb 14 i18n (>= 1.6, < 2) 15 + logger (>= 1.4.2) 16 minitest (>= 5.1) 17 + securerandom (>= 0.3) 18 + tzinfo (~> 2.0, >= 2.0.5) 19 + uri (>= 0.13.1) 20 + base64 (0.2.0) 21 + benchmark (0.4.0) 22 + bigdecimal (3.2.0) 23 + concurrent-ruby (1.3.5) 24 + connection_pool (2.5.3) 25 + csv (3.3.4) 26 + drb (2.2.3) 27 + gitlab-triage (1.44.5) 28 activesupport (>= 5.1) 29 + globalid (~> 1.0, >= 1.0.1) 30 + graphql (< 2.1.0) 31 graphql-client (~> 0.16) 32 + httparty (~> 0.20.0) 33 + globalid (1.2.1) 34 + activesupport (>= 6.1) 35 + graphql (2.0.32) 36 + base64 37 + graphql-client (0.25.0) 38 activesupport (>= 3.0) 39 + graphql (>= 1.13.0) 40 httparty (0.20.0) 41 mime-types (~> 3.0) 42 multi_xml (>= 0.5.2) 43 + i18n (1.14.7) 44 concurrent-ruby (~> 1.0) 45 + logger (1.7.0) 46 + mime-types (3.7.0) 47 + logger 48 + mime-types-data (~> 3.2025, >= 3.2025.0507) 49 + mime-types-data (3.2025.0527) 50 + minitest (5.25.5) 51 + multi_xml (0.7.2) 52 + bigdecimal (~> 3.1) 53 + racc (1.8.1) 54 + securerandom (0.4.1) 55 + tzinfo (2.0.6) 56 concurrent-ruby (~> 1.0) 57 + uri (1.0.3) 58 59 PLATFORMS 60 ruby 61 x86_64-linux 62 63 DEPENDENCIES 64 + csv! 65 gitlab-triage! 66 + racc! 67 68 BUNDLED WITH 69 + 2.6.6
+1 -1
pkgs/applications/version-management/gitlab-triage/default.nix
··· 13 14 meta = with lib; { 15 description = "GitLab's issues and merge requests triage, automated!"; 16 - homepage = "https://gitlab.com/gitlab-org/gitlab-triage"; 17 license = licenses.mit; 18 maintainers = [ ]; 19 mainProgram = "gitlab-triage";
··· 13 14 meta = with lib; { 15 description = "GitLab's issues and merge requests triage, automated!"; 16 + homepage = "https://gitlab.com/gitlab-org/ruby/gems/gitlab-triage"; 17 license = licenses.mit; 18 maintainers = [ ]; 19 mainProgram = "gitlab-triage";
+139 -25
pkgs/applications/version-management/gitlab-triage/gemset.nix
··· 1 { 2 activesupport = { 3 dependencies = [ 4 "concurrent-ruby" 5 "i18n" 6 "minitest" 7 "tzinfo" 8 ]; 9 groups = [ "default" ]; 10 platforms = [ ]; 11 source = { 12 remotes = [ "https://rubygems.org" ]; 13 - sha256 = "0z05zyc57f8ywvdvls6nx93vrhyyzzpgz729mwampz1qb8vvcspj"; 14 type = "gem"; 15 }; 16 - version = "7.0.3"; 17 }; 18 concurrent-ruby = { 19 groups = [ "default" ]; 20 platforms = [ ]; 21 source = { 22 remotes = [ "https://rubygems.org" ]; 23 - sha256 = "0s4fpn3mqiizpmpy2a24k4v365pv75y50292r8ajrv4i1p5b2k14"; 24 type = "gem"; 25 }; 26 - version = "1.1.10"; 27 }; 28 gitlab-triage = { 29 dependencies = [ 30 "activesupport" 31 "globalid" 32 "graphql-client" 33 "httparty" 34 ]; ··· 36 platforms = [ ]; 37 source = { 38 remotes = [ "https://rubygems.org" ]; 39 - sha256 = "1vs120wyqm12xy66nv0723cy3m66g5lhhdd37izbc9qwyq03m729"; 40 type = "gem"; 41 }; 42 - version = "1.23.1"; 43 }; 44 globalid = { 45 dependencies = [ "activesupport" ]; ··· 47 platforms = [ ]; 48 source = { 49 remotes = [ "https://rubygems.org" ]; 50 - sha256 = "1xk28839pi36yzlqgh7k5wqmiphz7wg2c2r2wzfvs2s7g63hy3nv"; 51 type = "gem"; 52 }; 53 - version = "0.6.0"; 54 }; 55 graphql = { 56 groups = [ "default" ]; 57 platforms = [ ]; 58 source = { 59 remotes = [ "https://rubygems.org" ]; 60 - sha256 = "18k3wh73mb7rs469wfn4m10d1rlg2v9chd89nf7vy8z3yjbf9nl4"; 61 type = "gem"; 62 }; 63 - version = "2.0.11"; 64 }; 65 graphql-client = { 66 dependencies = [ ··· 71 platforms = [ ]; 72 source = { 73 remotes = [ "https://rubygems.org" ]; 74 - sha256 = "02r5qvfr176n051mp1c79xbpjhjqm92kk4118r0fbp131y0xralq"; 75 type = "gem"; 76 }; 77 - version = "0.18.0"; 78 }; 79 httparty = { 80 dependencies = [ ··· 96 platforms = [ ]; 97 source = { 98 remotes = [ "https://rubygems.org" ]; 99 - sha256 = "0b2qyvnk4yynlg17ymkq4g5xgr275637fhl1mjh0valw3cb1fhhg"; 100 type = "gem"; 101 }; 102 - version = "1.10.0"; 103 }; 104 mime-types = { 105 - dependencies = [ "mime-types-data" ]; 106 groups = [ "default" ]; 107 platforms = [ ]; 108 source = { 109 remotes = [ "https://rubygems.org" ]; 110 - sha256 = "0ipw892jbksbxxcrlx9g5ljq60qx47pm24ywgfbyjskbcl78pkvb"; 111 type = "gem"; 112 }; 113 - version = "3.4.1"; 114 }; 115 mime-types-data = { 116 groups = [ "default" ]; 117 platforms = [ ]; 118 source = { 119 remotes = [ "https://rubygems.org" ]; 120 - sha256 = "003gd7mcay800k2q4pb2zn8lwwgci4bhi42v2jvlidm8ksx03i6q"; 121 type = "gem"; 122 }; 123 - version = "3.2022.0105"; 124 }; 125 minitest = { 126 groups = [ "default" ]; 127 platforms = [ ]; 128 source = { 129 remotes = [ "https://rubygems.org" ]; 130 - sha256 = "14a9ign0hj3z3j4cpfplj2djaskx3skzyx4fl3x53d7saxmhrgn1"; 131 type = "gem"; 132 }; 133 - version = "5.16.2"; 134 }; 135 multi_xml = { 136 groups = [ "default" ]; 137 platforms = [ ]; 138 source = { 139 remotes = [ "https://rubygems.org" ]; 140 - sha256 = "0lmd4f401mvravi1i1yq7b2qjjli0yq7dfc4p1nj5nwajp7r6hyj"; 141 type = "gem"; 142 }; 143 - version = "0.6.0"; 144 }; 145 tzinfo = { 146 dependencies = [ "concurrent-ruby" ]; ··· 148 platforms = [ ]; 149 source = { 150 remotes = [ "https://rubygems.org" ]; 151 - sha256 = "10qp5x7f9hvlc0psv9gsfbxg4a7s0485wsbq1kljkxq94in91l4z"; 152 type = "gem"; 153 }; 154 - version = "2.0.4"; 155 }; 156 }
··· 1 { 2 activesupport = { 3 dependencies = [ 4 + "base64" 5 + "benchmark" 6 + "bigdecimal" 7 "concurrent-ruby" 8 + "connection_pool" 9 + "drb" 10 "i18n" 11 + "logger" 12 "minitest" 13 + "securerandom" 14 "tzinfo" 15 + "uri" 16 ]; 17 groups = [ "default" ]; 18 platforms = [ ]; 19 source = { 20 remotes = [ "https://rubygems.org" ]; 21 + sha256 = "0pm40y64wfc50a9sj87kxvil2102rmpdcbv82zf0r40vlgdwsrc5"; 22 + type = "gem"; 23 + }; 24 + version = "8.0.2"; 25 + }; 26 + base64 = { 27 + groups = [ "default" ]; 28 + platforms = [ ]; 29 + source = { 30 + remotes = [ "https://rubygems.org" ]; 31 + sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g"; 32 + type = "gem"; 33 + }; 34 + version = "0.2.0"; 35 + }; 36 + benchmark = { 37 + groups = [ "default" ]; 38 + platforms = [ ]; 39 + source = { 40 + remotes = [ "https://rubygems.org" ]; 41 + sha256 = "0jl71qcgamm96dzyqk695j24qszhcc7liw74qc83fpjljp2gh4hg"; 42 type = "gem"; 43 }; 44 + version = "0.4.0"; 45 + }; 46 + bigdecimal = { 47 + groups = [ "default" ]; 48 + platforms = [ ]; 49 + source = { 50 + remotes = [ "https://rubygems.org" ]; 51 + sha256 = "0qh7m151nyl3x3f467smrnpvkyinwjz96cdj5vh092yr0x7c687j"; 52 + type = "gem"; 53 + }; 54 + version = "3.2.0"; 55 }; 56 concurrent-ruby = { 57 groups = [ "default" ]; 58 platforms = [ ]; 59 source = { 60 remotes = [ "https://rubygems.org" ]; 61 + sha256 = "1ipbrgvf0pp6zxdk5ascp6i29aybz2bx9wdrlchjmpx6mhvkwfw1"; 62 + type = "gem"; 63 + }; 64 + version = "1.3.5"; 65 + }; 66 + connection_pool = { 67 + groups = [ "default" ]; 68 + platforms = [ ]; 69 + source = { 70 + remotes = [ "https://rubygems.org" ]; 71 + sha256 = "0nrhsk7b3sjqbyl1cah6ibf1kvi3v93a7wf4637d355hp614mmyg"; 72 + type = "gem"; 73 + }; 74 + version = "2.5.3"; 75 + }; 76 + csv = { 77 + groups = [ "default" ]; 78 + platforms = [ ]; 79 + source = { 80 + remotes = [ "https://rubygems.org" ]; 81 + sha256 = "1kfqg0m6vqs6c67296f10cr07im5mffj90k2b5dsm51liidcsvp9"; 82 type = "gem"; 83 }; 84 + version = "3.3.4"; 85 + }; 86 + drb = { 87 + groups = [ "default" ]; 88 + platforms = [ ]; 89 + source = { 90 + remotes = [ "https://rubygems.org" ]; 91 + sha256 = "0wrkl7yiix268s2md1h6wh91311w95ikd8fy8m5gx589npyxc00b"; 92 + type = "gem"; 93 + }; 94 + version = "2.2.3"; 95 }; 96 gitlab-triage = { 97 dependencies = [ 98 "activesupport" 99 "globalid" 100 + "graphql" 101 "graphql-client" 102 "httparty" 103 ]; ··· 105 platforms = [ ]; 106 source = { 107 remotes = [ "https://rubygems.org" ]; 108 + sha256 = "0ya6ynljc05z4qzw6w8x9djf31ai4awp5w6xz1m9x4ks6qg1x8kw"; 109 type = "gem"; 110 }; 111 + version = "1.44.5"; 112 }; 113 globalid = { 114 dependencies = [ "activesupport" ]; ··· 116 platforms = [ ]; 117 source = { 118 remotes = [ "https://rubygems.org" ]; 119 + sha256 = "1sbw6b66r7cwdx3jhs46s4lr991969hvigkjpbdl7y3i31qpdgvh"; 120 type = "gem"; 121 }; 122 + version = "1.2.1"; 123 }; 124 graphql = { 125 + dependencies = [ "base64" ]; 126 groups = [ "default" ]; 127 platforms = [ ]; 128 source = { 129 remotes = [ "https://rubygems.org" ]; 130 + sha256 = "1m21l38fw11hq5ihns8pzydv7c584kdxh6s1rya98z2zzqrirshf"; 131 type = "gem"; 132 }; 133 + version = "2.0.32"; 134 }; 135 graphql-client = { 136 dependencies = [ ··· 141 platforms = [ ]; 142 source = { 143 remotes = [ "https://rubygems.org" ]; 144 + sha256 = "1xajv9r03xdn0s382xnwiwnwpy4q443bigdx3l7kczdv95bc8rly"; 145 type = "gem"; 146 }; 147 + version = "0.25.0"; 148 }; 149 httparty = { 150 dependencies = [ ··· 166 platforms = [ ]; 167 source = { 168 remotes = [ "https://rubygems.org" ]; 169 + sha256 = "03sx3ahz1v5kbqjwxj48msw3maplpp2iyzs22l4jrzrqh4zmgfnf"; 170 + type = "gem"; 171 + }; 172 + version = "1.14.7"; 173 + }; 174 + logger = { 175 + groups = [ "default" ]; 176 + platforms = [ ]; 177 + source = { 178 + remotes = [ "https://rubygems.org" ]; 179 + sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr"; 180 type = "gem"; 181 }; 182 + version = "1.7.0"; 183 }; 184 mime-types = { 185 + dependencies = [ 186 + "logger" 187 + "mime-types-data" 188 + ]; 189 groups = [ "default" ]; 190 platforms = [ ]; 191 source = { 192 remotes = [ "https://rubygems.org" ]; 193 + sha256 = "0mjyxl7c0xzyqdqa8r45hqg7jcw2prp3hkp39mdf223g4hfgdsyw"; 194 type = "gem"; 195 }; 196 + version = "3.7.0"; 197 }; 198 mime-types-data = { 199 groups = [ "default" ]; 200 platforms = [ ]; 201 source = { 202 remotes = [ "https://rubygems.org" ]; 203 + sha256 = "00ks975j562zlcjg95g5qlzdc7mrc71byg8ln1fyl9yv1iw8v00i"; 204 type = "gem"; 205 }; 206 + version = "3.2025.0527"; 207 }; 208 minitest = { 209 groups = [ "default" ]; 210 platforms = [ ]; 211 source = { 212 remotes = [ "https://rubygems.org" ]; 213 + sha256 = "0mn7q9yzrwinvfvkyjiz548a4rmcwbmz2fn9nyzh4j1snin6q6rr"; 214 type = "gem"; 215 }; 216 + version = "5.25.5"; 217 }; 218 multi_xml = { 219 + dependencies = [ "bigdecimal" ]; 220 groups = [ "default" ]; 221 platforms = [ ]; 222 source = { 223 remotes = [ "https://rubygems.org" ]; 224 + sha256 = "1kl7ax7zcj8czlxs6vn3kdhpnz1dwva4y5zwnavssfv193f9cyih"; 225 + type = "gem"; 226 + }; 227 + version = "0.7.2"; 228 + }; 229 + racc = { 230 + groups = [ "default" ]; 231 + platforms = [ ]; 232 + source = { 233 + remotes = [ "https://rubygems.org" ]; 234 + sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa"; 235 + type = "gem"; 236 + }; 237 + version = "1.8.1"; 238 + }; 239 + securerandom = { 240 + groups = [ "default" ]; 241 + platforms = [ ]; 242 + source = { 243 + remotes = [ "https://rubygems.org" ]; 244 + sha256 = "1cd0iriqfsf1z91qg271sm88xjnfd92b832z49p1nd542ka96lfc"; 245 type = "gem"; 246 }; 247 + version = "0.4.1"; 248 }; 249 tzinfo = { 250 dependencies = [ "concurrent-ruby" ]; ··· 252 platforms = [ ]; 253 source = { 254 remotes = [ "https://rubygems.org" ]; 255 + sha256 = "16w2g84dzaf3z13gxyzlzbf748kylk5bdgg3n1ipvkvvqy685bwd"; 256 type = "gem"; 257 }; 258 + version = "2.0.6"; 259 + }; 260 + uri = { 261 + groups = [ "default" ]; 262 + platforms = [ ]; 263 + source = { 264 + remotes = [ "https://rubygems.org" ]; 265 + sha256 = "04bhfvc25b07jaiaf62yrach7khhr5jlr5bx6nygg8pf11329wp9"; 266 + type = "gem"; 267 + }; 268 + version = "1.0.3"; 269 }; 270 }
+2
pkgs/build-support/testers/default.nix
··· 225 ); 226 hasPkgConfigModules = callPackage ./hasPkgConfigModules/tester.nix { }; 227 228 testMetaPkgConfig = callPackage ./testMetaPkgConfig/tester.nix { }; 229 230 shellcheck = callPackage ./shellcheck/tester.nix { };
··· 225 ); 226 hasPkgConfigModules = callPackage ./hasPkgConfigModules/tester.nix { }; 227 228 + hasCmakeConfigModules = callPackage ./hasCmakeConfigModules/tester.nix { }; 229 + 230 testMetaPkgConfig = callPackage ./testMetaPkgConfig/tester.nix { }; 231 232 shellcheck = callPackage ./shellcheck/tester.nix { };
+86
pkgs/build-support/testers/hasCmakeConfigModules/tester.nix
···
··· 1 + # Static arguments 2 + { 3 + lib, 4 + runCommandCC, 5 + cmake, 6 + }: 7 + 8 + # Tester arguments 9 + { 10 + package, 11 + moduleNames, 12 + # Extra nativeBuildInputs needed to pass the cmake find_package test, e.g. pkg-config. 13 + nativeBuildInputs ? [ ], 14 + # buildInputs is used to help pass the cmake find_package test. 15 + # The purpose of buildInputs here is to allow us to iteratively add 16 + # any missing dependencies required by the *Config.cmake module 17 + # during testing. This allows us to test and fix the CMake setup 18 + # without rebuilding the finalPackage each time. Once all required 19 + # packages are properly added to the finalPackage's propagateBuildInputs, 20 + # this buildInputs should be set to an empty list []. 21 + buildInputs ? [ ], 22 + # Extra cmakeFlags needed to pass the cmake find_package test. 23 + # Can be used to set verbose/debug flags. 24 + cmakeFlags ? [ ], 25 + testName ? "check-cmake-config-${package.pname or package.name}", 26 + version ? package.version or null, 27 + versionCheck ? false, 28 + }: 29 + 30 + runCommandCC testName 31 + { 32 + inherit moduleNames versionCheck cmakeFlags; 33 + version = if versionCheck then version else null; 34 + nativeBuildInputs = [ 35 + cmake 36 + ] ++ nativeBuildInputs; 37 + buildInputs = [ package ] ++ buildInputs; 38 + meta = 39 + { 40 + description = "Test whether ${package.name} exposes cmake-config modules ${lib.concatStringsSep ", " moduleNames}"; 41 + } 42 + # Make sure licensing info etc is preserved, as this is a concern for e.g. cache.nixos.org, 43 + # as hydra can't check this meta info in dependencies. 44 + # The test itself is just Nixpkgs, with MIT license. 45 + // builtins.intersectAttrs { 46 + available = throw "unused"; 47 + broken = throw "unused"; 48 + insecure = throw "unused"; 49 + license = throw "unused"; 50 + maintainers = throw "unused"; 51 + teams = throw "unused"; 52 + platforms = throw "unused"; 53 + unfree = throw "unused"; 54 + unsupported = throw "unused"; 55 + } package.meta; 56 + } 57 + '' 58 + touch "$out" 59 + notFound=0 60 + for moduleName in $moduleNames; do 61 + echo "checking cmake-config module $moduleName" 62 + 63 + cat <<EOF > CMakeLists.txt 64 + cmake_minimum_required(VERSION 3.14) 65 + project(CheckCmakeModule) 66 + 67 + find_package($moduleName $version EXACT NO_MODULE REQUIRED) 68 + EOF 69 + 70 + echoCmd 'cmake flags' $cmakeFlags 71 + set +e 72 + cmake . $cmakeFlags 73 + r=$? 74 + set -e 75 + if [[ $r = 0 ]]; then 76 + echo "✅ cmake-config module $moduleName exists" 77 + else 78 + echo "❌ cmake-config module $moduleName was not found" 79 + ((notFound+=1)) 80 + fi 81 + done 82 + 83 + if [[ $notFound -ne 0 ]]; then 84 + exit 1 85 + fi 86 + ''
+73
pkgs/build-support/testers/hasCmakeConfigModules/tests.nix
···
··· 1 + # cd nixpkgs 2 + # nix-build -A tests.testers.hasCmakeConfigModules 3 + { 4 + lib, 5 + testers, 6 + boost, 7 + mpi, 8 + eigen, 9 + runCommand, 10 + }: 11 + 12 + lib.recurseIntoAttrs { 13 + 14 + boost-versions-match = testers.hasCmakeConfigModules { 15 + package = boost; 16 + moduleNames = [ 17 + "Boost" 18 + "boost_math" 19 + ]; 20 + versionCheck = true; 21 + }; 22 + 23 + boost-versions-mismatch = testers.testBuildFailure ( 24 + testers.hasCmakeConfigModules { 25 + package = boost; 26 + moduleNames = [ 27 + "Boost" 28 + "boost_math" 29 + ]; 30 + version = "1.2.3"; # Deliberately-incorrect version number 31 + versionCheck = true; 32 + } 33 + ); 34 + 35 + boost-no-versionCheck = testers.hasCmakeConfigModules { 36 + package = boost; 37 + moduleNames = [ 38 + "Boost" 39 + "boost_math" 40 + ]; 41 + version = "1.2.3"; # Deliberately-incorrect version number 42 + versionCheck = false; 43 + }; 44 + 45 + boost-has-boost_mpi = testers.hasCmakeConfigModules { 46 + package = boost.override { useMpi = true; }; 47 + moduleNames = [ 48 + "boost_mpi" 49 + ]; 50 + buildInputs = [ mpi ]; 51 + }; 52 + 53 + boost_mpi-does-not-have-mpi = testers.testBuildFailure ( 54 + testers.hasCmakeConfigModules { 55 + package = boost.override { useMpi = true; }; 56 + moduleNames = [ 57 + "boost_mpi" 58 + ]; 59 + } 60 + ); 61 + 62 + eigen-has-Eigen = testers.hasCmakeConfigModules { 63 + package = eigen; 64 + moduleNames = [ "Eigen3" ]; 65 + }; 66 + 67 + eigen-does-not-have-eigen = testers.testBuildFailure ( 68 + testers.hasCmakeConfigModules { 69 + package = eigen; 70 + moduleNames = [ "eigen3" ]; 71 + } 72 + ); 73 + }
+2
pkgs/build-support/testers/test/default.nix
··· 37 38 hasPkgConfigModules = pkgs.callPackage ../hasPkgConfigModules/tests.nix { }; 39 40 shellcheck = pkgs.callPackage ../shellcheck/tests.nix { }; 41 42 shfmt = pkgs.callPackages ../shfmt/tests.nix { };
··· 37 38 hasPkgConfigModules = pkgs.callPackage ../hasPkgConfigModules/tests.nix { }; 39 40 + hasCmakeConfigModules = pkgs.callPackage ../hasCmakeConfigModules/tests.nix { }; 41 + 42 shellcheck = pkgs.callPackage ../shellcheck/tests.nix { }; 43 44 shfmt = pkgs.callPackages ../shfmt/tests.nix { };
-6
pkgs/by-name/ad/adios2/package.nix
··· 11 python3Packages, 12 mpi, 13 bzip2, 14 - lz4, 15 c-blosc2, 16 hdf5-mpi, 17 libfabric, ··· 22 zeromq, 23 zfp, 24 zlib, 25 - zlib-ng, 26 - zstd, 27 ucx, 28 yaml-cpp, 29 nlohmann_json, ··· 69 [ 70 mpi 71 bzip2 72 - lz4 73 c-blosc2 74 (hdf5-mpi.override { inherit mpi; }) 75 libfabric ··· 80 zeromq 81 zfp 82 zlib 83 - zlib-ng # required by c-blocs2 84 - zstd # required by c-blocs2 85 yaml-cpp 86 nlohmann_json 87
··· 11 python3Packages, 12 mpi, 13 bzip2, 14 c-blosc2, 15 hdf5-mpi, 16 libfabric, ··· 21 zeromq, 22 zfp, 23 zlib, 24 ucx, 25 yaml-cpp, 26 nlohmann_json, ··· 66 [ 67 mpi 68 bzip2 69 c-blosc2 70 (hdf5-mpi.override { inherit mpi; }) 71 libfabric ··· 76 zeromq 77 zfp 78 zlib 79 yaml-cpp 80 nlohmann_json 81
+2 -2
pkgs/by-name/al/algol68g/package.nix
··· 15 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "algol68g"; 18 - version = "3.4.2"; 19 20 src = fetchurl { 21 url = "https://jmvdveer.home.xs4all.nl/algol68g-${finalAttrs.version}.tar.gz"; 22 - hash = "sha256-hKiRMU98sZhGgHhjgtwUNSIv2iPgb4T+dgYw58IGK8Q="; 23 }; 24 25 outputs = [
··· 15 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "algol68g"; 18 + version = "3.5.14"; 19 20 src = fetchurl { 21 url = "https://jmvdveer.home.xs4all.nl/algol68g-${finalAttrs.version}.tar.gz"; 22 + hash = "sha256-uIy8rIhUjohiQJ/K5EprsIISXMAx1w27I3cGo/9H9Wk="; 23 }; 24 25 outputs = [
+2 -2
pkgs/by-name/al/altair/package.nix
··· 7 8 let 9 pname = "altair"; 10 - version = "8.2.3"; 11 12 src = fetchurl { 13 url = "https://github.com/imolorhe/altair/releases/download/v${version}/altair_${version}_x86_64_linux.AppImage"; 14 - sha256 = "sha256-oOtQbTKD9UY+aXPqphGHeaXWxMI0/+9q82QaiQSXvwA="; 15 }; 16 17 appimageContents = appimageTools.extract { inherit pname version src; };
··· 7 8 let 9 pname = "altair"; 10 + version = "8.2.5"; 11 12 src = fetchurl { 13 url = "https://github.com/imolorhe/altair/releases/download/v${version}/altair_${version}_x86_64_linux.AppImage"; 14 + sha256 = "sha256-P0CVJFafrsvWzDWyJZEds812m3yUDpo4eocysEIQqrw="; 15 }; 16 17 appimageContents = appimageTools.extract { inherit pname version src; };
+10 -10
pkgs/by-name/ar/art/package.nix
··· 1 { 2 lib, 3 stdenv, 4 - fetchFromBitbucket, 5 cmake, 6 pkg-config, 7 util-linux, ··· 40 41 stdenv.mkDerivation rec { 42 pname = "art"; 43 - version = "1.24.2"; 44 45 - src = fetchFromBitbucket { 46 - owner = "agriggio"; 47 - repo = "art"; 48 - rev = version; 49 - hash = "sha256-TpjmmDeXuxnlvCimsq6mZZk15VOVU3WGrPd3vmcIClI="; 50 }; 51 52 nativeBuildInputs = [ ··· 105 env.CXXFLAGS = "-include cstdint"; # needed at least with gcc13 on aarch64-linux 106 107 meta = { 108 - description = "A raw converter based on RawTherapee"; 109 - homepage = "https://bitbucket.org/agriggio/art/"; 110 - license = lib.licenses.gpl3Only; 111 maintainers = with lib.maintainers; [ paperdigits ]; 112 mainProgram = "art"; 113 platforms = lib.platforms.linux;
··· 1 { 2 lib, 3 stdenv, 4 + fetchFromGitHub, 5 cmake, 6 pkg-config, 7 util-linux, ··· 40 41 stdenv.mkDerivation rec { 42 pname = "art"; 43 + version = "1.25.5"; 44 45 + src = fetchFromGitHub { 46 + owner = "artpixls"; 47 + repo = "ART"; 48 + tag = version; 49 + hash = "sha256-lKjYSKjZSJ9HtbmGWFR0bVv6hLnRzpklq2ueWirJ+Nw="; 50 }; 51 52 nativeBuildInputs = [ ··· 105 env.CXXFLAGS = "-include cstdint"; # needed at least with gcc13 on aarch64-linux 106 107 meta = { 108 + description = "Raw converter based on RawTherapee"; 109 + homepage = "https://art.pixls.us"; 110 + license = lib.licenses.gpl3Plus; 111 maintainers = with lib.maintainers; [ paperdigits ]; 112 mainProgram = "art"; 113 platforms = lib.platforms.linux;
+3
pkgs/by-name/au/autopsy/package.nix
··· 34 testdisk 35 imagemagick 36 jdkWithJfx 37 ]; 38 39 installPhase = '' ··· 44 # Run the provided setup script to make files executable and copy sleuthkit 45 TSK_JAVA_LIB_PATH="${sleuthkit}/share/java" bash $out/unix_setup.sh -j '${jdkWithJfx}' -n autopsy 46 47 substituteInPlace $out/bin/autopsy \ 48 --replace-warn 'APPNAME=`basename "$PRG"`' 'APPNAME=autopsy' 49 wrapProgram $out/bin/autopsy \ 50 --run 'export SOLR_LOGS_DIR="$HOME/.autopsy/dev/var/log"' \ 51 --run 'export SOLR_PID_DIR="$HOME/.autopsy/dev"' \ 52 --prefix PATH : "${
··· 34 testdisk 35 imagemagick 36 jdkWithJfx 37 + sleuthkit 38 ]; 39 40 installPhase = '' ··· 45 # Run the provided setup script to make files executable and copy sleuthkit 46 TSK_JAVA_LIB_PATH="${sleuthkit}/share/java" bash $out/unix_setup.sh -j '${jdkWithJfx}' -n autopsy 47 48 + # --add-flags "--nosplash" -> https://github.com/sleuthkit/autopsy/issues/6980 49 substituteInPlace $out/bin/autopsy \ 50 --replace-warn 'APPNAME=`basename "$PRG"`' 'APPNAME=autopsy' 51 wrapProgram $out/bin/autopsy \ 52 + --add-flags "--nosplash" \ 53 --run 'export SOLR_LOGS_DIR="$HOME/.autopsy/dev/var/log"' \ 54 --run 'export SOLR_PID_DIR="$HOME/.autopsy/dev"' \ 55 --prefix PATH : "${
+2 -2
pkgs/by-name/ay/ayugram-desktop/package.nix
··· 13 unwrapped = telegram-desktop.unwrapped.overrideAttrs ( 14 finalAttrs: previousAttrs: { 15 pname = "ayugram-desktop-unwrapped"; 16 - version = "5.12.3"; 17 18 src = fetchFromGitHub { 19 owner = "AyuGram"; 20 repo = "AyuGramDesktop"; 21 tag = "v${finalAttrs.version}"; 22 - hash = "sha256-Zjik+9J0YtabVW1VEkJr/Bl3SIakVQ8EiTLYm28rEIk="; 23 fetchSubmodules = true; 24 }; 25
··· 13 unwrapped = telegram-desktop.unwrapped.overrideAttrs ( 14 finalAttrs: previousAttrs: { 15 pname = "ayugram-desktop-unwrapped"; 16 + version = "5.14.3"; 17 18 src = fetchFromGitHub { 19 owner = "AyuGram"; 20 repo = "AyuGramDesktop"; 21 tag = "v${finalAttrs.version}"; 22 + hash = "sha256-cirUnGtjEc8aQzXH0r5kVhobEqf63eoZ17Gg99e+FCQ="; 23 fetchSubmodules = true; 24 }; 25
+2 -2
pkgs/by-name/az/azahar/package.nix
··· 51 in 52 stdenv.mkDerivation (finalAttrs: { 53 pname = "azahar"; 54 - version = "2121.1"; 55 56 src = fetchzip { 57 url = "https://github.com/azahar-emu/azahar/releases/download/${finalAttrs.version}/azahar-unified-source-${finalAttrs.version}.tar.xz"; 58 - hash = "sha256-jadQsuU1SfvUc5DO5XqZXTe53U9XGOHScDGx66Oh18Q="; 59 }; 60 61 nativeBuildInputs = [
··· 51 in 52 stdenv.mkDerivation (finalAttrs: { 53 pname = "azahar"; 54 + version = "2121.2"; 55 56 src = fetchzip { 57 url = "https://github.com/azahar-emu/azahar/releases/download/${finalAttrs.version}/azahar-unified-source-${finalAttrs.version}.tar.xz"; 58 + hash = "sha256-zXkLew7tErPjygYIXPnimfZnekFMCzY+95TlW1DNQRc="; 59 }; 60 61 nativeBuildInputs = [
+3 -3
pkgs/by-name/bi/binaryninja-free/package.nix
··· 19 }: 20 stdenv.mkDerivation rec { 21 pname = "binaryninja-free"; 22 - version = "5.0.7290"; 23 24 src = fetchurl { 25 - url = "https://web.archive.org/web/20250426133400/https://cdn.binary.ninja/installers/binaryninja_free_linux.zip"; 26 - hash = "sha256-Fzdv+454Ajj8IxmdcxvcDGePFsTmmyPpnfBXge4p8iU="; 27 }; 28 29 icon = fetchurl {
··· 19 }: 20 stdenv.mkDerivation rec { 21 pname = "binaryninja-free"; 22 + version = "5.0.7486"; 23 24 src = fetchurl { 25 + url = "https://web.archive.org/web/20250526111956/https://cdn.binary.ninja/installers/binaryninja_free_linux.zip"; 26 + hash = "sha256-iZjIgokwnHJaY6OgrnDcto3Un5g42MqTWXKo6OL1Rcs="; 27 }; 28 29 icon = fetchurl {
+2 -2
pkgs/by-name/bi/bitbox/package.nix
··· 21 in 22 stdenv.mkDerivation rec { 23 pname = "bitbox"; 24 - version = "4.47.2"; 25 26 src = fetchFromGitHub { 27 owner = "BitBoxSwiss"; 28 repo = "bitbox-wallet-app"; 29 rev = "v${version}"; 30 fetchSubmodules = true; 31 - hash = "sha256-sRE+Nnb3oqiJEjqiyG+3/sZLp23nquw5+4VpbZVFCQ8="; 32 }; 33 34 postPatch = ''
··· 21 in 22 stdenv.mkDerivation rec { 23 pname = "bitbox"; 24 + version = "4.47.3"; 25 26 src = fetchFromGitHub { 27 owner = "BitBoxSwiss"; 28 repo = "bitbox-wallet-app"; 29 rev = "v${version}"; 30 fetchSubmodules = true; 31 + hash = "sha256-Rxlj9Xm78xI61ynOonokxii2jnemumWy6fX+82bDp+w="; 32 }; 33 34 postPatch = ''
+3 -3
pkgs/by-name/ca/cargo-mobile2/package.nix
··· 10 11 let 12 pname = "cargo-mobile2"; 13 - version = "0.20.0"; 14 in 15 rustPlatform.buildRustPackage { 16 inherit pname version; ··· 18 owner = "tauri-apps"; 19 repo = "cargo-mobile2"; 20 rev = "cargo-mobile2-v${version}"; 21 - hash = "sha256-7/ol4Jb/2s007LeSMo6YYDT5vipsZZF6O4hfJ7ylHGg="; 22 }; 23 24 # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at ··· 26 # sourceRoot = "${src.name}/tooling/cli"; 27 28 useFetchCargoVendor = true; 29 - cargoHash = "sha256-zSUT2zClpSlBDu6vgMv4TZn9Jp0Ych6EQKo1AwkSMXU="; 30 31 preBuild = '' 32 mkdir -p $out/share/
··· 10 11 let 12 pname = "cargo-mobile2"; 13 + version = "0.20.1"; 14 in 15 rustPlatform.buildRustPackage { 16 inherit pname version; ··· 18 owner = "tauri-apps"; 19 repo = "cargo-mobile2"; 20 rev = "cargo-mobile2-v${version}"; 21 + hash = "sha256-gKqGmd34nNKMc3fl5lMH09oOGnmRaMDBwsbHhAeUMBc="; 22 }; 23 24 # Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at ··· 26 # sourceRoot = "${src.name}/tooling/cli"; 27 28 useFetchCargoVendor = true; 29 + cargoHash = "sha256-QEZe+7/i0XygXxs7pwdS9WtYbE2pfrUuRQC0dm+WqTo="; 30 31 preBuild = '' 32 mkdir -p $out/share/
+3 -3
pkgs/by-name/ch/chatzone-desktop/package.nix
··· 10 11 let 12 pname = "chatzone-desktop"; 13 - version = "5.3.0"; 14 src = fetchurl { 15 - url = "https://cdn1.ozone.ru/s3/chatzone-clients/ci/5.3.0/736/chatzone-desktop-linux-5.3.0.AppImage"; 16 - hash = "sha256-aCu3ZqCBLU4oqf/MnAjwzF/y2CHX0NS9C+eXg46VaY4="; 17 }; 18 appimageContents = appimageTools.extract { inherit pname version src; }; 19 in
··· 10 11 let 12 pname = "chatzone-desktop"; 13 + version = "5.3.2"; 14 src = fetchurl { 15 + url = "https://cdn1.ozone.ru/s3/chatzone-clients/ci/5.3.2/787/chatzone-desktop-linux-5.3.2.AppImage"; 16 + hash = "sha256-+GzrLNFhdzB+mOmSOiZP+W9sCSF2Mfdxu6Xkgmz1Fuo="; 17 }; 18 appimageContents = appimageTools.extract { inherit pname version src; }; 19 in
+5 -4
pkgs/by-name/ch/chawan/package.nix
··· 9 nim, 10 pandoc, 11 pkg-config, 12 zlib, 13 unstableGitUpdater, 14 - replaceVars, 15 }: 16 17 stdenv.mkDerivation { 18 pname = "chawan"; 19 - version = "0-unstable-2025-04-18"; 20 21 src = fetchFromSourcehut { 22 owner = "~bptato"; 23 repo = "chawan"; 24 - rev = "656092f399d36c13a551b4a2474c8aded3388b1a"; 25 - hash = "sha256-GYCmRIswHFM+VehBlf8NSAt0ewrl7SVD0y9lLhFYkvo="; 26 }; 27 28 patches = [ ./mancha-augment-path.diff ]; ··· 43 nim 44 pandoc 45 pkg-config 46 ]; 47 48 buildInputs = [
··· 9 nim, 10 pandoc, 11 pkg-config, 12 + brotli, 13 zlib, 14 unstableGitUpdater, 15 }: 16 17 stdenv.mkDerivation { 18 pname = "chawan"; 19 + version = "0-unstable-2025-05-25"; 20 21 src = fetchFromSourcehut { 22 owner = "~bptato"; 23 repo = "chawan"; 24 + rev = "e571c8b1ede3a3c6dc4a5a4d0c6c8f48473076d2"; 25 + hash = "sha256-OBXc4jnB5Y+KXO9J7P1Z2HXkNCS+xnG+IGWw8wb66J8="; 26 }; 27 28 patches = [ ./mancha-augment-path.diff ]; ··· 43 nim 44 pandoc 45 pkg-config 46 + brotli 47 ]; 48 49 buildInputs = [
+1 -4
pkgs/by-name/co/contour/package.nix
··· 85 '' 86 + lib.optionalString stdenv.hostPlatform.isDarwin '' 87 mkdir $out/Applications 88 - installShellCompletion --zsh $out/contour.app/Contents/Resources/shell-integration/shell-integration.zsh 89 - installShellCompletion --fish $out/contour.app/Contents/Resources/shell-integration/shell-integration.fish 90 cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share 91 mv $out/contour.app $out/Applications 92 ln -s $out/bin $out/Applications/contour.app/Contents/MacOS 93 '' 94 + lib.optionalString stdenv.hostPlatform.isLinux '' 95 mv $out/share/terminfo $terminfo/share/ 96 - installShellCompletion --zsh $out/share/contour/shell-integration/shell-integration.zsh 97 - installShellCompletion --fish $out/share/contour/shell-integration/shell-integration.fish 98 '' 99 + '' 100 echo "$terminfo" >> $out/nix-support/propagated-user-env-packages 101 ''; 102 103 passthru.tests.test = nixosTests.terminal-emulators.contour;
··· 85 '' 86 + lib.optionalString stdenv.hostPlatform.isDarwin '' 87 mkdir $out/Applications 88 cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share 89 mv $out/contour.app $out/Applications 90 ln -s $out/bin $out/Applications/contour.app/Contents/MacOS 91 '' 92 + lib.optionalString stdenv.hostPlatform.isLinux '' 93 mv $out/share/terminfo $terminfo/share/ 94 '' 95 + '' 96 echo "$terminfo" >> $out/nix-support/propagated-user-env-packages 97 + rm -r $out/share/contour 98 ''; 99 100 passthru.tests.test = nixosTests.terminal-emulators.contour;
+14 -5
pkgs/by-name/de/deskflow/package.nix
··· 34 35 stdenv.mkDerivation (finalAttrs: { 36 pname = "deskflow"; 37 - version = "1.21.2"; 38 39 src = fetchFromGitHub { 40 owner = "deskflow"; 41 repo = "deskflow"; 42 tag = "v${finalAttrs.version}"; 43 - hash = "sha256-gXFBn8hlI8MZ9Vy3goPjosn0JgvaAgZaFIGh/3rFdx8="; 44 }; 45 46 postPatch = '' ··· 101 runHook preCheck 102 103 export QT_QPA_PLATFORM=offscreen 104 - ./bin/unittests 105 - ./bin/integtests 106 107 runHook postCheck 108 ''; 109 110 - passthru.updateScript = nix-update-script { }; 111 112 meta = { 113 homepage = "https://github.com/deskflow/deskflow"; ··· 117 license = with lib; [ 118 licenses.gpl2Plus 119 licenses.openssl 120 ]; 121 platforms = lib.platforms.linux; 122 };
··· 34 35 stdenv.mkDerivation (finalAttrs: { 36 pname = "deskflow"; 37 + version = "1.22.0"; 38 39 src = fetchFromGitHub { 40 owner = "deskflow"; 41 repo = "deskflow"; 42 tag = "v${finalAttrs.version}"; 43 + hash = "sha256-tNHQHReeOUc5lCs4dI3a5UzeJao+RPWXH4KdWhPwESI="; 44 }; 45 46 postPatch = '' ··· 101 runHook preCheck 102 103 export QT_QPA_PLATFORM=offscreen 104 + ./bin/legacytests 105 106 runHook postCheck 107 ''; 108 109 + postInstall = '' 110 + install -Dm644 ../README.md ../doc/configuration.md -t $out/share/doc/deskflow 111 + ''; 112 + 113 + passthru.updateScript = nix-update-script { 114 + extraArgs = [ 115 + "--version-regex" 116 + "^v([0-9.]+)$" 117 + ]; 118 + }; 119 120 meta = { 121 homepage = "https://github.com/deskflow/deskflow"; ··· 125 license = with lib; [ 126 licenses.gpl2Plus 127 licenses.openssl 128 + licenses.mit # share/applications/org.deskflow.deskflow.desktop 129 ]; 130 platforms = lib.platforms.linux; 131 };
+6 -4
pkgs/by-name/el/elmerfem/package.nix
··· 14 libsForQt5, 15 tbb, 16 vtkWithQt5, 17 }: 18 let 19 opencascade-occt = opencascade-occt_7_6; 20 in 21 stdenv.mkDerivation rec { 22 pname = "elmerfem"; 23 - version = "unstable-2023-09-18"; 24 25 src = fetchFromGitHub { 26 owner = "elmercsc"; 27 repo = "elmerfem"; 28 - rev = "0fcced06f91c93f44557efd6a5f10b2da5c7066c"; 29 - hash = "sha256-UuARDYW7D3a4dB6I86s2Ed5ecQxc+Y/es3YIeF2VyTc="; 30 }; 31 32 hardeningDisable = [ "format" ]; ··· 50 opencascade-occt 51 tbb 52 vtkWithQt5 53 - ]; 54 55 preConfigure = '' 56 patchShebangs ./ ··· 71 "-DCMAKE_INSTALL_LIBDIR=lib" 72 "-DCMAKE_INSTALL_INCLUDEDIR=include" 73 "-DCMAKE_OpenGL_GL_PREFERENCE=GLVND" 74 ]; 75 76 meta = with lib; {
··· 14 libsForQt5, 15 tbb, 16 vtkWithQt5, 17 + llvmPackages, 18 }: 19 let 20 opencascade-occt = opencascade-occt_7_6; 21 in 22 stdenv.mkDerivation rec { 23 pname = "elmerfem"; 24 + version = "9.0-unstable-2025-05-25"; 25 26 src = fetchFromGitHub { 27 owner = "elmercsc"; 28 repo = "elmerfem"; 29 + rev = "2f7360ddf491c34f19fea9a723f340cca0fbe1d4"; 30 + hash = "sha256-2vzIFGh8+YrMxb5px6+aQyTerOAJmHOh2I7eterY6zI="; 31 }; 32 33 hardeningDisable = [ "format" ]; ··· 51 opencascade-occt 52 tbb 53 vtkWithQt5 54 + ] ++ lib.optional stdenv.cc.isClang llvmPackages.openmp; 55 56 preConfigure = '' 57 patchShebangs ./ ··· 72 "-DCMAKE_INSTALL_LIBDIR=lib" 73 "-DCMAKE_INSTALL_INCLUDEDIR=include" 74 "-DCMAKE_OpenGL_GL_PREFERENCE=GLVND" 75 + "-DUSE_MACOS_PACKAGE_MANAGER=False" 76 ]; 77 78 meta = with lib; {
+2 -2
pkgs/by-name/fi/fiddler-everywhere/package.nix
··· 8 9 let 10 pname = "fiddler-everywhere"; 11 - version = "6.5.0"; 12 13 src = fetchurl { 14 url = "https://downloads.getfiddler.com/linux/fiddler-everywhere-${version}.AppImage"; 15 - hash = "sha256-XEmQeEXqQpVASJ5NJEhZZOkIPbSbj/DOUbfbdAJXSRk="; 16 }; 17 18 appimageContents = appimageTools.extract {
··· 8 9 let 10 pname = "fiddler-everywhere"; 11 + version = "6.6.0"; 12 13 src = fetchurl { 14 url = "https://downloads.getfiddler.com/linux/fiddler-everywhere-${version}.AppImage"; 15 + hash = "sha256-qSQx9uz8P6k/wdPpe7XwhQ6qCZp6IUoLOZnkDWMFS3E="; 16 }; 17 18 appimageContents = appimageTools.extract {
+12 -4
pkgs/by-name/fi/fittrackee/package.nix
··· 8 }: 9 python3Packages.buildPythonApplication rec { 10 pname = "fittrackee"; 11 - version = "0.9.10"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "SamR1"; 16 repo = "FitTrackee"; 17 tag = "v${version}"; 18 - hash = "sha256-004M7Uhsl0K8BX19eVU4NrvBeAyUJx/mBlC/R27y9jg="; 19 }; 20 21 build-system = [ ··· 24 25 pythonRelaxDeps = [ 26 "authlib" 27 "flask-limiter" 28 "flask-migrate" 29 "nh3" 30 "pyopenssl" 31 "pytz" 32 "sqlalchemy" ··· 39 babel 40 click 41 dramatiq 42 flask 43 flask-bcrypt 44 flask-dramatiq ··· 56 pytz 57 shortuuid 58 sqlalchemy 59 - staticmap 60 ua-parser 61 ] 62 ++ dramatiq.optional-dependencies.redis 63 ++ flask-limiter.optional-dependencies.redis; ··· 92 homepage = "https://github.com/SamR1/FitTrackee"; 93 changelog = "https://github.com/SamR1/FitTrackee/blob/${src.tag}/CHANGELOG.md"; 94 license = lib.licenses.agpl3Only; 95 - maintainers = with lib.maintainers; [ traxys ]; 96 }; 97 }
··· 8 }: 9 python3Packages.buildPythonApplication rec { 10 pname = "fittrackee"; 11 + version = "0.10.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "SamR1"; 16 repo = "FitTrackee"; 17 tag = "v${version}"; 18 + hash = "sha256-ZCQ4Ft2TSjS62DmGDpQ7gG5Spnf82v82i5nnZtg1UmA="; 19 }; 20 21 build-system = [ ··· 24 25 pythonRelaxDeps = [ 26 "authlib" 27 + "flask" 28 "flask-limiter" 29 "flask-migrate" 30 "nh3" 31 + "lxml" 32 "pyopenssl" 33 "pytz" 34 "sqlalchemy" ··· 41 babel 42 click 43 dramatiq 44 + dramatiq-abort 45 + fitdecode 46 flask 47 flask-bcrypt 48 flask-dramatiq ··· 60 pytz 61 shortuuid 62 sqlalchemy 63 + staticmap3 64 ua-parser 65 + xmltodict 66 ] 67 ++ dramatiq.optional-dependencies.redis 68 ++ flask-limiter.optional-dependencies.redis; ··· 97 homepage = "https://github.com/SamR1/FitTrackee"; 98 changelog = "https://github.com/SamR1/FitTrackee/blob/${src.tag}/CHANGELOG.md"; 99 license = lib.licenses.agpl3Only; 100 + maintainers = with lib.maintainers; [ 101 + tebriel 102 + traxys 103 + ]; 104 }; 105 }
+26
pkgs/by-name/fo/foonathan-memory/0001-Use-system-doctest.patch.patch
···
··· 1 + From: =?utf-8?q?Timo_R=C3=B6hling?= <timo@gaussglocke.de> 2 + Date: Wed, 2 Dec 2020 15:59:22 +0100 3 + Subject: Use system doctest 4 + 5 + Forwarded: not-needed 6 + --- 7 + test/CMakeLists.txt | 6 +----- 8 + 1 file changed, 1 insertion(+), 5 deletions(-) 9 + 10 + diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt 11 + index 37359ea..f269cfb 100644 12 + --- a/test/CMakeLists.txt 13 + +++ b/test/CMakeLists.txt 14 + @@ -8,11 +8,7 @@ target_link_libraries(foonathan_memory_profiling foonathan_memory) 15 + target_include_directories(foonathan_memory_profiling PRIVATE 16 + ${FOONATHAN_MEMORY_SOURCE_DIR}/include/foonathan/memory) 17 + 18 + -# Fetch doctest. 19 + -message(STATUS "Fetching doctest") 20 + -include(FetchContent) 21 + -FetchContent_Declare(doctest URL https://github.com/doctest/doctest/archive/refs/tags/v2.4.12.zip) 22 + -FetchContent_MakeAvailable(doctest) 23 + +find_package(doctest REQUIRED) 24 + 25 + set(tests 26 + test_allocator.hpp
+8 -10
pkgs/by-name/fo/foonathan-memory/package.nix
··· 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 - fetchpatch, 6 cmake, 7 doctest, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { 11 pname = "foonathan-memory"; 12 - version = "0.7-3"; 13 14 src = fetchFromGitHub { 15 owner = "foonathan"; 16 repo = "memory"; 17 rev = "v${finalAttrs.version}"; 18 - hash = "sha256-nLBnxPbPKiLCFF2TJgD/eJKJJfzktVBW3SRW2m3WK/s="; 19 }; 20 21 patches = [ 22 # do not download doctest, use the system doctest instead 23 - (fetchpatch { 24 - url = "https://sources.debian.org/data/main/f/foonathan-memory/0.7.3-2/debian/patches/0001-Use-system-doctest.patch"; 25 - hash = "sha256-/MuDeeIh+7osz11VfsAsQzm9HMZuifff+MDU3bDDxRE="; 26 - }) 27 ]; 28 29 outputs = [ ··· 44 45 # fix a circular dependency between "out" and "dev" outputs 46 postInstall = '' 47 - mkdir -p $dev/lib 48 - mv $out/lib/foonathan_memory $dev/lib/ 49 ''; 50 51 meta = with lib; { 52 - homepage = "https://github.com/foonathan/memory"; 53 changelog = "https://github.com/foonathan/memory/releases/tag/${finalAttrs.src.rev}"; 54 description = "STL compatible C++ memory allocator library"; 55 mainProgram = "nodesize_dbg";
··· 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 doctest, 7 }: 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "foonathan-memory"; 11 + version = "0.7-4"; 12 13 src = fetchFromGitHub { 14 owner = "foonathan"; 15 repo = "memory"; 16 rev = "v${finalAttrs.version}"; 17 + hash = "sha256-qGbI7SL6lDbJzn2hkqaYw35QAyvSPxcZTb0ltDkPUSo="; 18 }; 19 20 patches = [ 21 # do not download doctest, use the system doctest instead 22 + # originally from: https://sources.debian.org/data/main/f/foonathan-memory/0.7.3-2/debian/patches/0001-Use-system-doctest.patch 23 + ./0001-Use-system-doctest.patch.patch 24 ]; 25 26 outputs = [ ··· 41 42 # fix a circular dependency between "out" and "dev" outputs 43 postInstall = '' 44 + mkdir -p $out/lib/cmake 45 + mv $out/lib/foonathan_memory/cmake $out/lib/cmake/foonathan_memory 46 + rmdir $out/lib/foonathan_memory 47 ''; 48 49 meta = with lib; { 50 + homepage = "https://memory.foonathan.net/"; 51 changelog = "https://github.com/foonathan/memory/releases/tag/${finalAttrs.src.rev}"; 52 description = "STL compatible C++ memory allocator library"; 53 mainProgram = "nodesize_dbg";
+7 -7
pkgs/by-name/ga/game-devices-udev-rules/package.nix
··· 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "game-devices-udev-rules"; 11 - version = "0.23"; 12 13 src = fetchFromGitea { 14 domain = "codeberg.org"; 15 owner = "fabiscafe"; 16 repo = "game-devices-udev"; 17 - rev = finalAttrs.version; 18 - hash = "sha256-dWWo3qXnxdLP68NuFKM4/Cw5yE6uAsWzj0vZa9UTT0U="; 19 }; 20 21 nativeBuildInputs = [ ··· 30 --replace-fail "/bin/sh" "${bash}/bin/bash" 31 ''; 32 33 - meta = with lib; { 34 description = "Udev rules to make supported controllers available with user-grade permissions"; 35 homepage = "https://codeberg.org/fabiscafe/game-devices-udev"; 36 - license = licenses.mit; 37 longDescription = '' 38 These udev rules are intended to be used as a package under 'services.udev.packages'. 39 They will not be activated if installed as 'environment.systemPackages' or 'users.user.<user>.packages'. 40 41 Additionally, you may need to enable 'hardware.uinput'. 42 ''; 43 - platforms = platforms.linux; 44 - maintainers = with maintainers; [ keenanweaver ]; 45 }; 46 })
··· 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "game-devices-udev-rules"; 11 + version = "0.24"; 12 13 src = fetchFromGitea { 14 domain = "codeberg.org"; 15 owner = "fabiscafe"; 16 repo = "game-devices-udev"; 17 + tag = finalAttrs.version; 18 + hash = "sha256-b2NBgGpRQ2pQZYQgiRSAt0loAxq1NEByRHVkQQRDOj0="; 19 }; 20 21 nativeBuildInputs = [ ··· 30 --replace-fail "/bin/sh" "${bash}/bin/bash" 31 ''; 32 33 + meta = { 34 description = "Udev rules to make supported controllers available with user-grade permissions"; 35 homepage = "https://codeberg.org/fabiscafe/game-devices-udev"; 36 + license = lib.licenses.mit; 37 longDescription = '' 38 These udev rules are intended to be used as a package under 'services.udev.packages'. 39 They will not be activated if installed as 'environment.systemPackages' or 'users.user.<user>.packages'. 40 41 Additionally, you may need to enable 'hardware.uinput'. 42 ''; 43 + platforms = lib.platforms.linux; 44 + maintainers = with lib.maintainers; [ keenanweaver ]; 45 }; 46 })
-13
pkgs/by-name/go/gokapi/go-1.24.patch
··· 1 - diff --git a/build/go-generate/copyStaticFiles.go b/build/go-generate/copyStaticFiles.go 2 - index 9f8a049..de21bdd 100644 3 - --- a/build/go-generate/copyStaticFiles.go 4 - +++ b/build/go-generate/copyStaticFiles.go 5 - @@ -10,7 +10,7 @@ import ( 6 - ) 7 - 8 - func main() { 9 - - copyFile(build.Default.GOROOT+"/misc/wasm/wasm_exec.js", "../../internal/webserver/web/static/js/wasm_exec.js") 10 - + copyFile(build.Default.GOROOT+"/lib/wasm/wasm_exec.js", "../../internal/webserver/web/static/js/wasm_exec.js") 11 - copyFile("../../go.mod", "../../build/go.mod") 12 - copyFile("../../openapi.json", "../../internal/webserver/web/static/apidocumentation/openapi.json") 13 - }
···
+12 -9
pkgs/by-name/go/gokapi/package.nix
··· 9 10 buildGoModule rec { 11 pname = "gokapi"; 12 - version = "1.9.6"; 13 14 src = fetchFromGitHub { 15 owner = "Forceu"; 16 repo = "Gokapi"; 17 tag = "v${version}"; 18 - hash = "sha256-RDEvKh3tUun7wt1nhtCim95wEN9V9RlztZ9zcw9nS1o="; 19 }; 20 21 - vendorHash = "sha256-9GRAlgng+yq7q0VQz374jIOCjeDIIDD631BglM/FsQQ="; 22 23 - patches = [ 24 - ./go-1.24.patch 25 - ]; 26 27 # This is the go generate is ran in the upstream builder, but we have to run the components separately for things to work. 28 preBuild = '' 29 cd ./cmd/gokapi/ 30 go run ../../build/go-generate/updateVersionNumbers.go 31 - # Tries to download "golang.org/x/exp/slices" 32 # go run ../../build/go-generate/updateProtectedUrls.go 33 go run ../../build/go-generate/buildWasm.go 34 - # Must be specify go root to import wasm_exec.js 35 - GOROOT="$(go env GOROOT)" go run "../../build/go-generate/copyStaticFiles.go" 36 cd ../.. 37 ''; 38
··· 9 10 buildGoModule rec { 11 pname = "gokapi"; 12 + version = "2.0.0"; 13 14 src = fetchFromGitHub { 15 owner = "Forceu"; 16 repo = "Gokapi"; 17 tag = "v${version}"; 18 + hash = "sha256-YhUHi1tR2bCFskBbAlFekuFzfZ2ER9G+TNCcfh5loS4="; 19 }; 20 21 + vendorHash = "sha256-GeS+lfFw7jUuXX1qQPiu9eKjz6nswpRtbZXjqu4DnHg="; 22 23 + patches = [ ]; 24 25 # This is the go generate is ran in the upstream builder, but we have to run the components separately for things to work. 26 preBuild = '' 27 + # Some steps expect GOROOT to be set. 28 + export GOROOT="$(go env GOROOT)" 29 + # Go generate runs from this working dir upstream 30 cd ./cmd/gokapi/ 31 go run ../../build/go-generate/updateVersionNumbers.go 32 + # Tries to download "golang.org/x/exp/slices", and fails 33 # go run ../../build/go-generate/updateProtectedUrls.go 34 go run ../../build/go-generate/buildWasm.go 35 + go run ../../build/go-generate/copyStaticFiles.go 36 + # Attempts to download program to minify content, and fails 37 + # go run ../../build/go-generate/minifyStaticContent.go 38 + go run ../../build/go-generate/updateApiRouting.go 39 cd ../.. 40 ''; 41
+5 -2
pkgs/by-name/go/gopls/package.nix
··· 1 { 2 lib, 3 - buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6 versionCheckHook, 7 }: 8 9 - buildGoModule (finalAttrs: { 10 pname = "gopls"; 11 version = "0.18.1"; 12
··· 1 { 2 lib, 3 + # gopls breaks if it is compiled with a lower version than the one it is running against. 4 + # This will affect users especially when project they work on bump go minor version before 5 + # the update went through nixpkgs staging. Further, gopls is a central ecosystem component. 6 + buildGoLatestModule, 7 fetchFromGitHub, 8 nix-update-script, 9 versionCheckHook, 10 }: 11 12 + buildGoLatestModule (finalAttrs: { 13 pname = "gopls"; 14 version = "0.18.1"; 15
+9 -4
pkgs/by-name/ie/ieda/package.nix
··· 35 }); 36 rootSrc = stdenv.mkDerivation { 37 pname = "iEDA-src"; 38 - version = "2025-04-14"; 39 src = fetchgit { 40 url = "https://gitee.com/oscc-project/iEDA"; 41 - rev = "51d198884cde2ecda643071a1a6cb4ec0e09d881"; 42 - sha256 = "sha256-kDVEAttSqa8l7qcRs7MQiBgPbAKBExEQvIE8tc7PLpM="; 43 }; 44 45 patches = [ ··· 59 }) 60 ]; 61 62 dontBuild = true; 63 dontFixup = true; 64 installPhase = '' ··· 71 in 72 stdenv.mkDerivation { 73 pname = "iEDA"; 74 - version = "0-unstable-2025-04-14"; 75 76 src = rootSrc; 77
··· 35 }); 36 rootSrc = stdenv.mkDerivation { 37 pname = "iEDA-src"; 38 + version = "2025-05-30"; 39 src = fetchgit { 40 url = "https://gitee.com/oscc-project/iEDA"; 41 + rev = "3096147fcea491c381da2928be6fb5a12c2d97b7"; 42 + sha256 = "sha256-rPkcE+QFMlEuwwJ/QBgyLTXP5lWLQPj5SOlZysJ6WTI="; 43 }; 44 45 patches = [ ··· 59 }) 60 ]; 61 62 + postPatch = '' 63 + # Comment out the iCTS test cases that will fail due to some linking issues on aarch64-linux 64 + sed -i '17,28s/^/# /' src/operation/iCTS/test/CMakeLists.txt 65 + ''; 66 + 67 dontBuild = true; 68 dontFixup = true; 69 installPhase = '' ··· 76 in 77 stdenv.mkDerivation { 78 pname = "iEDA"; 79 + version = "0-unstable-2025-05-30"; 80 81 src = rootSrc; 82
+17 -10
pkgs/by-name/in/intune-portal/package.nix
··· 6 libuuid, 7 xorg, 8 curlMinimal, 9 - openssl, 10 libsecret, 11 - webkitgtk_4_0, 12 - libsoup_2_4, 13 gtk3, 14 atk, 15 pango, ··· 19 systemd, 20 msalsdk-dbusclient, 21 pam, 22 dbus, 23 nixosTests, 24 }: 25 stdenv.mkDerivation rec { 26 pname = "intune-portal"; 27 - version = "1.2405.17-jammy"; 28 29 src = fetchurl { 30 - url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/i/intune-portal/intune-portal_${version}_amd64.deb"; 31 - hash = "sha256-WpVPWzh8jN092MaY2rMXhLfpVXsflMl9hOY9nNGJlLk="; 32 }; 33 34 nativeBuildInputs = [ dpkg ]; ··· 40 stdenv.cc.cc 41 libuuid 42 xorg.libX11 43 - curlMinimal 44 - openssl 45 libsecret 46 - webkitgtk_4_0 47 - libsoup_2_4 48 gtk3 49 atk 50 glib 51 pango 52 sqlite 53 zlib 54 systemd
··· 6 libuuid, 7 xorg, 8 curlMinimal, 9 + openssl_3, 10 libsecret, 11 + webkitgtk_4_1, 12 + libsoup_3, 13 gtk3, 14 atk, 15 pango, ··· 19 systemd, 20 msalsdk-dbusclient, 21 pam, 22 + p11-kit, 23 dbus, 24 nixosTests, 25 }: 26 + let 27 + curlMinimal_openssl_3 = curlMinimal.override { 28 + openssl = openssl_3; 29 + }; 30 + in 31 stdenv.mkDerivation rec { 32 pname = "intune-portal"; 33 + version = "1.2503.10-noble"; 34 35 src = fetchurl { 36 + url = "https://packages.microsoft.com/ubuntu/24.04/prod/pool/main/i/intune-portal/intune-portal_${version}_amd64.deb"; 37 + hash = "sha256-NlJ8m7V1yLErOntprHs3EagPtwSzYWd7NBH0jc72+i4="; 38 }; 39 40 nativeBuildInputs = [ dpkg ]; ··· 46 stdenv.cc.cc 47 libuuid 48 xorg.libX11 49 + curlMinimal_openssl_3 50 + openssl_3 51 libsecret 52 + webkitgtk_4_1 53 + libsoup_3 54 gtk3 55 atk 56 glib 57 pango 58 + p11-kit 59 sqlite 60 zlib 61 systemd
+13
pkgs/by-name/je/jextract/copy_lib_clang.patch
···
··· 1 + diff --git a/build.gradle b/build.gradle 2 + index 9ce544a..0c77609 100644 3 + --- a/build.gradle 4 + +++ b/build.gradle 5 + @@ -79,7 +79,7 @@ task copyLibClang(type: Sync) { 6 + "libclang.so.${clang_version}" : "*clang*" 7 + 8 + from("${libclang_dir}") { 9 + - include(clang_path_include) 10 + + include("libclang.so*") 11 + include("libLLVM.*") 12 + exclude("clang.exe") 13 + into("libs")
+8 -6
pkgs/by-name/je/jextract/package.nix
··· 10 11 stdenv.mkDerivation { 12 pname = "jextract"; 13 - version = "unstable-2024-03-13"; 14 15 src = fetchFromGitHub { 16 owner = "openjdk"; 17 repo = "jextract"; 18 - rev = "b9ec8879cff052b463237fdd76382b3a5cd8ff2b"; 19 - hash = "sha256-+4AM8pzXPIO/CS3+Rd/jJf2xDvAo7K7FRyNE8rXvk5U="; 20 }; 21 22 nativeBuildInputs = [ ··· 26 27 gradleFlags = [ 28 "-Pllvm_home=${lib.getLib llvmPackages.libclang}" 29 - "-Pjdk22_home=${jdk23}" 30 ]; 31 32 doCheck = true; ··· 53 jlesquembre 54 sharzy 55 ]; 56 - # Not yet updated for JDK 23 57 - broken = true; 58 }; 59 }
··· 10 11 stdenv.mkDerivation { 12 pname = "jextract"; 13 + version = "unstable-2025-05-08"; 14 15 src = fetchFromGitHub { 16 owner = "openjdk"; 17 repo = "jextract"; 18 + rev = "ab6b30fd189e33a52d366846202f2e9b9b280142"; 19 + hash = "sha256-cFXQo/DpjOuuW+HCP2G9HiOqdgVmmyPd3IXCB9X+w6M="; 20 }; 21 22 nativeBuildInputs = [ ··· 26 27 gradleFlags = [ 28 "-Pllvm_home=${lib.getLib llvmPackages.libclang}" 29 + "-Pjdk_home=${jdk23}" 30 + ]; 31 + 32 + patches = [ 33 + ./copy_lib_clang.patch 34 ]; 35 36 doCheck = true; ··· 57 jlesquembre 58 sharzy 59 ]; 60 }; 61 }
+1 -1
pkgs/by-name/jo/joplin-desktop/package.nix
··· 60 61 extraInstallCommands = '' 62 wrapProgram $out/bin/joplin-desktop \ 63 - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}" 64 install -Dm644 ${appimageContents}/joplin.desktop $out/share/applications/joplin.desktop 65 install -Dm644 ${appimageContents}/joplin.png $out/share/pixmaps/joplin.png 66 substituteInPlace $out/share/applications/joplin.desktop \
··· 60 61 extraInstallCommands = '' 62 wrapProgram $out/bin/joplin-desktop \ 63 + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations --enable-wayland-ime}}" 64 install -Dm644 ${appimageContents}/joplin.desktop $out/share/applications/joplin.desktop 65 install -Dm644 ${appimageContents}/joplin.png $out/share/pixmaps/joplin.png 66 substituteInPlace $out/share/applications/joplin.desktop \
+24 -19
pkgs/by-name/li/libresprite/package.nix
··· 18 libX11, 19 pixman, 20 tinyxml-2, 21 zlib, 22 SDL2, 23 SDL2_image, ··· 28 29 stdenv.mkDerivation (finalAttrs: { 30 pname = "libresprite"; 31 - version = "1.1"; 32 33 src = fetchFromGitHub { 34 owner = "LibreSprite"; 35 repo = "LibreSprite"; 36 rev = "v${finalAttrs.version}"; 37 fetchSubmodules = true; 38 - hash = "sha256-piA/hLQqdfyVH4GPu5ElXZtowQL9AGaK7GhZOME4L0Q="; 39 }; 40 41 nativeBuildInputs = [ ··· 45 gtest 46 ]; 47 48 - buildInputs = [ 49 - curl 50 - freetype 51 - giflib 52 - libjpeg 53 - libpng 54 - libwebp 55 - libarchive 56 - libX11 57 - pixman 58 - tinyxml-2 59 - zlib 60 - SDL2 61 - SDL2_image 62 - lua 63 - # no v8 due to missing libplatform and libbase 64 - ]; 65 66 cmakeFlags = [ 67 "-DWITH_DESKTOP_INTEGRATION=ON"
··· 18 libX11, 19 pixman, 20 tinyxml-2, 21 + xorg, 22 zlib, 23 SDL2, 24 SDL2_image, ··· 29 30 stdenv.mkDerivation (finalAttrs: { 31 pname = "libresprite"; 32 + version = "1.2"; 33 34 src = fetchFromGitHub { 35 owner = "LibreSprite"; 36 repo = "LibreSprite"; 37 rev = "v${finalAttrs.version}"; 38 fetchSubmodules = true; 39 + hash = "sha256-jXjrA859hR46Cp5qi6Z1C+hLWCUR7yGlASOGlTveeW8="; 40 }; 41 42 nativeBuildInputs = [ ··· 46 gtest 47 ]; 48 49 + buildInputs = 50 + [ 51 + curl 52 + freetype 53 + giflib 54 + libjpeg 55 + libpng 56 + libwebp 57 + libarchive 58 + libX11 59 + pixman 60 + tinyxml-2 61 + zlib 62 + SDL2 63 + SDL2_image 64 + lua 65 + # no v8 due to missing libplatform and libbase 66 + ] 67 + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 68 + xorg.libXi 69 + ]; 70 71 cmakeFlags = [ 72 "-DWITH_DESKTOP_INTEGRATION=ON"
+3 -3
pkgs/by-name/li/livebook/package.nix
··· 11 }: 12 beamPackages.mixRelease rec { 13 pname = "livebook"; 14 - version = "0.14.7"; 15 16 inherit elixir; 17 ··· 23 owner = "livebook-dev"; 24 repo = "livebook"; 25 tag = "v${version}"; 26 - hash = "sha256-8/u/1I3pSfxyF35ZnqClR7FXPL2rhBDdf4w/KUGjVVs="; 27 }; 28 29 mixFodDeps = beamPackages.fetchMixDeps { 30 pname = "mix-deps-${pname}"; 31 inherit src version; 32 - hash = "sha256-FrkM82LO7GIFpKQfhlEUrAuKu33BzPBs6OrWW4C6pI0="; 33 }; 34 35 postInstall = ''
··· 11 }: 12 beamPackages.mixRelease rec { 13 pname = "livebook"; 14 + version = "0.16.1"; 15 16 inherit elixir; 17 ··· 23 owner = "livebook-dev"; 24 repo = "livebook"; 25 tag = "v${version}"; 26 + hash = "sha256-vZFmd9Y5KEnQqzvCmGKGUbY+yR7IEc+0n0sycPDMxa8="; 27 }; 28 29 mixFodDeps = beamPackages.fetchMixDeps { 30 pname = "mix-deps-${pname}"; 31 inherit src version; 32 + hash = "sha256-0gmUCVLrNfcRCPhaXuOfrYW05TDbDN5Zt9IA8OBU8Gc="; 33 }; 34 35 postInstall = ''
+9 -9
pkgs/by-name/ma/maid/Gemfile.lock
··· 2 remote: https://rubygems.org/ 3 specs: 4 base64 (0.2.0) 5 - concurrent-ruby (1.3.4) 6 - csv (3.3.0) 7 deprecated (3.0.1) 8 dimensions (1.3.0) 9 escape (0.0.4) 10 et-orbi (1.2.11) 11 tzinfo 12 exifr (1.3.10) 13 - ffi (1.17.0) 14 fugit (1.11.1) 15 et-orbi (~> 1, >= 1.2.11) 16 raabro (~> 1.4) 17 - geocoder (1.8.3) 18 base64 (>= 0.1.0) 19 csv (>= 3.0.0) 20 listen (3.8.0) 21 rb-fsevent (~> 0.10, >= 0.10.3) 22 rb-inotify (~> 0.9, >= 0.9.10) 23 - logger (1.6.1) 24 maid (0.10.0) 25 deprecated (~> 3.0.0) 26 dimensions (>= 1.0.0, < 2.0) ··· 33 rufus-scheduler (~> 3.8.2) 34 thor (~> 1.2.1) 35 xdg (~> 2.2.3) 36 - mime-types (3.6.0) 37 logger 38 - mime-types-data (~> 3.2015) 39 - mime-types-data (3.2024.1001) 40 raabro (1.4.0) 41 rake (13.2.1) 42 rb-fsevent (0.11.2) ··· 58 rake 59 60 BUNDLED WITH 61 - 2.5.11
··· 2 remote: https://rubygems.org/ 3 specs: 4 base64 (0.2.0) 5 + concurrent-ruby (1.3.5) 6 + csv (3.3.4) 7 deprecated (3.0.1) 8 dimensions (1.3.0) 9 escape (0.0.4) 10 et-orbi (1.2.11) 11 tzinfo 12 exifr (1.3.10) 13 + ffi (1.17.2) 14 fugit (1.11.1) 15 et-orbi (~> 1, >= 1.2.11) 16 raabro (~> 1.4) 17 + geocoder (1.8.5) 18 base64 (>= 0.1.0) 19 csv (>= 3.0.0) 20 listen (3.8.0) 21 rb-fsevent (~> 0.10, >= 0.10.3) 22 rb-inotify (~> 0.9, >= 0.9.10) 23 + logger (1.7.0) 24 maid (0.10.0) 25 deprecated (~> 3.0.0) 26 dimensions (>= 1.0.0, < 2.0) ··· 33 rufus-scheduler (~> 3.8.2) 34 thor (~> 1.2.1) 35 xdg (~> 2.2.3) 36 + mime-types (3.7.0) 37 logger 38 + mime-types-data (~> 3.2025, >= 3.2025.0507) 39 + mime-types-data (3.2025.0520) 40 raabro (1.4.0) 41 rake (13.2.1) 42 rb-fsevent (0.11.2) ··· 58 rake 59 60 BUNDLED WITH 61 + 2.6.6
+14 -14
pkgs/by-name/ma/maid/gemset.nix
··· 14 platforms = [ ]; 15 source = { 16 remotes = [ "https://rubygems.org" ]; 17 - sha256 = "0chwfdq2a6kbj6xz9l6zrdfnyghnh32si82la1dnpa5h75ir5anl"; 18 type = "gem"; 19 }; 20 - version = "1.3.4"; 21 }; 22 csv = { 23 groups = [ "default" ]; 24 platforms = [ ]; 25 source = { 26 remotes = [ "https://rubygems.org" ]; 27 - sha256 = "0zfn40dvgjk1xv1z8l11hr9jfg3jncwsc9yhzsz4l4rivkpivg8b"; 28 type = "gem"; 29 }; 30 - version = "3.3.0"; 31 }; 32 deprecated = { 33 groups = [ "default" ]; ··· 85 platforms = [ ]; 86 source = { 87 remotes = [ "https://rubygems.org" ]; 88 - sha256 = "07139870npj59jnl8vmk39ja3gdk3fb5z9vc0lf32y2h891hwqsi"; 89 type = "gem"; 90 }; 91 - version = "1.17.0"; 92 }; 93 fugit = { 94 dependencies = [ ··· 113 platforms = [ ]; 114 source = { 115 remotes = [ "https://rubygems.org" ]; 116 - sha256 = "1cvzz9i5s5dngrw6101bc6kn25c4f2jsb6pnq5yb842scjh6848n"; 117 type = "gem"; 118 }; 119 - version = "1.8.3"; 120 }; 121 listen = { 122 dependencies = [ ··· 137 platforms = [ ]; 138 source = { 139 remotes = [ "https://rubygems.org" ]; 140 - sha256 = "0lwncq2rf8gm79g2rcnnyzs26ma1f4wnfjm6gs4zf2wlsdz5in9s"; 141 type = "gem"; 142 }; 143 - version = "1.6.1"; 144 }; 145 maid = { 146 dependencies = [ ··· 174 platforms = [ ]; 175 source = { 176 remotes = [ "https://rubygems.org" ]; 177 - sha256 = "0r34mc3n7sxsbm9mzyzy8m3dvq7pwbryyc8m452axkj0g2axnwbg"; 178 type = "gem"; 179 }; 180 - version = "3.6.0"; 181 }; 182 mime-types-data = { 183 groups = [ "default" ]; 184 platforms = [ ]; 185 source = { 186 remotes = [ "https://rubygems.org" ]; 187 - sha256 = "06dbn0j13jwdrmlvrjd50mxqrjlkh3lvxp0afh4glyzbliqvqpsd"; 188 type = "gem"; 189 }; 190 - version = "3.2024.1001"; 191 }; 192 raabro = { 193 groups = [ "default" ];
··· 14 platforms = [ ]; 15 source = { 16 remotes = [ "https://rubygems.org" ]; 17 + sha256 = "1ipbrgvf0pp6zxdk5ascp6i29aybz2bx9wdrlchjmpx6mhvkwfw1"; 18 type = "gem"; 19 }; 20 + version = "1.3.5"; 21 }; 22 csv = { 23 groups = [ "default" ]; 24 platforms = [ ]; 25 source = { 26 remotes = [ "https://rubygems.org" ]; 27 + sha256 = "1kfqg0m6vqs6c67296f10cr07im5mffj90k2b5dsm51liidcsvp9"; 28 type = "gem"; 29 }; 30 + version = "3.3.4"; 31 }; 32 deprecated = { 33 groups = [ "default" ]; ··· 85 platforms = [ ]; 86 source = { 87 remotes = [ "https://rubygems.org" ]; 88 + sha256 = "19kdyjg3kv7x0ad4xsd4swy5izsbb1vl1rpb6qqcqisr5s23awi9"; 89 type = "gem"; 90 }; 91 + version = "1.17.2"; 92 }; 93 fugit = { 94 dependencies = [ ··· 113 platforms = [ ]; 114 source = { 115 remotes = [ "https://rubygems.org" ]; 116 + sha256 = "1gzn754d1b614svgrxfjcxjvf5ghrpcmsadndls9mzd4wmg4zx6a"; 117 type = "gem"; 118 }; 119 + version = "1.8.5"; 120 }; 121 listen = { 122 dependencies = [ ··· 137 platforms = [ ]; 138 source = { 139 remotes = [ "https://rubygems.org" ]; 140 + sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr"; 141 type = "gem"; 142 }; 143 + version = "1.7.0"; 144 }; 145 maid = { 146 dependencies = [ ··· 174 platforms = [ ]; 175 source = { 176 remotes = [ "https://rubygems.org" ]; 177 + sha256 = "0mjyxl7c0xzyqdqa8r45hqg7jcw2prp3hkp39mdf223g4hfgdsyw"; 178 type = "gem"; 179 }; 180 + version = "3.7.0"; 181 }; 182 mime-types-data = { 183 groups = [ "default" ]; 184 platforms = [ ]; 185 source = { 186 remotes = [ "https://rubygems.org" ]; 187 + sha256 = "042zxrr8xm9nijn7jp0qnrwns32sv5m814ifkbpil8a3kv47ixci"; 188 type = "gem"; 189 }; 190 + version = "3.2025.0520"; 191 }; 192 raabro = { 193 groups = [ "default" ];
+2 -2
pkgs/by-name/ma/maid/package.nix
··· 5 lib, 6 }: 7 8 - bundlerApp { 9 pname = "maid"; 10 gemdir = ./.; 11 exes = [ "maid" ]; 12 13 - passthru.updateScript = bundlerUpdateScript "maid"; 14 15 passthru.tests.run = callPackage ./test.nix { }; 16
··· 5 lib, 6 }: 7 8 + bundlerApp rec { 9 pname = "maid"; 10 gemdir = ./.; 11 exes = [ "maid" ]; 12 13 + passthru.updateScript = bundlerUpdateScript pname; 14 15 passthru.tests.run = callPackage ./test.nix { }; 16
+2 -2
pkgs/by-name/ma/materialgram/package.nix
··· 11 unwrapped = telegram-desktop.unwrapped.overrideAttrs ( 12 finalAttrs: previousAttrs: { 13 pname = "materialgram-unwrapped"; 14 - version = "5.12.5.1"; 15 16 src = fetchFromGitHub { 17 owner = "kukuruzka165"; 18 repo = "materialgram"; 19 rev = "refs/tags/v${finalAttrs.version}"; 20 - hash = "sha256-l6pVqmz8rfNhta2nCJISLl/nZqoSDBD3QrskmmhoQM4="; 21 fetchSubmodules = true; 22 }; 23
··· 11 unwrapped = telegram-desktop.unwrapped.overrideAttrs ( 12 finalAttrs: previousAttrs: { 13 pname = "materialgram-unwrapped"; 14 + version = "5.14.3.1"; 15 16 src = fetchFromGitHub { 17 owner = "kukuruzka165"; 18 repo = "materialgram"; 19 rev = "refs/tags/v${finalAttrs.version}"; 20 + hash = "sha256-wnhEnhNeuY7eRvmsDnpZ2CiKHXFvgIYpZp2ftjq54/Q="; 21 fetchSubmodules = true; 22 }; 23
+12 -10
pkgs/by-name/ma/matrix-hookshot/package.json
··· 1 { 2 "name": "matrix-hookshot", 3 - "version": "6.0.3", 4 "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.", 5 "main": "lib/app.js", 6 "repository": "https://github.com/matrix-org/matrix-hookshot", ··· 32 "start:matrixsender": "node --require source-map-support/register lib/App/MatrixSenderApp.js", 33 "start:resetcrypto": "node --require source-map-support/register lib/App/ResetCryptoStore.js", 34 "test": "NODE_OPTIONS=--no-experimental-strip-types mocha -r ts-node/register tests/init.ts 'tests/*.ts' 'tests/**/*.ts'", 35 - "test:e2e": "NODE_OPTIONS=--no-experimental-strip-types tsc --p tsconfig.spec.json && cp ./lib/libRs.js ./lib/matrix-hookshot-rs.node ./spec-lib/src && yarn node --experimental-vm-modules $(yarn bin jest)", 36 "test:cover": "NODE_OPTIONS=--no-experimental-strip-types nyc --reporter=lcov --reporter=text yarn test", 37 "lint": "yarn run lint:js && yarn run lint:rs", 38 - "lint:js": "eslint", 39 "lint:rs": "cargo fmt --all -- --check && cargo clippy -- -Dwarnings", 40 "lint:rs:apply": "cargo clippy --fix && cargo fmt --all", 41 "generate-default-config": "ts-node src/config/Defaults.ts --config > config.sample.yml", ··· 51 "@vector-im/compound-design-tokens": "^2.0.1", 52 "@vector-im/compound-web": "^7.3.0", 53 "ajv": "^8.11.0", 54 - "axios": "^1.7.9", 55 "clsx": "^2.1.1", 56 "cors": "^2.8.5", 57 "date-fns": "^4.1.0", ··· 76 "source-map-support": "^0.5.21", 77 "string-argv": "^0.3.1", 78 "tiny-typed-emitter": "^2.1.0", 79 "vite-plugin-magical-svg": "^1.1.1", 80 "winston": "^3.11.0", 81 "xml2js": "^0.6.2", 82 "yaml": "^2.3.4" 83 }, 84 "devDependencies": { 85 "@codemirror/lang-javascript": "^6.0.2", 86 "@eslint/eslintrc": "^3.2.0", 87 "@eslint/js": "^9.15.0", ··· 90 "@octokit/webhooks-types": "^7.6.1", 91 "@preact/preset-vite": "^2.9.1", 92 "@rollup/plugin-alias": "^5.1.0", 93 "@tsconfig/node22": "^22", 94 "@types/ajv": "^1.0.0", 95 "@types/busboy": "^1.5.4", 96 "@types/chai": "^4.2.22", 97 "@types/cors": "^2.8.12", 98 "@types/express": "^4.17.14", 99 - "@types/jest": "^29.5.11", 100 "@types/jira-client": "^7.1.0", 101 "@types/markdown-it": "^13.0.7", 102 "@types/micromatch": "^4.0.1", ··· 105 "@types/node": "^22", 106 "@types/xml2js": "^0.4.11", 107 "@uiw/react-codemirror": "^4.12.3", 108 - "@babel/core": "^7.26.9", 109 - "babel-jest": "^29.7.0", 110 "busboy": "^1.6.0", 111 "chai": "^4", 112 "eslint": "^9.15.0", 113 "eslint-plugin-chai-expect": "^3.1.0", 114 "eslint-plugin-mocha": "^10.5.0", 115 "eslint-plugin-react": "^7.37.2", 116 - "homerunner-client": "^1.1.0", 117 - "jest": "^29.7.0", 118 "mocha": "^10.8.2", 119 "nyc": "^17.1.0", 120 "preact": "^10.26.2", 121 "rimraf": "6.0.1", 122 "sass": "^1.81.0", 123 "ts-node": "10.9.2", 124 "typescript": "^5.7.2", 125 "typescript-eslint": "^8.16.0", 126 - "vite": "^5.4.12" 127 }, 128 "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" 129 }
··· 1 { 2 "name": "matrix-hookshot", 3 + "version": "7.0.0", 4 "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.", 5 "main": "lib/app.js", 6 "repository": "https://github.com/matrix-org/matrix-hookshot", ··· 32 "start:matrixsender": "node --require source-map-support/register lib/App/MatrixSenderApp.js", 33 "start:resetcrypto": "node --require source-map-support/register lib/App/ResetCryptoStore.js", 34 "test": "NODE_OPTIONS=--no-experimental-strip-types mocha -r ts-node/register tests/init.ts 'tests/*.ts' 'tests/**/*.ts'", 35 + "test:e2e": "vitest", 36 "test:cover": "NODE_OPTIONS=--no-experimental-strip-types nyc --reporter=lcov --reporter=text yarn test", 37 "lint": "yarn run lint:js && yarn run lint:rs", 38 + "lint:js": "yarn prettier -c src tests spec web scripts docs && eslint", 39 + "lint:js:apply": "yarn prettier -w src tests spec web scripts docs && eslint --fix", 40 "lint:rs": "cargo fmt --all -- --check && cargo clippy -- -Dwarnings", 41 "lint:rs:apply": "cargo clippy --fix && cargo fmt --all", 42 "generate-default-config": "ts-node src/config/Defaults.ts --config > config.sample.yml", ··· 52 "@vector-im/compound-design-tokens": "^2.0.1", 53 "@vector-im/compound-web": "^7.3.0", 54 "ajv": "^8.11.0", 55 + "axios": "^1.8.2", 56 "clsx": "^2.1.1", 57 "cors": "^2.8.5", 58 "date-fns": "^4.1.0", ··· 77 "source-map-support": "^0.5.21", 78 "string-argv": "^0.3.1", 79 "tiny-typed-emitter": "^2.1.0", 80 + "url-join": "^5.0.0", 81 "vite-plugin-magical-svg": "^1.1.1", 82 "winston": "^3.11.0", 83 "xml2js": "^0.6.2", 84 "yaml": "^2.3.4" 85 }, 86 "devDependencies": { 87 + "@babel/core": "^7.26.9", 88 "@codemirror/lang-javascript": "^6.0.2", 89 "@eslint/eslintrc": "^3.2.0", 90 "@eslint/js": "^9.15.0", ··· 93 "@octokit/webhooks-types": "^7.6.1", 94 "@preact/preset-vite": "^2.9.1", 95 "@rollup/plugin-alias": "^5.1.0", 96 + "@testcontainers/redis": "^10.25.0", 97 "@tsconfig/node22": "^22", 98 "@types/ajv": "^1.0.0", 99 "@types/busboy": "^1.5.4", 100 "@types/chai": "^4.2.22", 101 "@types/cors": "^2.8.12", 102 "@types/express": "^4.17.14", 103 "@types/jira-client": "^7.1.0", 104 "@types/markdown-it": "^13.0.7", 105 "@types/micromatch": "^4.0.1", ··· 108 "@types/node": "^22", 109 "@types/xml2js": "^0.4.11", 110 "@uiw/react-codemirror": "^4.12.3", 111 "busboy": "^1.6.0", 112 "chai": "^4", 113 "eslint": "^9.15.0", 114 "eslint-plugin-chai-expect": "^3.1.0", 115 "eslint-plugin-mocha": "^10.5.0", 116 "eslint-plugin-react": "^7.37.2", 117 "mocha": "^10.8.2", 118 "nyc": "^17.1.0", 119 "preact": "^10.26.2", 120 + "prettier": "^3.5.3", 121 "rimraf": "6.0.1", 122 "sass": "^1.81.0", 123 + "testcontainers": "^10.25.0", 124 "ts-node": "10.9.2", 125 "typescript": "^5.7.2", 126 "typescript-eslint": "^8.16.0", 127 + "vite": "^5.4.19", 128 + "vitest": "^3.1.3" 129 }, 130 "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" 131 }
+4 -4
pkgs/by-name/ma/matrix-hookshot/pin.json
··· 1 { 2 - "version": "6.0.3", 3 - "srcHash": "sha256-r7CMHaLkb+YMHjBmItal1+Fa9GW7qwIcgUIY9DdfTgM=", 4 - "yarnHash": "1mga0d81xsydqrr8wbwysm4d74xjw13dicw66x3zbqn94lpcsw6g", 5 - "cargoHash": "sha256-4Ix5eqv3BMoTzfadayJqXICW+zZzSp2e6XJQrWraW60=" 6 }
··· 1 { 2 + "version": "7.0.0", 3 + "srcHash": "sha256-MBET/oRvCToCnkUsbSK/6BzE2nrg33BzVuKAuu2BnkQ=", 4 + "yarnHash": "1lmakjgpflx8zcvl4ycn529dgkyp8yic9xhpwajdyj6dc56blpbb", 5 + "cargoHash": "sha256-1eBiLZHGNJxXNCVavkKt0xckAD2cilOW2wNCtqJ8O4g=" 6 }
+3 -3
pkgs/by-name/md/mdbook/package.nix
··· 7 installShellFiles, 8 }: 9 let 10 - version = "0.4.50"; 11 in 12 rustPlatform.buildRustPackage rec { 13 inherit version; ··· 17 owner = "rust-lang"; 18 repo = "mdBook"; 19 tag = "v${version}"; 20 - hash = "sha256-ooXfYXqE12wTxrrHKF0IO8JNY7P4sPplrnhVJ6kEUyI="; 21 }; 22 23 useFetchCargoVendor = true; 24 - cargoHash = "sha256-kyk7fwuR5A0GEGUw+W81IjwDNsa3I2DT3SFnT75IvLs="; 25 26 nativeBuildInputs = [ installShellFiles ]; 27
··· 7 installShellFiles, 8 }: 9 let 10 + version = "0.4.51"; 11 in 12 rustPlatform.buildRustPackage rec { 13 inherit version; ··· 17 owner = "rust-lang"; 18 repo = "mdBook"; 19 tag = "v${version}"; 20 + hash = "sha256-d211IEXtHiRhD+rXGUaDAbcDwKJZqr0fmkxTgN4RkC0="; 21 }; 22 23 useFetchCargoVendor = true; 24 + cargoHash = "sha256-3VI9WZiFiyfQRQk7gZBLXA/RRfCuEBze/MWI7OUGBmc="; 25 26 nativeBuildInputs = [ installShellFiles ]; 27
+1 -2
pkgs/by-name/nu/numworks-epsilon/package.nix
··· 49 installPhase = '' 50 runHook preInstall 51 52 - mv ./output/release/simulator/linux/{epsilon.bin,epsilon} 53 mkdir -p $out/bin 54 - cp -r ./output/release/simulator/linux/* $out/bin/ 55 56 # Build the logo 57 assets="$src/ion/src/simulator/assets"
··· 49 installPhase = '' 50 runHook preInstall 51 52 mkdir -p $out/bin 53 + cp ./output/release/simulator/linux/epsilon.bin $out/bin/epsilon 54 55 # Build the logo 56 assets="$src/ion/src/simulator/assets"
+2 -2
pkgs/by-name/nw/nwg-panel/package.nix
··· 23 24 python3Packages.buildPythonApplication rec { 25 pname = "nwg-panel"; 26 - version = "0.10.2"; 27 28 src = fetchFromGitHub { 29 owner = "nwg-piotr"; 30 repo = "nwg-panel"; 31 tag = "v${version}"; 32 - hash = "sha256-Wml9FXktLjTtYWTE/yoYDwFcPXeL1zhY3VgzrMW8DzE="; 33 }; 34 35 # No tests
··· 23 24 python3Packages.buildPythonApplication rec { 25 pname = "nwg-panel"; 26 + version = "0.10.4"; 27 28 src = fetchFromGitHub { 29 owner = "nwg-piotr"; 30 repo = "nwg-panel"; 31 tag = "v${version}"; 32 + hash = "sha256-yONNXCKKUH2P0Bhq2lRh3zNWZGvZG4LUi/ONUozTYmI="; 33 }; 34 35 # No tests
+6 -16
pkgs/by-name/oh/oh-my-posh/package.nix
··· 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 - installShellFiles, 6 - gitUpdater, 7 }: 8 - 9 buildGoModule rec { 10 pname = "oh-my-posh"; 11 - version = "24.11.4"; 12 13 src = fetchFromGitHub { 14 owner = "jandedobbeleer"; 15 repo = "oh-my-posh"; 16 tag = "v${version}"; 17 - hash = "sha256-hb5XgwBg9llX/PDX8A8hL5fJbG03nTjrvEd252k2Il0="; 18 }; 19 20 - vendorHash = "sha256-bOjIwBPxu/BfRaAcZTXf4xCGvVXnumb2++JZTx7ZG1s="; 21 22 sourceRoot = "source/src"; 23 24 - nativeBuildInputs = [ 25 - installShellFiles 26 - ]; 27 - 28 ldflags = [ 29 "-s" 30 "-w" ··· 40 41 postPatch = '' 42 # these tests requires internet access 43 - rm image/image_test.go config/migrate_glyphs_test.go upgrade/notice_test.go 44 ''; 45 46 postInstall = '' 47 mv $out/bin/{src,oh-my-posh} 48 mkdir -p $out/share/oh-my-posh 49 cp -r $src/themes $out/share/oh-my-posh/ 50 - installShellCompletion --cmd oh-my-posh \ 51 - --bash <($out/bin/oh-my-posh completion bash) \ 52 - --fish <($out/bin/oh-my-posh completion fish) \ 53 - --zsh <($out/bin/oh-my-posh completion zsh) 54 ''; 55 56 - passthru.updateScript = gitUpdater { rev-prefix = "v"; }; 57 58 meta = { 59 description = "Prompt theme engine for any shell";
··· 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 + nix-update-script, 6 }: 7 buildGoModule rec { 8 pname = "oh-my-posh"; 9 + version = "25.23.3"; 10 11 src = fetchFromGitHub { 12 owner = "jandedobbeleer"; 13 repo = "oh-my-posh"; 14 tag = "v${version}"; 15 + hash = "sha256-FStopBbBp5HVH5tXFPpComAuXItEwwtQf8VRGJaicPs="; 16 }; 17 18 + vendorHash = "sha256-BucMDbubJ+gEb5tBBSOf+P0A+KkDnUSAJRALyL9uhXU="; 19 20 sourceRoot = "source/src"; 21 22 ldflags = [ 23 "-s" 24 "-w" ··· 34 35 postPatch = '' 36 # these tests requires internet access 37 + rm image/image_test.go config/migrate_glyphs_test.go upgrade/notice_test.go segments/upgrade_test.go 38 ''; 39 40 postInstall = '' 41 mv $out/bin/{src,oh-my-posh} 42 mkdir -p $out/share/oh-my-posh 43 cp -r $src/themes $out/share/oh-my-posh/ 44 ''; 45 46 + passthru.updateScript = nix-update-script { }; 47 48 meta = { 49 description = "Prompt theme engine for any shell";
+2 -2
pkgs/by-name/oq/oqs-provider/package.nix
··· 9 }: 10 stdenv.mkDerivation (finalAttrs: { 11 name = "oqs-provider"; 12 - version = "0.8.0"; 13 14 src = fetchFromGitHub { 15 owner = "open-quantum-safe"; 16 repo = "oqs-provider"; 17 rev = finalAttrs.version; 18 - hash = "sha256-P3UEiWYchHVQ5s3JXHOzaDaN09K62pMYjnrW/gS5x/I="; 19 }; 20 21 nativeBuildInputs = [
··· 9 }: 10 stdenv.mkDerivation (finalAttrs: { 11 name = "oqs-provider"; 12 + version = "0.9.0"; 13 14 src = fetchFromGitHub { 15 owner = "open-quantum-safe"; 16 repo = "oqs-provider"; 17 rev = finalAttrs.version; 18 + hash = "sha256-R9rau/Q+KSkr0hNxpvc3ub9eLQqS1kIONoOEw8zFUBk="; 19 }; 20 21 nativeBuildInputs = [
+4 -4
pkgs/by-name/os/osquery/info.json
··· 1 { 2 "openssl": { 3 - "hash": "sha256-g8cyn+UshQZ3115dCwyiRTCbl+jsvP3B39xKufrDWzk=", 4 - "url": "https://www.openssl.org/source/openssl-3.2.1.tar.gz" 5 }, 6 "osquery": { 7 "fetchSubmodules": true, 8 - "hash": "sha256-Q5KiPqkyciuC5vlgBuY9ObRnDhM7Xhq6Oe5GbtatH/s=", 9 "owner": "osquery", 10 "repo": "osquery", 11 - "rev": "5.16.0" 12 } 13 }
··· 1 { 2 "openssl": { 3 + "hash": "sha256-ACotazC1i/S+pGxDvdljZar42qbEKHgqpP7uBtoZffM=", 4 + "url": "https://www.openssl.org/source/openssl-3.4.1.tar.gz" 5 }, 6 "osquery": { 7 "fetchSubmodules": true, 8 + "hash": "sha256-zv6R6MR9uaizwkDWw0sT3XSzT1qmPDAkL9crbzBTKTk=", 9 "owner": "osquery", 10 "repo": "osquery", 11 + "rev": "5.17.0" 12 } 13 }
+11 -10
pkgs/by-name/pi/pimsync/package.nix
··· 4 fetchFromSourcehut, 5 pkg-config, 6 sqlite, 7 - scdoc, 8 installShellFiles, 9 makeWrapper, 10 nix-update-script, 11 }: 12 13 rustPlatform.buildRustPackage (finalAttrs: { 14 pname = "pimsync"; 15 - version = "0.4.1"; 16 17 src = fetchFromSourcehut { 18 owner = "~whynothugo"; 19 repo = "pimsync"; 20 rev = "v${finalAttrs.version}"; 21 - hash = "sha256-EHDGiyDGNr6cPj2N2cTV0f7I9vmM/WIZTsPR1f+HFIE="; 22 }; 23 24 useFetchCargoVendor = true; 25 - cargoHash = "sha256-/6YjyKB/xOCTNZlKewddEaZ1ZN2PC5dQoP0A5If67MA="; 26 27 PIMSYNC_VERSION = finalAttrs.version; 28 29 nativeBuildInputs = [ 30 pkg-config 31 - scdoc 32 makeWrapper 33 installShellFiles 34 ]; ··· 37 sqlite 38 ]; 39 40 - postBuild = '' 41 - make man 42 ''; 43 44 - postInstall = '' 45 - installManPage target/pimsync.1 target/pimsync.conf.5 target/pimsync-migration.7 46 - ''; 47 48 passthru.updateScript = nix-update-script { }; 49
··· 4 fetchFromSourcehut, 5 pkg-config, 6 sqlite, 7 installShellFiles, 8 makeWrapper, 9 + versionCheckHook, 10 nix-update-script, 11 }: 12 13 rustPlatform.buildRustPackage (finalAttrs: { 14 pname = "pimsync"; 15 + version = "0.4.2"; 16 17 src = fetchFromSourcehut { 18 owner = "~whynothugo"; 19 repo = "pimsync"; 20 rev = "v${finalAttrs.version}"; 21 + hash = "sha256-6oV9E6Q6FmCh24xT9+lsQ47GVs70sSujsn54dX6CPgY="; 22 }; 23 24 useFetchCargoVendor = true; 25 + cargoHash = "sha256-vnBk0uojWDM9PS8v5Qda2UflmIFZ09Qp9l25qTTWGMc="; 26 27 PIMSYNC_VERSION = finalAttrs.version; 28 29 nativeBuildInputs = [ 30 pkg-config 31 makeWrapper 32 installShellFiles 33 ]; ··· 36 sqlite 37 ]; 38 39 + postInstall = '' 40 + installManPage pimsync.1 pimsync.conf.5 pimsync-migration.7 41 ''; 42 43 + nativeInstallCheckInputs = [ 44 + versionCheckHook 45 + ]; 46 + versionCheckProgramArg = "version"; 47 + doInstallCheck = true; 48 49 passthru.updateScript = nix-update-script { }; 50
+7 -7
pkgs/by-name/pr/protonplus/package.nix
··· 20 }: 21 stdenv.mkDerivation (finalAttrs: { 22 pname = "protonplus"; 23 - version = "0.4.30"; 24 25 src = fetchFromGitHub { 26 owner = "Vysp3r"; 27 repo = "protonplus"; 28 - rev = "v${finalAttrs.version}"; 29 - hash = "sha256-bI21042EHpNigS2wB0WdM06BF2GHdoXsVpNoHe7ZuLk="; 30 }; 31 32 nativeBuildInputs = [ ··· 53 updateScript = nix-update-script { }; 54 }; 55 56 - meta = with lib; { 57 mainProgram = "com.vysp3r.ProtonPlus"; 58 description = "Simple Wine and Proton-based compatibility tools manager"; 59 homepage = "https://github.com/Vysp3r/ProtonPlus"; 60 changelog = "https://github.com/Vysp3r/ProtonPlus/releases/tag/v${finalAttrs.version}"; 61 - license = licenses.gpl3Only; 62 - maintainers = with maintainers; [ getchoo ]; 63 - platforms = platforms.linux; 64 }; 65 })
··· 20 }: 21 stdenv.mkDerivation (finalAttrs: { 22 pname = "protonplus"; 23 + version = "0.4.31"; 24 25 src = fetchFromGitHub { 26 owner = "Vysp3r"; 27 repo = "protonplus"; 28 + tag = "v${finalAttrs.version}"; 29 + hash = "sha256-5UwgRvApKjMML5lx/UF7YHsXts4nQlg3GheAykN1f3E="; 30 }; 31 32 nativeBuildInputs = [ ··· 53 updateScript = nix-update-script { }; 54 }; 55 56 + meta = { 57 mainProgram = "com.vysp3r.ProtonPlus"; 58 description = "Simple Wine and Proton-based compatibility tools manager"; 59 homepage = "https://github.com/Vysp3r/ProtonPlus"; 60 changelog = "https://github.com/Vysp3r/ProtonPlus/releases/tag/v${finalAttrs.version}"; 61 + license = lib.licenses.gpl3Only; 62 + maintainers = with lib.maintainers; [ getchoo ]; 63 + platforms = lib.platforms.linux; 64 }; 65 })
+5 -8
pkgs/by-name/sc/scooter/package.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "scooter"; 9 - version = "0.5.0"; 10 11 src = fetchFromGitHub { 12 owner = "thomasschafer"; 13 repo = "scooter"; 14 rev = "v${version}"; 15 - hash = "sha256-+l2XkG6xUOkfSPe20oXjUKdmBYB7GX0xZuqddC8w/lc="; 16 }; 17 18 useFetchCargoVendor = true; 19 - cargoHash = "sha256-+KvHeTa8x77cMbZNbSeMcr66lAqWSBmfkn1rY+PfqHs="; 20 21 - checkFlags = [ 22 - # failed only for buildRustPackage 23 - # might be related to https://ryantm.github.io/nixpkgs/languages-frameworks/rust/#tests-relying-on-the-structure-of-the-target-directory 24 - "--skip=test_search_current_dir" 25 - ]; 26 27 meta = { 28 description = "Interactive find and replace in the terminal";
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "scooter"; 9 + version = "0.5.2"; 10 11 src = fetchFromGitHub { 12 owner = "thomasschafer"; 13 repo = "scooter"; 14 rev = "v${version}"; 15 + hash = "sha256-GlqGAzOkW6Jy7qGblfkMfCtzNwjOY/ZmGktqU4uUe90="; 16 }; 17 18 useFetchCargoVendor = true; 19 + cargoHash = "sha256-mh4FoFZ012yXbCr9Ts57crc+1JrcA2cdnZzqjKUspq8="; 20 21 + # Many tests require filesystem writes which fail in Nix sandbox 22 + doCheck = false; 23 24 meta = { 25 description = "Interactive find and replace in the terminal";
+13 -5
pkgs/by-name/se/serpl/package.nix
··· 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 - gitUpdater, 6 makeWrapper, 7 ast-grep, 8 ripgrep, 9 }: 10 let 11 pname = "serpl"; 12 - version = "0.3.3"; 13 in 14 rustPlatform.buildRustPackage { 15 inherit pname version; ··· 17 owner = "yassinebridi"; 18 repo = "serpl"; 19 rev = version; 20 - hash = "sha256-koD5aFqL+XVxc5Iq3reTYIHiPm0z7hAQ4K59IfbY4Hg="; 21 }; 22 23 buildFeatures = [ "ast_grep" ]; ··· 25 nativeBuildInputs = [ makeWrapper ]; 26 27 useFetchCargoVendor = true; 28 - cargoHash = "sha256-YfSxjlpUyRwpSoKmHOZrULGIIWTQ14JJwbsNB807WYQ="; 29 30 postFixup = '' 31 # Serpl needs ripgrep to function properly. ··· 38 }" 39 ''; 40 41 - passthru.updateScript = gitUpdater { }; 42 43 meta = { 44 description = "Simple terminal UI for search and replace, ala VS Code";
··· 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 + nix-update-script, 6 makeWrapper, 7 ast-grep, 8 ripgrep, 9 + versionCheckHook, 10 }: 11 let 12 pname = "serpl"; 13 + version = "0.3.4"; 14 in 15 rustPlatform.buildRustPackage { 16 inherit pname version; ··· 18 owner = "yassinebridi"; 19 repo = "serpl"; 20 rev = version; 21 + hash = "sha256-lEvUS1RlZ4CvervzyfODsFqRJAiA6PyLNUVWhSoPMDY="; 22 }; 23 24 buildFeatures = [ "ast_grep" ]; ··· 26 nativeBuildInputs = [ makeWrapper ]; 27 28 useFetchCargoVendor = true; 29 + cargoHash = "sha256-reeJsSNifPeDzqMKVpS1Pmyn9x1F+Vin/xy81d5rKVs="; 30 31 postFixup = '' 32 # Serpl needs ripgrep to function properly. ··· 39 }" 40 ''; 41 42 + nativeInstallCheckInputs = [ 43 + versionCheckHook 44 + ]; 45 + doInstallCheck = true; 46 + versionCheckProgram = "${placeholder "out"}/bin/serpl"; 47 + versionCheckProgramArg = "--version"; 48 + 49 + passthru.updateScript = nix-update-script { }; 50 51 meta = { 52 description = "Simple terminal UI for search and replace, ala VS Code";
+38 -21
pkgs/by-name/sh/shogihome/package.nix
··· 3 stdenv, 4 buildNpmPackage, 5 fetchFromGitHub, 6 - fetchpatch, 7 makeWrapper, 8 - electron_35, 9 vulkan-loader, 10 makeDesktopItem, 11 copyDesktopItems, 12 commandLineArgs ? [ ], 13 nix-update-script, 14 }: 15 16 let 17 - electron = electron_35; 18 in 19 buildNpmPackage (finalAttrs: { 20 pname = "shogihome"; 21 - version = "1.22.1"; 22 23 src = fetchFromGitHub { 24 owner = "sunfish-shogi"; 25 repo = "shogihome"; 26 tag = "v${finalAttrs.version}"; 27 - hash = "sha256-vVKdaFKOx4xm4BK+AjVr4cEDOHpOjOe58k2wUAhB9XA="; 28 }; 29 30 - npmDepsHash = "sha256-OS5DR+24F98ICgQ6zL4VD231Rd5JB/gJKl+qNfnP3PE="; 31 - 32 - patches = [ 33 - # Make it possible to load the electron-builder config without sideeffects. 34 - # PR at https://github.com/sunfish-shogi/shogihome/pull/1184 35 - # Should be removed next 1.22.X ShogiHome update or possibly 1.23.X. 36 - (fetchpatch { 37 - url = "https://github.com/sunfish-shogi/shogihome/commit/a075571a3bf4f536487e1212a2e7a13802dc7ec7.patch"; 38 - sha256 = "sha256-dJyaoWOC+fEufzpYenmfnblgd2C9Ymv4Cl8Y/hljY6c="; 39 - }) 40 - ]; 41 42 postPatch = '' 43 substituteInPlace package.json \ ··· 46 47 substituteInPlace .electron-builder.config.mjs \ 48 --replace-fail 'AppImage' 'dir' 49 ''; 50 51 env = { ··· 124 ]; 125 126 passthru = { 127 - updateScript = nix-update-script { 128 - extraArgs = [ 129 - "--version-regex=^v([\\d\\.]+)$" 130 - ]; 131 - }; 132 }; 133 134 meta = {
··· 3 stdenv, 4 buildNpmPackage, 5 fetchFromGitHub, 6 makeWrapper, 7 + electron_36, 8 vulkan-loader, 9 makeDesktopItem, 10 copyDesktopItems, 11 commandLineArgs ? [ ], 12 nix-update-script, 13 + _experimental-update-script-combinators, 14 + writeShellApplication, 15 + nix, 16 + jq, 17 + gnugrep, 18 }: 19 20 let 21 + electron = electron_36; 22 in 23 buildNpmPackage (finalAttrs: { 24 pname = "shogihome"; 25 + version = "1.23.2"; 26 27 src = fetchFromGitHub { 28 owner = "sunfish-shogi"; 29 repo = "shogihome"; 30 tag = "v${finalAttrs.version}"; 31 + hash = "sha256-tZw9iEhZ5ss+mv/WUFaj+xQ6GP4GAHq+PvBOv6F5tgM="; 32 }; 33 34 + npmDepsHash = "sha256-dx66k82o+TWrrK9xBHPbnudDn0CG8mM7c1xeoSAM4Fs="; 35 36 postPatch = '' 37 substituteInPlace package.json \ ··· 40 41 substituteInPlace .electron-builder.config.mjs \ 42 --replace-fail 'AppImage' 'dir' 43 + 44 + # Workaround for https://github.com/electron/electron/issues/31121 45 + substituteInPlace src/background/window/path.ts \ 46 + --replace-fail 'process.resourcesPath' "'$out/share/lib/shogihome/resources'" 47 ''; 48 49 env = { ··· 122 ]; 123 124 passthru = { 125 + updateScript = _experimental-update-script-combinators.sequence [ 126 + (nix-update-script { 127 + extraArgs = [ 128 + "--version-regex=^v([\\d\\.]+)$" 129 + ]; 130 + }) 131 + (lib.getExe (writeShellApplication { 132 + name = "${finalAttrs.pname}-electron-updater"; 133 + runtimeInputs = [ 134 + nix 135 + jq 136 + gnugrep 137 + ]; 138 + runtimeEnv = { 139 + PNAME = finalAttrs.pname; 140 + PKG_FILE = builtins.toString ./package.nix; 141 + }; 142 + text = '' 143 + new_src="$(nix-build --attr "pkgs.$PNAME.src" --no-out-link)" 144 + new_electron_major="$(jq '.devDependencies.electron' "$new_src/package.json" | grep --perl-regexp --only-matching '\d+' | head -n 1)" 145 + sed -i -E "s/electron_[0-9]+/electron_$new_electron_major/g" "$PKG_FILE" 146 + ''; 147 + })) 148 + ]; 149 }; 150 151 meta = {
+3 -3
pkgs/by-name/sl/sleek/package.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "sleek"; 9 - version = "0.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "nrempel"; 13 repo = "sleek"; 14 rev = "v${version}"; 15 - hash = "sha256-U1ujR+6wW3SKUnjqs/+DrEhu0XRBB8hxGC2pxe3LVbw="; 16 }; 17 18 useFetchCargoVendor = true; 19 - cargoHash = "sha256-2P47kVNQPksKyWPtk1XEpVEjFfz7cEvWX0VvlT3nKOc="; 20 21 meta = with lib; { 22 description = "CLI tool for formatting SQL";
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "sleek"; 9 + version = "0.5.0"; 10 11 src = fetchFromGitHub { 12 owner = "nrempel"; 13 repo = "sleek"; 14 rev = "v${version}"; 15 + hash = "sha256-4op0EqJWRGEQwXu5DjFBM1ia9nKiE5QTg+pbaeg4+ag="; 16 }; 17 18 useFetchCargoVendor = true; 19 + cargoHash = "sha256-0AB2Z++WnOQ06CkKIHBydgV4VlLGqhlKGAQ0blPOFPo="; 20 21 meta = with lib; { 22 description = "CLI tool for formatting SQL";
+11 -8
pkgs/by-name/sp/spectre-meltdown-checker/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 - fetchFromGitHub, 5 makeBinaryWrapper, 6 - coreutils, 7 - binutils-unwrapped, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { 11 pname = "spectre-meltdown-checker"; 12 - version = "0.46"; 13 14 src = fetchFromGitHub { 15 owner = "speed47"; 16 repo = "spectre-meltdown-checker"; 17 - rev = "v${finalAttrs.version}"; 18 - hash = "sha256-M4ngdtp2esZ+CSqZAiAeOnKtaK8Ra+TmQfMsr5q5gkg="; 19 }; 20 21 prePatch = '' 22 substituteInPlace spectre-meltdown-checker.sh \ 23 - --replace /bin/echo ${coreutils}/bin/echo 24 ''; 25 26 nativeBuildInputs = [ makeBinaryWrapper ];
··· 1 { 2 + binutils-unwrapped, 3 + coreutils, 4 + fetchFromGitHub, 5 lib, 6 makeBinaryWrapper, 7 + stdenv, 8 + unstableGitUpdater, 9 }: 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "spectre-meltdown-checker"; 13 + version = "0.46-unstable-2024-08-04"; 14 15 src = fetchFromGitHub { 16 owner = "speed47"; 17 repo = "spectre-meltdown-checker"; 18 + rev = "34c6095912d115551f69435a55d6e0445932fdf9"; 19 + hash = "sha256-m0f0+AFPrB2fPNd1SkSj6y9PElTdefOdI51Jgfi816w="; 20 }; 21 22 + passthru.updateScript = unstableGitUpdater { }; 23 + 24 prePatch = '' 25 substituteInPlace spectre-meltdown-checker.sh \ 26 + --replace-fail /bin/echo ${coreutils}/bin/echo 27 ''; 28 29 nativeBuildInputs = [ makeBinaryWrapper ];
+15
pkgs/by-name/sq/sqruff/disable-templaters-test.diff
···
··· 1 + diff --git a/crates/lib/tests/templaters.rs b/crates/lib/tests/templaters.rs 2 + index f92604e1..84885f9f 100644 3 + --- a/crates/lib/tests/templaters.rs 4 + +++ b/crates/lib/tests/templaters.rs 5 + @@ -32,6 +32,10 @@ impl Args { 6 + } 7 + } 8 + 9 + +#[cfg(not(feature = "python"))] 10 + +fn main() {} 11 + + 12 + +#[cfg(feature = "python")] 13 + // FIXME: Simplify FluffConfig handling. It's quite chaotic right now. 14 + fn main() { 15 + let mut args = Args::default();
+15
pkgs/by-name/sq/sqruff/disable-ui_with_dbt-test.diff
···
··· 1 + diff --git a/crates/cli/tests/ui_with_dbt.rs b/crates/cli/tests/ui_with_dbt.rs 2 + index d71a26c1..4d4ffe4f 100644 3 + --- a/crates/cli/tests/ui_with_dbt.rs 4 + +++ b/crates/cli/tests/ui_with_dbt.rs 5 + @@ -3,6 +3,10 @@ use std::path::PathBuf; 6 + use assert_cmd::Command; 7 + use expect_test::expect_file; 8 + 9 + +#[cfg(not(feature = "python"))] 10 + +fn main() {} 11 + + 12 + +#[cfg(feature = "python")] 13 + fn main() { 14 + let sample_dbt_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")) 15 + .parent()
+15
pkgs/by-name/sq/sqruff/disable-ui_with_jinja-test.diff
···
··· 1 + diff --git a/crates/cli/tests/ui_with_jinja.rs b/crates/cli/tests/ui_with_jinja.rs 2 + index 7c39f8a1..e4c96d41 100644 3 + --- a/crates/cli/tests/ui_with_jinja.rs 4 + +++ b/crates/cli/tests/ui_with_jinja.rs 5 + @@ -4,6 +4,10 @@ use std::path::PathBuf; 6 + use assert_cmd::Command; 7 + use expect_test::expect_file; 8 + 9 + +#[cfg(not(feature = "python"))] 10 + +fn main() {} 11 + + 12 + +#[cfg(feature = "python")] 13 + fn main() { 14 + let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); 15 + test_dir.push("tests/jinja");
+15
pkgs/by-name/sq/sqruff/disable-ui_with_python-test.diff
···
··· 1 + diff --git a/crates/cli/tests/ui_with_python.rs b/crates/cli/tests/ui_with_python.rs 2 + index 826f399c..0fa5ae33 100644 3 + --- a/crates/cli/tests/ui_with_python.rs 4 + +++ b/crates/cli/tests/ui_with_python.rs 5 + @@ -4,6 +4,10 @@ use std::path::PathBuf; 6 + use assert_cmd::Command; 7 + use expect_test::expect_file; 8 + 9 + +#[cfg(not(feature = "python"))] 10 + +fn main() {} 11 + + 12 + +#[cfg(feature = "python")] 13 + fn main() { 14 + let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); 15 + test_dir.push("tests/python");
+22 -5
pkgs/by-name/sq/sqruff/package.nix
··· 9 }: 10 rustPlatform.buildRustPackage rec { 11 pname = "sqruff"; 12 - version = "0.20.2"; 13 14 src = fetchFromGitHub { 15 owner = "quarylabs"; 16 repo = "sqruff"; 17 tag = "v${version}"; 18 - hash = "sha256-Vlre3D1ydDqFdysf5no2rW2V2U/BimhCeV1vWZ2JPSM="; 19 }; 20 21 useFetchCargoVendor = true; 22 - cargoHash = "sha256-sFKq7CxQ7yoPqDQOR9Nr111RCiSA6bK50QvhHkaU5Go="; 23 24 buildInputs = [ 25 rust-jemalloc-sys 26 ]; 27 28 - # Patch the tests to find the binary 29 postPatch = '' 30 - substituteInPlace crates/cli/tests/ui.rs \ 31 --replace-fail \ 32 'sqruff_path.push(format!("../../target/{}/sqruff", profile));' \ 33 'sqruff_path.push(format!("../../target/${stdenv.hostPlatform.rust.cargoShortTarget}/{}/sqruff", profile));'
··· 9 }: 10 rustPlatform.buildRustPackage rec { 11 pname = "sqruff"; 12 + version = "0.25.28"; 13 14 src = fetchFromGitHub { 15 owner = "quarylabs"; 16 repo = "sqruff"; 17 tag = "v${version}"; 18 + hash = "sha256-Xea6jXQos5gyF1FeGF7B5YaQszqfsKhGw1k8j0m7J6c="; 19 }; 20 21 useFetchCargoVendor = true; 22 + cargoHash = "sha256-agB//UDTsEje9pgig07dUy8/Fr+zx7/MC3AdLjqoKJY="; 23 24 buildInputs = [ 25 rust-jemalloc-sys 26 ]; 27 28 + # Disable the `python` feature which doesn't work on Nix yet 29 + buildNoDefaultFeatures = true; 30 + # The jinja and dbt template engines require the `python` feature which we disabled, so we disable these tests 31 + patches = [ 32 + ./disable-templaters-test.diff 33 + ./disable-ui_with_dbt-test.diff 34 + ./disable-ui_with_jinja-test.diff 35 + ./disable-ui_with_python-test.diff 36 + ]; 37 + 38 + # Patch the tests to find the sqruff binary 39 postPatch = '' 40 + substituteInPlace \ 41 + crates/cli/tests/config_not_found.rs \ 42 + crates/cli/tests/configure_rule.rs \ 43 + crates/cli/tests/fix_parse_errors.rs \ 44 + crates/cli/tests/fix_return_code.rs \ 45 + crates/cli/tests/ui_github.rs \ 46 + crates/cli/tests/ui_json.rs \ 47 + crates/cli/tests/ui.rs \ 48 --replace-fail \ 49 'sqruff_path.push(format!("../../target/{}/sqruff", profile));' \ 50 'sqruff_path.push(format!("../../target/${stdenv.hostPlatform.rust.cargoShortTarget}/{}/sqruff", profile));'
+10 -4
pkgs/by-name/td/tdlib/package.nix
··· 11 common-updater-scripts, 12 jq, 13 buildPackages, 14 }: 15 16 let ··· 35 in 36 37 stdenv.mkDerivation { 38 - pname = "tdlib"; 39 - version = "1.8.47"; 40 41 src = fetchFromGitHub { 42 owner = "tdlib"; ··· 45 # The tdlib authors do not set tags for minor versions, but 46 # external programs depending on tdlib constrain the minor 47 # version, hence we set a specific commit with a known version. 48 - rev = "a03a90470d6fca9a5a3db747ba3f3e4a465b5fe7"; 49 - hash = "sha256-RS7N+MMie/gNtcvPT4yjE2ymhZCsByS96O9nhiJ/bNY="; 50 }; 51 52 buildInputs = [ ··· 72 -DTD_GENERATE_SOURCE_FILES=ON . 73 cmake --build native-build -j $NIX_BUILD_CORES 74 ''; 75 76 # https://github.com/tdlib/td/issues/1974 77 postPatch =
··· 11 common-updater-scripts, 12 jq, 13 buildPackages, 14 + 15 + tde2eOnly ? false, 16 }: 17 18 let ··· 37 in 38 39 stdenv.mkDerivation { 40 + pname = if tde2eOnly then "tde2e" else "tdlib"; 41 + version = "1.8.49"; 42 43 src = fetchFromGitHub { 44 owner = "tdlib"; ··· 47 # The tdlib authors do not set tags for minor versions, but 48 # external programs depending on tdlib constrain the minor 49 # version, hence we set a specific commit with a known version. 50 + rev = "51743dfd01dff6179e2d8f7095729caa4e2222e9"; 51 + hash = "sha256-duD8a/fppkmaKrvkHnbSxRnCLS60aNVcgaYyCoHzKgE="; 52 }; 53 54 buildInputs = [ ··· 74 -DTD_GENERATE_SOURCE_FILES=ON . 75 cmake --build native-build -j $NIX_BUILD_CORES 76 ''; 77 + 78 + cmakeFlags = [ 79 + (lib.cmakeBool "TD_E2E_ONLY" tde2eOnly) 80 + ]; 81 82 # https://github.com/tdlib/td/issues/1974 83 postPatch =
+60
pkgs/by-name/tr/tracee/0001-fix-do-not-build-libbpf.patch
···
··· 1 + From 9a900efb997dee158ce25114633cd07f44ef617a Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?Tim=20H=C3=A4ring?= <tim.haering@gmail.com> 3 + Date: Sat, 17 May 2025 18:19:45 +0200 4 + Subject: [PATCH] fix: do not build libbpf 5 + 6 + --- 7 + Makefile | 9 ++++----- 8 + 1 file changed, 4 insertions(+), 5 deletions(-) 9 + 10 + diff --git a/Makefile b/Makefile 11 + index 0fce8de12..bb9937ed5 100644 12 + --- a/Makefile 13 + +++ b/Makefile 14 + @@ -77,7 +77,7 @@ get_priv_reqs_recursive() { \ 15 + fi; \ 16 + processed_libs="$$processed_libs $$lib"; \ 17 + if [ "$$lib" = "libbpf" ]; then \ 18 + - priv_reqs=$$(PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(CMD_PKGCONFIG) --print-requires-private $$lib); \ 19 + + priv_reqs=$$($(CMD_PKGCONFIG) --print-requires-private $$lib); \ 20 + else \ 21 + echo $$lib; \ 22 + priv_reqs=$$($(CMD_PKGCONFIG) --print-requires-private $$lib); \ 23 + @@ -374,7 +374,7 @@ LIBBPF_DESTDIR = $(OUTPUT_DIR)/libbpf 24 + LIBBPF_OBJDIR = $(LIBBPF_DESTDIR)/obj 25 + LIBBPF_OBJ = $(LIBBPF_OBJDIR)/libbpf.a 26 + 27 + -$(LIBBPF_OBJ): .build_libbpf .build_libbpf_fix 28 + +$(LIBBPF_OBJ): 29 + 30 + .build_libbpf: \ 31 + $(LIBBPF_SRC) \ 32 + @@ -413,7 +413,7 @@ LIBBPF_INCLUDE_UAPI = ./3rdparty/libbpf/include/uapi/linux 33 + @$(CMD_TOUCH) $@ 34 + 35 + 36 + -TRACEE_EBPF_CFLAGS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(CMD_PKGCONFIG) $(PKG_CONFIG_FLAG) --cflags $(LIB_BPF)) 37 + +TRACEE_EBPF_CFLAGS = $(shell $(CMD_PKGCONFIG) $(PKG_CONFIG_FLAG) --cflags $(LIB_BPF)) 38 + 39 + .ONESHELL: 40 + .eval_goenv: $(LIBBPF_OBJ) 41 + @@ -430,7 +430,7 @@ endif 42 + $(eval GO_ENV_EBPF += GOARCH=$(GO_ARCH)) 43 + $(eval CUSTOM_CGO_CFLAGS := "$(TRACEE_EBPF_CFLAGS)") 44 + $(eval GO_ENV_EBPF += CGO_CFLAGS=$(CUSTOM_CGO_CFLAGS)) 45 + - $(eval CUSTOM_CGO_LDFLAGS := "$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(CMD_PKGCONFIG) $(PKG_CONFIG_FLAG) --libs $(LIB_BPF))") 46 + + $(eval CUSTOM_CGO_LDFLAGS := "$(shell $(CMD_PKGCONFIG) $(PKG_CONFIG_FLAG) --libs $(LIB_BPF))") 47 + $(eval GO_ENV_EBPF := $(GO_ENV_EBPF) CGO_LDFLAGS=$(CUSTOM_CGO_LDFLAGS)) 48 + export GO_ENV_EBPF=$(GO_ENV_EBPF) 49 + echo 'GO_ENV_EBPF := $(GO_ENV_EBPF)' > $(GOENV_MK) 50 + @@ -486,7 +486,6 @@ TRACEE_SRC_DIRS = ./cmd/ ./pkg/ ./signatures/ 51 + TRACEE_SRC = $(shell find $(TRACEE_SRC_DIRS) -type f -name '*.go' ! -name '*_test.go') 52 + GO_TAGS_EBPF = core,ebpf 53 + CGO_EXT_LDFLAGS_EBPF = 54 + -PKG_CONFIG_PATH = $(LIBBPF_OBJDIR) 55 + PKG_CONFIG_FLAG = 56 + 57 + TRACEE_PROTOS = ./api/v1beta1/*.proto 58 + -- 59 + 2.49.0 60 +
+32 -32
pkgs/by-name/v2/v2rayn/deps.json
··· 11 }, 12 { 13 "pname": "Avalonia", 14 - "version": "11.2.6", 15 - "hash": "sha256-f+fuElhlc2dCUt/GD/Noh07JqPIA8ZtpFxdmetdPVVI=" 16 }, 17 { 18 "pname": "Avalonia.Angle.Windows.Natives", ··· 31 }, 32 { 33 "pname": "Avalonia.Controls.ColorPicker", 34 - "version": "11.2.6", 35 - "hash": "sha256-TeUwMcNIvXw/gMuApUODZ7nuymM6OF9cNUGSajlyfoQ=" 36 }, 37 { 38 "pname": "Avalonia.Controls.DataGrid", 39 - "version": "11.2.6", 40 - "hash": "sha256-69ZtybLdpGG28M6p1Cenz6PZEfdf1VKxA4wIrw5FJnI=" 41 }, 42 { 43 "pname": "Avalonia.Desktop", 44 - "version": "11.2.6", 45 - "hash": "sha256-PANuvQlAhDWjnv7VUzxOjz6XRmt4l/YKhVLSIP7YL24=" 46 }, 47 { 48 "pname": "Avalonia.Diagnostics", 49 - "version": "11.2.6", 50 - "hash": "sha256-Lc9qLIywzD06I9sPXQRjLLLijDoFOVmuO5qNh301gYQ=" 51 }, 52 { 53 "pname": "Avalonia.FreeDesktop", 54 - "version": "11.2.6", 55 - "hash": "sha256-816li4Nj8+oNkfeMjOAtFSFS+DSo9e2S3K45xqyHJAQ=" 56 }, 57 { 58 "pname": "Avalonia.Native", 59 - "version": "11.2.6", 60 - "hash": "sha256-by589X1UIjeQNK0lJMLfNzF2dK+qTNT6CBJNLgG86Aw=" 61 }, 62 { 63 "pname": "Avalonia.ReactiveUI", 64 - "version": "11.2.6", 65 - "hash": "sha256-DsUxdEQMgpmzgRS5zkf3rqk32YL3xFN7KoQkn1Xl6WU=" 66 }, 67 { 68 "pname": "Avalonia.Remote.Protocol", ··· 76 }, 77 { 78 "pname": "Avalonia.Remote.Protocol", 79 - "version": "11.2.6", 80 - "hash": "sha256-Q2uPnR6tPFWExohhMJKnJGTet8IVpQn/HIcRurUPAHQ=" 81 }, 82 { 83 "pname": "Avalonia.Skia", 84 - "version": "11.2.6", 85 - "hash": "sha256-6CfDcJT707iSB9XUQRvSvr5YWMavhiYPnHwVudUl74c=" 86 }, 87 { 88 "pname": "Avalonia.Themes.Simple", 89 - "version": "11.2.6", 90 - "hash": "sha256-kE31/1tchMJ6XmEbjLr5Idc7uKBAbuhsroUMg0LQauA=" 91 }, 92 { 93 "pname": "Avalonia.Win32", 94 - "version": "11.2.6", 95 - "hash": "sha256-e+DNtKz4UDNqOP1vvVRqbD67n5IG9PxmGkMz7B6b7AY=" 96 }, 97 { 98 "pname": "Avalonia.X11", 99 - "version": "11.2.6", 100 - "hash": "sha256-atnfxY6vspMzvMFc9PzwWb/uPNkPx5tF3zDGKeqlGIw=" 101 }, 102 { 103 "pname": "CliWrap", ··· 196 }, 197 { 198 "pname": "Semi.Avalonia", 199 - "version": "11.2.1.6", 200 - "hash": "sha256-E7FKQe3oQlzaza/ofmSvtrLXWo+ht7QutZKGylGW8QE=" 201 }, 202 { 203 "pname": "Semi.Avalonia.DataGrid", 204 - "version": "11.2.1.6", 205 - "hash": "sha256-uXy8eqoENQXNpfskJgJsKW1HaThMKfMNpiJpzDc5oRo=" 206 }, 207 { 208 "pname": "SkiaSharp", ··· 336 }, 337 { 338 "pname": "Tmds.DBus.Protocol", 339 - "version": "0.20.0", 340 - "hash": "sha256-CRW/tkgsuBiBJfRwou12ozRQsWhHDooeP88E5wWpWJw=" 341 }, 342 { 343 "pname": "WebDav.Client",
··· 11 }, 12 { 13 "pname": "Avalonia", 14 + "version": "11.3.0", 15 + "hash": "sha256-Hot4dWkrP5x+JzaP2/7E1QOOiXfPGhkvK1nzBacHvzg=" 16 }, 17 { 18 "pname": "Avalonia.Angle.Windows.Natives", ··· 31 }, 32 { 33 "pname": "Avalonia.Controls.ColorPicker", 34 + "version": "11.3.0", 35 + "hash": "sha256-ee3iLrn8OdWH6Mg01p93wYMMCPXS25VM/uZeQWEr+k0=" 36 }, 37 { 38 "pname": "Avalonia.Controls.DataGrid", 39 + "version": "11.3.0", 40 + "hash": "sha256-McFggedX7zb9b0FytFeuh+3nPdFqoKm2JMl2VZDs/BQ=" 41 }, 42 { 43 "pname": "Avalonia.Desktop", 44 + "version": "11.3.0", 45 + "hash": "sha256-XZXmsKrYCOEWzFUbnwNKvEz5OCD/1lAPi+wM4BiMB7I=" 46 }, 47 { 48 "pname": "Avalonia.Diagnostics", 49 + "version": "11.3.0", 50 + "hash": "sha256-jO8Fs9kfNGsoZ87zQCxPdn0tyWHcEdgBRIpzkZ0ceM0=" 51 }, 52 { 53 "pname": "Avalonia.FreeDesktop", 54 + "version": "11.3.0", 55 + "hash": "sha256-nWIW3aDPI/00/k52BNU4n43sS3ymuw+e97EBSsjjtU4=" 56 }, 57 { 58 "pname": "Avalonia.Native", 59 + "version": "11.3.0", 60 + "hash": "sha256-l6gcCeGd422mLQgVLp2sxh4/+vZxOPoMrxyfjGyhYLs=" 61 }, 62 { 63 "pname": "Avalonia.ReactiveUI", 64 + "version": "11.3.0", 65 + "hash": "sha256-yY/xpe4Te6DLa1HZCWZgIGpdKeZqvknRtpkpBTrZhmU=" 66 }, 67 { 68 "pname": "Avalonia.Remote.Protocol", ··· 76 }, 77 { 78 "pname": "Avalonia.Remote.Protocol", 79 + "version": "11.3.0", 80 + "hash": "sha256-7ytabxzTbPLR3vBCCb7Z6dYRZZVvqiDpvxweOYAqi7I=" 81 }, 82 { 83 "pname": "Avalonia.Skia", 84 + "version": "11.3.0", 85 + "hash": "sha256-p+mWsyrYsC9PPhNjOxPZwarGuwmIjxaQ4Ml/2XiEuEc=" 86 }, 87 { 88 "pname": "Avalonia.Themes.Simple", 89 + "version": "11.3.0", 90 + "hash": "sha256-F2DMHskmrJw/KqpYLHGEEuQMVP8T4fXgq5q3tfwFqG0=" 91 }, 92 { 93 "pname": "Avalonia.Win32", 94 + "version": "11.3.0", 95 + "hash": "sha256-Ltf6EuL6aIG+YSqOqD/ecdqUDsuwhNuh+XilIn7pmlE=" 96 }, 97 { 98 "pname": "Avalonia.X11", 99 + "version": "11.3.0", 100 + "hash": "sha256-QOprHb0HjsggEMWOW7/U8pqlD8M4m97FeTMWlriYHaU=" 101 }, 102 { 103 "pname": "CliWrap", ··· 196 }, 197 { 198 "pname": "Semi.Avalonia", 199 + "version": "11.2.1.7", 200 + "hash": "sha256-LFlgdRcqNR+ZV9Hkyuw7LhaFWKwCuXWRWYM+9sQRBDU=" 201 }, 202 { 203 "pname": "Semi.Avalonia.DataGrid", 204 + "version": "11.2.1.7", 205 + "hash": "sha256-EWfzKeM5gMoJHx7L9+kAeGtaaY6HeG+NwAxv08rOv6E=" 206 }, 207 { 208 "pname": "SkiaSharp", ··· 336 }, 337 { 338 "pname": "Tmds.DBus.Protocol", 339 + "version": "0.21.2", 340 + "hash": "sha256-gaK/5aAummyin6ptnhaJbnA0ih4+2xADrtrLfFbHwYI=" 341 }, 342 { 343 "pname": "WebDav.Client",
+14 -8
pkgs/by-name/v2/v2rayn/package.nix
··· 1 { 2 - fetchFromGitHub, 3 buildDotnetModule, 4 dotnetCorePackages, 5 icu, 6 zlib, 7 - stdenv, 8 - lib, 9 fontconfig, 10 - autoPatchelfHook, 11 openssl, 12 lttng-ust_2_12, 13 krb5, 14 - makeDesktopItem, 15 - copyDesktopItems, 16 bash, 17 xorg, 18 xdg-utils, ··· 21 22 buildDotnetModule rec { 23 pname = "v2rayn"; 24 - version = "7.11.1"; 25 26 src = fetchFromGitHub { 27 owner = "2dust"; 28 repo = "v2rayN"; 29 tag = version; 30 - hash = "sha256-oDjZwVBgTmBQQEl9A0eWZEFq1in82ercSLtoQeVS3k0="; 31 fetchSubmodules = true; 32 }; 33 ··· 36 nugetDeps = ./deps.json; 37 38 postPatch = '' 39 substituteInPlace v2rayN/ServiceLib/Global.cs \ 40 --replace-fail "/bin/bash" "${bash}/bin/bash" 41 substituteInPlace v2rayN/ServiceLib/Handler/AutoStartupHandler.cs \ 42 --replace-fail "Utils.GetExePath())" '"v2rayN")' 43 substituteInPlace v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs \ 44 --replace-fail "nautilus" "${xdg-utils}/bin/xdg-open" 45 ''; 46 47 dotnetBuildFlags = [ "-p:PublishReadyToRun=false" ];
··· 1 { 2 + lib, 3 + stdenv, 4 buildDotnetModule, 5 + fetchFromGitHub, 6 dotnetCorePackages, 7 + autoPatchelfHook, 8 + copyDesktopItems, 9 + makeDesktopItem, 10 icu, 11 zlib, 12 fontconfig, 13 openssl, 14 lttng-ust_2_12, 15 krb5, 16 bash, 17 xorg, 18 xdg-utils, ··· 21 22 buildDotnetModule rec { 23 pname = "v2rayn"; 24 + version = "7.12.5"; 25 26 src = fetchFromGitHub { 27 owner = "2dust"; 28 repo = "v2rayN"; 29 tag = version; 30 + hash = "sha256-gXVriD9g4Coc0B0yN5AlfNre9C9l8V5wv4q3KgKRsF0="; 31 fetchSubmodules = true; 32 }; 33 ··· 36 nugetDeps = ./deps.json; 37 38 postPatch = '' 39 + chmod +x v2rayN/ServiceLib/Sample/proxy_set_linux_sh 40 + patchShebangs v2rayN/ServiceLib/Sample/proxy_set_linux_sh 41 substituteInPlace v2rayN/ServiceLib/Global.cs \ 42 --replace-fail "/bin/bash" "${bash}/bin/bash" 43 + substituteInPlace v2rayN/ServiceLib/Handler/CoreAdminHandler.cs \ 44 + --replace-fail "/bin/sh" "${bash}/bin/bash" 45 substituteInPlace v2rayN/ServiceLib/Handler/AutoStartupHandler.cs \ 46 --replace-fail "Utils.GetExePath())" '"v2rayN")' 47 substituteInPlace v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs \ 48 --replace-fail "nautilus" "${xdg-utils}/bin/xdg-open" 49 + substituteInPlace v2rayN/ServiceLib/Handler/CoreHandler.cs \ 50 + --replace-fail 'Environment.GetEnvironmentVariable(Global.LocalAppData) == "1"' "false" 51 ''; 52 53 dotnetBuildFlags = [ "-p:PublishReadyToRun=false" ];
+5 -5
pkgs/by-name/ve/venera/package.nix
··· 1 { 2 lib, 3 fetchFromGitHub, 4 - flutter329, 5 webkitgtk_4_1, 6 copyDesktopItems, 7 makeDesktopItem, ··· 12 gitUpdater, 13 }: 14 15 - flutter329.buildFlutterApplication rec { 16 pname = "venera"; 17 - version = "1.4.3"; 18 19 src = fetchFromGitHub { 20 owner = "venera-app"; 21 repo = "venera"; 22 tag = "v${version}"; 23 - hash = "sha256-hhKfHJRZyNsQcGhbgBdBvy2KjKOxg4+0yi+ynX3qMw4="; 24 }; 25 26 pubspecLock = lib.importJSON ./pubspec.lock.json; ··· 38 scrollable_positioned_list = "sha256-6XmBlNxE7DEqY2LsEFtVrshn2Xt55XnmaiTq+tiPInA="; 39 webdav_client = "sha256-euNF7HdDtZ68BqSEq9BvO10BK09MxX2wWGoElFS0yeE="; 40 flutter_saf = "sha256-zmRZ82aJPYX/N/lOUcOoT8UAHEDoUk0FTFSqB4gKR+U="; 41 flutter_inappwebview = flutter_inappwebview-hash; 42 flutter_inappwebview_android = flutter_inappwebview-hash; 43 flutter_inappwebview_ios = flutter_inappwebview-hash; ··· 45 flutter_inappwebview_web = flutter_inappwebview-hash; 46 flutter_inappwebview_windows = flutter_inappwebview-hash; 47 flutter_inappwebview_platform_interface = flutter_inappwebview-hash; 48 - rhttp = "sha256-odYLLj9Vd0+UQVXtYgGzMDKLD7SbTqrqHI1jAXVr5XU="; 49 }; 50 51 nativeBuildInputs = [ copyDesktopItems ];
··· 1 { 2 lib, 3 + flutter332, 4 fetchFromGitHub, 5 webkitgtk_4_1, 6 copyDesktopItems, 7 makeDesktopItem, ··· 12 gitUpdater, 13 }: 14 15 + flutter332.buildFlutterApplication rec { 16 pname = "venera"; 17 + version = "1.4.4"; 18 19 src = fetchFromGitHub { 20 owner = "venera-app"; 21 repo = "venera"; 22 tag = "v${version}"; 23 + hash = "sha256-ZJ5TMoBamXHU/pU790/6HHJwNqVsXpZ1OttPR/JSydY="; 24 }; 25 26 pubspecLock = lib.importJSON ./pubspec.lock.json; ··· 38 scrollable_positioned_list = "sha256-6XmBlNxE7DEqY2LsEFtVrshn2Xt55XnmaiTq+tiPInA="; 39 webdav_client = "sha256-euNF7HdDtZ68BqSEq9BvO10BK09MxX2wWGoElFS0yeE="; 40 flutter_saf = "sha256-zmRZ82aJPYX/N/lOUcOoT8UAHEDoUk0FTFSqB4gKR+U="; 41 + rhttp = "sha256-6AH7A+CJg60Vk0ph3cJwj29GkmJEezI/VuZvRqqmOYs="; 42 flutter_inappwebview = flutter_inappwebview-hash; 43 flutter_inappwebview_android = flutter_inappwebview-hash; 44 flutter_inappwebview_ios = flutter_inappwebview-hash; ··· 46 flutter_inappwebview_web = flutter_inappwebview-hash; 47 flutter_inappwebview_windows = flutter_inappwebview-hash; 48 flutter_inappwebview_platform_interface = flutter_inappwebview-hash; 49 }; 50 51 nativeBuildInputs = [ copyDesktopItems ];
+17 -17
pkgs/by-name/ve/venera/pubspec.lock.json
··· 54 "dependency": "transitive", 55 "description": { 56 "name": "async", 57 - "sha256": "d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63", 58 "url": "https://pub.dev" 59 }, 60 "source": "hosted", 61 - "version": "2.12.0" 62 }, 63 "battery_plus": { 64 "dependency": "direct main", ··· 235 "dependency": "transitive", 236 "description": { 237 "name": "fake_async", 238 - "sha256": "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc", 239 "url": "https://pub.dev" 240 }, 241 "source": "hosted", 242 - "version": "1.3.2" 243 }, 244 "ffi": { 245 "dependency": "transitive", ··· 536 "dependency": "transitive", 537 "description": { 538 "name": "flutter_rust_bridge", 539 - "sha256": "5a5c7a5deeef2cc2ffe6076a33b0429f4a20ceac22a397297aed2b1eb067e611", 540 "url": "https://pub.dev" 541 }, 542 "source": "hosted", 543 - "version": "2.9.0" 544 }, 545 "flutter_saf": { 546 "dependency": "direct main", ··· 649 "dependency": "direct main", 650 "description": { 651 "name": "intl", 652 - "sha256": "d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf", 653 "url": "https://pub.dev" 654 }, 655 "source": "hosted", 656 - "version": "0.19.0" 657 }, 658 "io": { 659 "dependency": "transitive", ··· 679 "dependency": "transitive", 680 "description": { 681 "name": "leak_tracker", 682 - "sha256": "c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec", 683 "url": "https://pub.dev" 684 }, 685 "source": "hosted", 686 - "version": "10.0.8" 687 }, 688 "leak_tracker_flutter_testing": { 689 "dependency": "transitive", ··· 951 "dependency": "direct main", 952 "description": { 953 "path": "rhttp", 954 - "ref": "e7dca15ca543b5df49f3ada06016e874b79bce36", 955 - "resolved-ref": "e7dca15ca543b5df49f3ada06016e874b79bce36", 956 "url": "https://github.com/wgh136/rhttp" 957 }, 958 "source": "git", 959 - "version": "0.11.0" 960 }, 961 "screen_retriever": { 962 "dependency": "transitive", ··· 1289 "dependency": "transitive", 1290 "description": { 1291 "name": "vm_service", 1292 - "sha256": "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14", 1293 "url": "https://pub.dev" 1294 }, 1295 "source": "hosted", 1296 - "version": "14.3.1" 1297 }, 1298 "web": { 1299 "dependency": "transitive", ··· 1378 } 1379 }, 1380 "sdks": { 1381 - "dart": ">=3.7.0 <4.0.0", 1382 - "flutter": ">=3.29.3" 1383 } 1384 }
··· 54 "dependency": "transitive", 55 "description": { 56 "name": "async", 57 + "sha256": "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb", 58 "url": "https://pub.dev" 59 }, 60 "source": "hosted", 61 + "version": "2.13.0" 62 }, 63 "battery_plus": { 64 "dependency": "direct main", ··· 235 "dependency": "transitive", 236 "description": { 237 "name": "fake_async", 238 + "sha256": "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44", 239 "url": "https://pub.dev" 240 }, 241 "source": "hosted", 242 + "version": "1.3.3" 243 }, 244 "ffi": { 245 "dependency": "transitive", ··· 536 "dependency": "transitive", 537 "description": { 538 "name": "flutter_rust_bridge", 539 + "sha256": "b416ff56002789e636244fb4cc449f587656eff995e5a7169457eb0593fcaddb", 540 "url": "https://pub.dev" 541 }, 542 "source": "hosted", 543 + "version": "2.10.0" 544 }, 545 "flutter_saf": { 546 "dependency": "direct main", ··· 649 "dependency": "direct main", 650 "description": { 651 "name": "intl", 652 + "sha256": "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5", 653 "url": "https://pub.dev" 654 }, 655 "source": "hosted", 656 + "version": "0.20.2" 657 }, 658 "io": { 659 "dependency": "transitive", ··· 679 "dependency": "transitive", 680 "description": { 681 "name": "leak_tracker", 682 + "sha256": "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0", 683 "url": "https://pub.dev" 684 }, 685 "source": "hosted", 686 + "version": "10.0.9" 687 }, 688 "leak_tracker_flutter_testing": { 689 "dependency": "transitive", ··· 951 "dependency": "direct main", 952 "description": { 953 "path": "rhttp", 954 + "ref": "1f0ff50336062c5f809c256726dc55cd30b9ce59", 955 + "resolved-ref": "1f0ff50336062c5f809c256726dc55cd30b9ce59", 956 "url": "https://github.com/wgh136/rhttp" 957 }, 958 "source": "git", 959 + "version": "0.12.0" 960 }, 961 "screen_retriever": { 962 "dependency": "transitive", ··· 1289 "dependency": "transitive", 1290 "description": { 1291 "name": "vm_service", 1292 + "sha256": "ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02", 1293 "url": "https://pub.dev" 1294 }, 1295 "source": "hosted", 1296 + "version": "15.0.0" 1297 }, 1298 "web": { 1299 "dependency": "transitive", ··· 1378 } 1379 }, 1380 "sdks": { 1381 + "dart": ">=3.8.0 <4.0.0", 1382 + "flutter": ">=3.32.0" 1383 } 1384 }
+3 -3
pkgs/by-name/vo/volanta/package.nix
··· 6 }: 7 let 8 pname = "volanta"; 9 - version = "1.11.3"; 10 src = fetchurl { 11 - url = "https://cdn.volanta.app/software/volanta-app/${version}-622dc10d/volanta-${version}.AppImage"; 12 - hash = "sha256-vplJEE+D2Yzr4fD//CdLRAYAKQp6a1RR0jZ1N46Q8xU="; 13 }; 14 appImageContents = appimageTools.extract { inherit pname version src; }; 15 in
··· 6 }: 7 let 8 pname = "volanta"; 9 + version = "1.12.0"; 10 src = fetchurl { 11 + url = "https://cdn.volanta.app/software/volanta-app/${version}-0e24f0ee/volanta-${version}.AppImage"; 12 + hash = "sha256-PwBnKR0oFMJtyPxpgDGlSDmcxY9wxhp2Un6mkRJIlfI="; 13 }; 14 appImageContents = appimageTools.extract { inherit pname version src; }; 15 in
+9 -6
pkgs/by-name/wm/wmenu/package.nix
··· 14 scdoc, 15 }: 16 17 - stdenv.mkDerivation { 18 pname = "wmenu"; 19 - version = "0.1.9-unstable-2025-03-01"; 20 21 strictDeps = true; 22 ··· 24 domain = "codeberg.org"; 25 owner = "adnano"; 26 repo = "wmenu"; 27 - rev = "fc69aa6e2bccca461a0bd0c10b448b64ccda1d42"; 28 - hash = "sha256-ZssptllD6LPQUinKZime9A1dZJ3CkQvp+DUmk+iyaOA="; 29 }; 30 31 nativeBuildInputs = [ ··· 48 homepage = "https://codeberg.org/adnano/wmenu"; 49 license = licenses.mit; 50 platforms = platforms.linux; 51 - maintainers = with maintainers; [ eken ]; 52 mainProgram = "wmenu"; 53 }; 54 - }
··· 14 scdoc, 15 }: 16 17 + stdenv.mkDerivation (finalAttrs: { 18 pname = "wmenu"; 19 + version = "0.2.0"; 20 21 strictDeps = true; 22 ··· 24 domain = "codeberg.org"; 25 owner = "adnano"; 26 repo = "wmenu"; 27 + tag = finalAttrs.version; 28 + hash = "sha256-JkKA3MUfRLsZWgvDyiYdqb8u4nGSfboL6Ecy7poPW1k="; 29 }; 30 31 nativeBuildInputs = [ ··· 48 homepage = "https://codeberg.org/adnano/wmenu"; 49 license = licenses.mit; 50 platforms = platforms.linux; 51 + maintainers = with maintainers; [ 52 + eken 53 + sweiglbosker 54 + ]; 55 mainProgram = "wmenu"; 56 }; 57 + })
+64
pkgs/by-name/wo/wol/macos-10_7-getline.patch
···
··· 1 + From f78508f9803de42faf6e578d89ce08ea31a62b0d Mon Sep 17 00:00:00 2001 2 + From: Bryan Lai <bryanlais@gmail.com> 3 + Date: Thu, 29 May 2025 15:38:11 +0800 4 + Subject: [PATCH] fix: build for darwin (conflicting getline) 5 + 6 + Previously failing with: 7 + 8 + In file included from getpass4.c:7: 9 + ./getline.h:32:1: error: conflicting types for 'getline' 10 + 32 | getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); 11 + | ^ 12 + /nix/store/w41ks2baj649algkjnbh9746cprrnr1k-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:355:9: note: previous declaration is here 13 + 355 | ssize_t getline(char ** __restrict __linep, size_t * __restrict __linecapp, FILE * __restrict __stream) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); 14 + | ^ 15 + In file included from getpass4.c:7: 16 + ./getline.h:35:1: error: conflicting types for 'getdelim' 17 + 35 | getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); 18 + | ^ 19 + /nix/store/w41ks2baj649algkjnbh9746cprrnr1k-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:354:9: note: previous declaration is here 20 + 354 | ssize_t getdelim(char ** __restrict __linep, size_t * __restrict __linecapp, int __delimiter, FILE * __restrict __stream) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); 21 + | ^ 22 + 4 warnings generated. 23 + 2 errors generated. 24 + --- 25 + configure.ac | 2 +- 26 + lib/getline.h | 7 +++++++ 27 + 2 files changed, 8 insertions(+), 1 deletion(-) 28 + 29 + diff --git a/configure.ac b/configure.ac 30 + index 99dc73d..fd0b0dc 100644 31 + --- a/configure.ac 32 + +++ b/configure.ac 33 + @@ -193,7 +193,7 @@ gl_MD5 dnl for GNU md5 34 + AM_FUNC_GETLINE dnl for GNU getline 35 + AC_CHECK_FUNCS(usleep) 36 + AC_CHECK_FUNCS(getopt_long) dnl for GNU getopt 37 + -AC_CHECK_FUNCS(getdelim) 38 + +AC_CHECK_FUNCS([getline getdelim]) 39 + AC_CHECK_FUNC(inet_aton, [], [ 40 + dnl check libresolv for inet_aton() as seen on solaris 41 + AC_CHECK_LIB(resolv, inet_aton, 42 + diff --git a/lib/getline.h b/lib/getline.h 43 + index 991184c..34a0247 100644 44 + --- a/lib/getline.h 45 + +++ b/lib/getline.h 46 + @@ -28,11 +28,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 47 + # endif 48 + 49 + # if __GLIBC__ < 2 50 + + 51 + +#include "config.h" 52 + +#ifndef HAVE_GETLINE 53 + int 54 + getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); 55 + +#endif 56 + 57 + +#ifndef HAVE_GETDELIM 58 + int 59 + getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); 60 + +#endif 61 + + 62 + # endif 63 + 64 + #endif /* not GETLINE_H_ */
+5 -2
pkgs/by-name/wo/wol/package.nix
··· 15 sha256 = "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270"; 16 }; 17 18 - patches = [ ./gcc-14.patch ]; 19 20 nativeBuildInputs = [ 21 perl # for pod2man in order to get a manpage ··· 30 license = licenses.gpl2Plus; 31 maintainers = with maintainers; [ makefu ]; 32 mainProgram = "wol"; 33 - platforms = platforms.linux; 34 }; 35 }
··· 15 sha256 = "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270"; 16 }; 17 18 + patches = [ 19 + ./gcc-14.patch 20 + ./macos-10_7-getline.patch 21 + ]; 22 23 nativeBuildInputs = [ 24 perl # for pod2man in order to get a manpage ··· 33 license = licenses.gpl2Plus; 34 maintainers = with maintainers; [ makefu ]; 35 mainProgram = "wol"; 36 + platforms = platforms.unix; 37 }; 38 }
+8 -2
pkgs/by-name/ya/yazi/package.nix
··· 69 mkdir $out/plugins 70 ${lib.optionalString (plugins != { }) '' 71 ${lib.concatStringsSep "\n" ( 72 - lib.mapAttrsToList (name: value: "ln -s ${value} $out/plugins/${name}") plugins 73 )} 74 ''} 75 76 mkdir $out/flavors 77 ${lib.optionalString (flavors != { }) '' 78 ${lib.concatStringsSep "\n" ( 79 - lib.mapAttrsToList (name: value: "ln -s ${value} $out/flavors/${name}") flavors 80 )} 81 ''} 82
··· 69 mkdir $out/plugins 70 ${lib.optionalString (plugins != { }) '' 71 ${lib.concatStringsSep "\n" ( 72 + lib.mapAttrsToList ( 73 + name: value: 74 + "ln -s ${value} $out/plugins/${if lib.hasSuffix ".yazi" name then name else "${name}.yazi"}" 75 + ) plugins 76 )} 77 ''} 78 79 mkdir $out/flavors 80 ${lib.optionalString (flavors != { }) '' 81 ${lib.concatStringsSep "\n" ( 82 + lib.mapAttrsToList ( 83 + name: value: 84 + "ln -s ${value} $out/flavors/${if lib.hasSuffix ".yazi" name then name else "${name}.yazi"}" 85 + ) flavors 86 )} 87 ''} 88
+2 -2
pkgs/by-name/za/zapret/package.nix
··· 16 17 stdenv.mkDerivation (finalAttrs: { 18 pname = "zapret"; 19 - version = "70.6"; 20 21 src = fetchFromGitHub { 22 owner = "bol-van"; 23 repo = "zapret"; 24 tag = "v${finalAttrs.version}"; 25 - hash = "sha256-VnC4UeR8Zxr8oKx9icZBTUNjVWpd16wLKyZ+zNShJQk="; 26 }; 27 28 buildInputs = [
··· 16 17 stdenv.mkDerivation (finalAttrs: { 18 pname = "zapret"; 19 + version = "71"; 20 21 src = fetchFromGitHub { 22 owner = "bol-van"; 23 repo = "zapret"; 24 tag = "v${finalAttrs.version}"; 25 + hash = "sha256-OeOnzqYyRAQNRtjtPHwzDL/csuTAUgIRJKsPVr3iBac="; 26 }; 27 28 buildInputs = [
+1
pkgs/development/compilers/dart/package-source-builders/rhttp/default.nix
··· 35 _0_9_8 = "sha256-cwb1wYVXOE5YABlMxUDt+OMlDpIlipqeNI7ZFAGHCqo="; 36 _0_10_0 = "sha256-2SpAj53XvZXKRpMzFXJGcx7E2TlMUD+ooHkFwg/9fe4="; 37 _0_11_0 = "sha256-sngh5k9GoCZhnIFTpnAVHZjxTcOv+Ui6pJ2cFyriL84="; 38 } 39 .${"_" + (lib.replaceStrings [ "." ] [ "_" ] version)} or (throw '' 40 Unsupported version of pub 'rhttp': '${version}'
··· 35 _0_9_8 = "sha256-cwb1wYVXOE5YABlMxUDt+OMlDpIlipqeNI7ZFAGHCqo="; 36 _0_10_0 = "sha256-2SpAj53XvZXKRpMzFXJGcx7E2TlMUD+ooHkFwg/9fe4="; 37 _0_11_0 = "sha256-sngh5k9GoCZhnIFTpnAVHZjxTcOv+Ui6pJ2cFyriL84="; 38 + _0_12_0 = "sha256-W2DcBy1n73nR2oZIQcFt6A+NElQWtfEtKB1YIweQUVo="; 39 } 40 .${"_" + (lib.replaceStrings [ "." ] [ "_" ] version)} or (throw '' 41 Unsupported version of pub 'rhttp': '${version}'
+9 -5
pkgs/development/libraries/c-blosc/1.nix
··· 33 34 nativeBuildInputs = [ cmake ]; 35 36 - buildInputs = [ 37 lz4 38 zlib 39 zstd ··· 54 55 doCheck = !static; 56 57 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 58 59 meta = with lib; { 60 description = "Blocking, shuffling and loss-less compression library"; 61 homepage = "https://www.blosc.org"; 62 changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${finalAttrs.version}"; 63 - pkgConfigModules = [ 64 - "blosc" 65 - ]; 66 license = licenses.bsd3; 67 platforms = platforms.all; 68 maintainers = with maintainers; [ ris ];
··· 33 34 nativeBuildInputs = [ cmake ]; 35 36 + propagatedBuildInputs = [ 37 lz4 38 zlib 39 zstd ··· 54 55 doCheck = !static; 56 57 + passthru.tests = { 58 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 59 + cmake-config = testers.hasCmakeConfigModules { 60 + moduleNames = [ "Blosc2" ]; 61 + package = finalAttrs.finalPackage; 62 + }; 63 + }; 64 65 meta = with lib; { 66 description = "Blocking, shuffling and loss-less compression library"; 67 homepage = "https://www.blosc.org"; 68 changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${finalAttrs.version}"; 69 + pkgConfigModules = [ "blosc2" ]; 70 license = licenses.bsd3; 71 platforms = platforms.all; 72 maintainers = with maintainers; [ ris ];
+9 -5
pkgs/development/libraries/c-blosc/2.nix
··· 33 34 nativeBuildInputs = [ cmake ]; 35 36 - buildInputs = [ 37 lz4 38 zlib-ng 39 zstd ··· 56 # possibly https://github.com/Blosc/c-blosc2/issues/432 57 enableParallelChecking = false; 58 59 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 60 61 meta = with lib; { 62 description = "Fast, compressed, persistent binary data store library for C"; 63 homepage = "https://www.blosc.org"; 64 changelog = "https://github.com/Blosc/c-blosc2/releases/tag/v${finalAttrs.version}"; 65 - pkgConfigModules = [ 66 - "blosc2" 67 - ]; 68 license = licenses.bsd3; 69 platforms = platforms.all; 70 maintainers = with maintainers; [ ris ];
··· 33 34 nativeBuildInputs = [ cmake ]; 35 36 + propagatedBuildInputs = [ 37 lz4 38 zlib-ng 39 zstd ··· 56 # possibly https://github.com/Blosc/c-blosc2/issues/432 57 enableParallelChecking = false; 58 59 + passthru.tests = { 60 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 61 + cmake-config = testers.hasCmakeConfigModules { 62 + moduleNames = [ "Blosc2" ]; 63 + package = finalAttrs.finalPackage; 64 + }; 65 + }; 66 67 meta = with lib; { 68 description = "Fast, compressed, persistent binary data store library for C"; 69 homepage = "https://www.blosc.org"; 70 changelog = "https://github.com/Blosc/c-blosc2/releases/tag/v${finalAttrs.version}"; 71 + pkgConfigModules = [ "blosc2" ]; 72 license = licenses.bsd3; 73 platforms = platforms.all; 74 maintainers = with maintainers; [ ris ];
+26
pkgs/development/libraries/cctag/cmake-no-apple-rpath.patch
···
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index d0e35b6..fc19477 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -96,20 +96,6 @@ endif() 6 + # set the path where we can find the findXXX.cmake 7 + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake") 8 + 9 + -if(APPLE) 10 + - 11 + - # avoid the cmake policy warning about @rpath in MacOSX 12 + - cmake_policy(SET CMP0042 NEW) 13 + - 14 + - SET(CMAKE_MACOSX_RPATH TRUE) # initialize the MACOSX_RPATH property on all targets 15 + - SET(CMAKE_SKIP_BUILD_RPATH FALSE) # don't skip the full RPATH for the build tree 16 + - # SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) # when building, don't use the install RPATH already 17 + - SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) # when building, use the install RPATH already 18 + - # probably not needed 19 + - # SET(CMAKE_INSTALL_RPATH "") # the RPATH to be used when installing 20 + - SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) # LC_RPATH for CUDA and OpenCV etc written into executable 21 + -endif(APPLE) 22 + - 23 + # FIND BOOST 24 + set(BOOST_REQUIRED_COMPONENTS "atomic;chrono;date_time;filesystem;program_options;serialization;system;thread;timer;math_c99") 25 + if(WIN32) 26 +
+13 -8
pkgs/development/libraries/cctag/default.nix
··· 4 fetchFromGitHub, 5 6 cmake, 7 - boost179, 8 eigen, 9 opencv, 10 tbb, ··· 14 15 stdenv.mkDerivation rec { 16 pname = "cctag"; 17 - version = "1.0.3"; 18 19 outputs = [ 20 - "lib" 21 "dev" 22 - "out" 23 ]; 24 25 src = fetchFromGitHub { 26 owner = "alicevision"; 27 repo = "CCTag"; 28 rev = "v${version}"; 29 - hash = "sha256-foB+e7BCuUucyhN8FsI6BIT3/fsNLTjY6QmjkMWZu6A="; 30 }; 31 32 cmakeFlags = [ ··· 41 42 patches = [ 43 ./cmake-install-include-dir.patch 44 ]; 45 46 nativeBuildInputs = [ 47 cmake 48 ]; ··· 52 ]; 53 54 buildInputs = [ 55 - boost179 56 eigen 57 opencv.cxxdev 58 ]; 59 60 - # Tests are broken on Darwin (linking issue) 61 - doCheck = !stdenv.hostPlatform.isDarwin; 62 63 meta = with lib; { 64 description = "Detection of CCTag markers made up of concentric circles";
··· 4 fetchFromGitHub, 5 6 cmake, 7 + boost, 8 eigen, 9 opencv, 10 tbb, ··· 14 15 stdenv.mkDerivation rec { 16 pname = "cctag"; 17 + version = "1.0.4"; 18 19 outputs = [ 20 + "out" 21 "dev" 22 ]; 23 24 src = fetchFromGitHub { 25 owner = "alicevision"; 26 repo = "CCTag"; 27 rev = "v${version}"; 28 + hash = "sha256-M35KGTTmwGwXefsFWB2UKAKveUQyZBW7V8ejgOAJpXk="; 29 }; 30 31 cmakeFlags = [ ··· 40 41 patches = [ 42 ./cmake-install-include-dir.patch 43 + ./cmake-no-apple-rpath.patch 44 ]; 45 46 + # darwin boost doesn't have math_c99 libraries 47 + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' 48 + substituteInPlace CMakeLists.txt --replace-warn ";math_c99" "" 49 + substituteInPlace src/CMakeLists.txt --replace-warn "Boost::math_c99" "" 50 + ''; 51 + 52 nativeBuildInputs = [ 53 cmake 54 ]; ··· 58 ]; 59 60 buildInputs = [ 61 + boost 62 eigen 63 opencv.cxxdev 64 ]; 65 66 + doCheck = true; 67 68 meta = with lib; { 69 description = "Detection of CCTag markers made up of concentric circles";
+3 -3
pkgs/development/python-modules/corallium/default.nix
··· 11 }: 12 buildPythonPackage rec { 13 pname = "corallium"; 14 - version = "0.3.3"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "KyleKing"; 19 repo = pname; 20 - rev = version; 21 - hash = "sha256-fZzm3o8EwegNG+sYn8lbPz60NMyA/OzGFUf/J/lbGbI="; 22 }; 23 24 build-system = [
··· 11 }: 12 buildPythonPackage rec { 13 pname = "corallium"; 14 + version = "2.1.1"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "KyleKing"; 19 repo = pname; 20 + tag = version; 21 + hash = "sha256-0P8qmX+1zigL4jaA4TTuqAzFkyhQUfdGmPLxkFnT0qE="; 22 }; 23 24 build-system = [
+3 -5
pkgs/development/python-modules/datashader/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 - pythonOlder, 5 fetchFromGitHub, 6 hatchling, 7 hatch-vcs, ··· 24 25 buildPythonPackage rec { 26 pname = "datashader"; 27 - version = "0.18.0"; 28 pyproject = true; 29 - 30 - disabled = pythonOlder "3.9"; 31 32 src = fetchFromGitHub { 33 owner = "holoviz"; 34 repo = "datashader"; 35 tag = "v${version}"; 36 - hash = "sha256-HduEO2XDH20tovtlpg5DbF96G5Lpbo+XVmQKnWvfyL8="; 37 }; 38 39 build-system = [ ··· 68 description = "Data visualization toolchain based on aggregating into a grid"; 69 mainProgram = "datashader"; 70 homepage = "https://datashader.org"; 71 license = lib.licenses.bsd3; 72 maintainers = with lib.maintainers; [ nickcao ]; 73 };
··· 1 { 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 hatch-vcs, ··· 23 24 buildPythonPackage rec { 25 pname = "datashader"; 26 + version = "0.18.1"; 27 pyproject = true; 28 29 src = fetchFromGitHub { 30 owner = "holoviz"; 31 repo = "datashader"; 32 tag = "v${version}"; 33 + hash = "sha256-nQsVuj4zK5bfF617K71n+El5/ZC7vNia7dhrIqv7t+M="; 34 }; 35 36 build-system = [ ··· 65 description = "Data visualization toolchain based on aggregating into a grid"; 66 mainProgram = "datashader"; 67 homepage = "https://datashader.org"; 68 + changelog = "https://github.com/holoviz/datashader/blob/${src.tag}/CHANGELOG.rst"; 69 license = lib.licenses.bsd3; 70 maintainers = with lib.maintainers; [ nickcao ]; 71 };
+52
pkgs/development/python-modules/dramatiq-abort/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + gevent, 6 + pytestCheckHook, 7 + pytest-cov, 8 + dramatiq, 9 + redis, 10 + setuptools, 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "dramatiq-abort"; 15 + version = "1.2.1"; 16 + pyproject = true; 17 + 18 + src = fetchFromGitHub { 19 + owner = "Flared"; 20 + repo = "dramatiq-abort"; 21 + tag = "v${version}"; 22 + hash = "sha256-i5vL9yjQQambG8m6RDByr7/j8+PhDdLsai3pDrH1A4Q="; 23 + }; 24 + 25 + build-system = [ setuptools ]; 26 + 27 + dependencies = [ 28 + dramatiq 29 + ]; 30 + 31 + optional-dependencies = { 32 + all = lib.flatten (lib.attrValues (lib.filterAttrs (n: v: n != "all") optional-dependencies)); 33 + gevent = [ gevent ]; 34 + redis = [ redis ]; 35 + }; 36 + 37 + nativeCheckInputs = [ 38 + redis 39 + pytestCheckHook 40 + pytest-cov 41 + ]; 42 + 43 + pythonImportsCheck = [ "dramatiq_abort" ]; 44 + 45 + meta = { 46 + changelog = "https://github.com/Flared/dramatiq-abort/releases/tag/v${version}"; 47 + description = "Dramatiq extension to abort message"; 48 + homepage = "https://github.com/Flared/dramatiq-abort"; 49 + license = lib.licenses.lgpl3Plus; 50 + maintainers = with lib.maintainers; [ tebriel ]; 51 + }; 52 + }
+3 -3
pkgs/development/python-modules/edk2-pytool-library/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "edk2-pytool-library"; 20 - version = "0.23.2"; 21 pyproject = true; 22 23 - disabled = pythonOlder "3.11"; 24 25 src = fetchFromGitHub { 26 owner = "tianocore"; 27 repo = "edk2-pytool-library"; 28 tag = "v${version}"; 29 - hash = "sha256-ThAYxOgYa7IQEbizdH2b2oTulJu9oX9V/7v4o8vxXQM="; 30 }; 31 32 build-system = [
··· 17 18 buildPythonPackage rec { 19 pname = "edk2-pytool-library"; 20 + version = "0.23.3"; 21 pyproject = true; 22 23 + disabled = pythonOlder "3.10"; 24 25 src = fetchFromGitHub { 26 owner = "tianocore"; 27 repo = "edk2-pytool-library"; 28 tag = "v${version}"; 29 + hash = "sha256-fWt9epsc77YCQiB5BeuCHUZ2Or8ddgMDSZPHC4f3yZ8="; 30 }; 31 32 build-system = [
+36
pkgs/development/python-modules/fitdecode/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools, 6 + pytestCheckHook, 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "fitdecode"; 11 + version = "0.10.0"; 12 + pyproject = true; 13 + 14 + src = fetchFromGitHub { 15 + owner = "polyvertex"; 16 + repo = "fitdecode"; 17 + tag = "v${version}"; 18 + hash = "sha256-pW1PgJGqFL2reOYYfpGnQ4WoYFKGMNY8iQJzyHYOly8="; 19 + }; 20 + 21 + build-system = [ 22 + setuptools 23 + ]; 24 + 25 + nativeCheckInputs = [ pytestCheckHook ]; 26 + 27 + pythonImportsCheck = [ "fitdecode" ]; 28 + 29 + meta = { 30 + changelog = "https://github.com/polyvertex/fitdecode/blob/${src.tag}/HISTORY.rst"; 31 + description = "FIT file parsing and decoding library written in Python3"; 32 + license = lib.licenses.mit; 33 + homepage = "https://github.com/polyvertex/fitdecode"; 34 + maintainers = with lib.maintainers; [ tebriel ]; 35 + }; 36 + }
+2 -2
pkgs/development/python-modules/managesieve/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "managesieve"; 12 - version = "0.8"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-2CCb6h69H58YT1byj/fkrfzGsMUbr0GHpJLcMpsSE/M="; 20 }; 21 22 nativeBuildInputs = [ setuptools ];
··· 9 10 buildPythonPackage rec { 11 pname = "managesieve"; 12 + version = "0.8.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-LVwe0Pn6YPIAuoIaxXMfvCbOfS4NAjozkrdMNZDq+uU="; 20 }; 21 22 nativeBuildInputs = [ setuptools ];
+6 -9
pkgs/development/python-modules/pygount/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "pygount"; 15 - version = "2.0.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "roskakori"; 20 repo = "pygount"; 21 tag = "v${version}"; 22 - hash = "sha256-l2Rq+4u6NwUIwMYWY/qfne7DrG0guv6hwnqVq5wszAo="; 23 }; 24 25 build-system = [ 26 hatchling 27 - ]; 28 - 29 - pythonRelaxDeps = [ 30 - "rich" 31 ]; 32 33 dependencies = [ 34 - pygments 35 chardet 36 - rich 37 gitpython 38 ]; 39 40 nativeCheckInputs = [ ··· 45 # requires network access 46 "test_can_find_files_from_mixed_cloned_git_remote_url_and_local" 47 "test_can_extract_and_close_and_find_files_from_cloned_git_remote_url_with_revision" 48 ]; 49 50 pythonImportsCheck = [ "pygount" ]; ··· 53 description = "Count lines of code for hundreds of languages using pygments"; 54 mainProgram = "pygount"; 55 homepage = "https://github.com/roskakori/pygount"; 56 - changelog = "https://github.com/roskakori/pygount/blob/${src.rev}/CHANGES.md"; 57 license = with lib.licenses; [ bsd3 ]; 58 maintainers = with lib.maintainers; [ nickcao ]; 59 };
··· 12 13 buildPythonPackage rec { 14 pname = "pygount"; 15 + version = "3.1.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "roskakori"; 20 repo = "pygount"; 21 tag = "v${version}"; 22 + hash = "sha256-hoj27L1wXOjzU3jdWIP5MtlO6fzKOYXfW/Pf3AdYKc0="; 23 }; 24 25 build-system = [ 26 hatchling 27 ]; 28 29 dependencies = [ 30 chardet 31 gitpython 32 + pygments 33 + rich 34 ]; 35 36 nativeCheckInputs = [ ··· 41 # requires network access 42 "test_can_find_files_from_mixed_cloned_git_remote_url_and_local" 43 "test_can_extract_and_close_and_find_files_from_cloned_git_remote_url_with_revision" 44 + "test_succeeds_on_not_git_extension" 45 ]; 46 47 pythonImportsCheck = [ "pygount" ]; ··· 50 description = "Count lines of code for hundreds of languages using pygments"; 51 mainProgram = "pygount"; 52 homepage = "https://github.com/roskakori/pygount"; 53 + changelog = "https://github.com/roskakori/pygount/blob/${src.tag}/docs/changes.md"; 54 license = with lib.licenses; [ bsd3 ]; 55 maintainers = with lib.maintainers; [ nickcao ]; 56 };
+2 -2
pkgs/development/python-modules/reflex/default.nix
··· 43 44 buildPythonPackage rec { 45 pname = "reflex"; 46 - version = "0.7.12"; 47 pyproject = true; 48 49 src = fetchFromGitHub { 50 owner = "reflex-dev"; 51 repo = "reflex"; 52 tag = "v${version}"; 53 - hash = "sha256-v7oKfAh+qG+eQC6NKS7r4ZFokXHlF6Di0529xBcEAdk="; 54 }; 55 56 # 'rich' is also somehow checked when building the wheel,
··· 43 44 buildPythonPackage rec { 45 pname = "reflex"; 46 + version = "0.7.14"; 47 pyproject = true; 48 49 src = fetchFromGitHub { 50 owner = "reflex-dev"; 51 repo = "reflex"; 52 tag = "v${version}"; 53 + hash = "sha256-yuVBQYP0YlvAIWF/+oSfCLbfj1GLtnYajU3WoolyTjY="; 54 }; 55 56 # 'rich' is also somehow checked when building the wheel,
+37
pkgs/development/python-modules/standard-mailcap/default.nix
···
··· 1 + { 2 + buildPythonPackage, 3 + fetchFromGitHub, 4 + lib, 5 + pytestCheckHook, 6 + pythonOlder, 7 + setuptools, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "standard-mailcap"; 12 + version = "3.13.0"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.13"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "youknowone"; 19 + repo = "python-deadlib"; 20 + tag = "v${version}"; 21 + hash = "sha256-9mtQi5ufxP6xRonTrFC3oWFpWLbJraAmdQYozP3evgc="; 22 + sparseCheckout = [ "mailcap" ]; 23 + }; 24 + 25 + build-system = [ setuptools ]; 26 + sourceRoot = "${src.name}/mailcap"; 27 + 28 + nativeCheckInputs = [ pytestCheckHook ]; 29 + pythonImportsCheck = [ "mailcap" ]; 30 + 31 + meta = { 32 + description = "Standard library mailcap redistribution"; 33 + homepage = "https://github.com/youknowone/python-deadlib"; 34 + license = lib.licenses.psfl; 35 + maintainers = [ lib.maintainers.lucc ]; 36 + }; 37 + }
+60
pkgs/development/python-modules/staticmap3/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + cachecontrol, 6 + filelock, 7 + mypy, 8 + pillow, 9 + poetry-core, 10 + requests, 11 + ruff, 12 + types-requests, 13 + unittestCheckHook, 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "staticmap3"; 18 + version = "0.1.0"; 19 + pyproject = true; 20 + 21 + src = fetchFromGitHub { 22 + owner = "SamR1"; 23 + repo = "staticmap"; 24 + tag = "v${version}"; 25 + hash = "sha256-SMy4yxHA9Z3BFW6kX8vC7WfsmuZMNqocJ9+dJB6zwSs="; 26 + }; 27 + 28 + build-system = [ 29 + poetry-core 30 + ]; 31 + 32 + dependencies = [ 33 + cachecontrol 34 + requests 35 + pillow 36 + ]; 37 + 38 + nativeCheckInputs = [ 39 + unittestCheckHook 40 + ]; 41 + 42 + optional-dependencies = { 43 + filecache = [ filelock ]; 44 + dev = [ 45 + mypy 46 + ruff 47 + types-requests 48 + ]; 49 + }; 50 + 51 + pythonImportsCheck = [ "staticmap3" ]; 52 + 53 + meta = { 54 + description = "Small, python-based library for creating map images with lines and markers"; 55 + homepage = "https://github.com/SamR1/staticmap"; 56 + changelog = "https://github.com/SamR1/staticmap/releases/tag/v${version}"; 57 + license = lib.licenses.asl20; 58 + maintainers = with lib.maintainers; [ tebriel ]; 59 + }; 60 + }
+34
pkgs/development/python-modules/tkinter-gl/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools-scm, 6 + tkinter, 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "tkinter-gl"; 11 + version = "1.0"; 12 + pyproject = true; 13 + 14 + src = fetchFromGitHub { 15 + owner = "3-manifolds"; 16 + repo = "tkinter_gl"; 17 + tag = "v${version}_as_released"; 18 + hash = "sha256-ObI8EEQ7mAOAuV6f+Ld4HH0xkFzqiAZqHDvzjwPA/wM"; 19 + }; 20 + 21 + build-system = [ setuptools-scm ]; 22 + 23 + dependencies = [ tkinter ]; 24 + 25 + pythonImportsCheck = [ "tkinter_gl" ]; 26 + 27 + meta = { 28 + description = "Base class for GL rendering surfaces in tkinter"; 29 + changelog = "https://github.com/3-manifolds/tkinter_gl/releases/tag/${src.tag}"; 30 + homepage = "https://github.com/3-manifolds/tkinter_gl"; 31 + license = lib.licenses.gpl2Plus; 32 + maintainers = with lib.maintainers; [ noiioiu ]; 33 + }; 34 + }
+12 -13
pkgs/tools/security/tracee/default.nix pkgs/by-name/tr/tracee/package.nix
··· 3 buildGoModule, 4 fetchFromGitHub, 5 6 - clang, 7 pkg-config, 8 9 - zlib, 10 elfutils, 11 libbpf, 12 13 nixosTests, 14 testers, ··· 18 19 buildGoModule rec { 20 pname = "tracee"; 21 - version = "0.20.0"; 22 23 src = fetchFromGitHub { 24 owner = "aquasecurity"; 25 repo = pname; 26 # project has branches and tags of the same name 27 tag = "v${version}"; 28 - hash = "sha256-OnOayDxisvDd802kDKGctaQc5LyoyFfdfvC+2JpRjHY="; 29 }; 30 - vendorHash = "sha256-26sAKTJQ7Rf5KRlu7j5XiZVr6CkAC6fm60Pam7KH0uA="; 31 32 patches = [ 33 - ./use-our-libbpf.patch 34 - # can not vendor dependencies with old pyroscope 35 - # remove once https://github.com/aquasecurity/tracee/pull/3927 36 - # makes it to a release 37 - ./update-pyroscope.patch 38 ]; 39 40 enableParallelBuilding = true; ··· 42 hardeningDisable = [ "stackprotector" ]; 43 44 nativeBuildInputs = [ 45 pkg-config 46 - clang 47 ]; 48 buildInputs = [ 49 elfutils 50 libbpf 51 - zlib 52 ]; 53 54 makeFlags = [ 55 - "VERSION=v${version}" 56 "GO_DEBUG_FLAG=-s -w" 57 # don't actually need git but the Makefile checks for it 58 "CMD_GIT=echo"
··· 3 buildGoModule, 4 fetchFromGitHub, 5 6 + clang_14, 7 pkg-config, 8 9 elfutils, 10 libbpf, 11 + zlib, 12 + zstd, 13 14 nixosTests, 15 testers, ··· 19 20 buildGoModule rec { 21 pname = "tracee"; 22 + version = "0.23.1"; 23 24 + # src = /home/tim/repos/tracee; 25 src = fetchFromGitHub { 26 owner = "aquasecurity"; 27 repo = pname; 28 # project has branches and tags of the same name 29 tag = "v${version}"; 30 + hash = "sha256-9uP0yoW+xRYv7wHuCfUMU8B2oTQjiSW5p/Ty76ni2wo="; 31 }; 32 + vendorHash = "sha256-2+4UN9WB6eGzedogy5dMvhHj1x5VeUUkDM0Z28wKQgM="; 33 34 patches = [ 35 + ./0001-fix-do-not-build-libbpf.patch 36 ]; 37 38 enableParallelBuilding = true; ··· 40 hardeningDisable = [ "stackprotector" ]; 41 42 nativeBuildInputs = [ 43 + clang_14 44 pkg-config 45 ]; 46 buildInputs = [ 47 elfutils 48 libbpf 49 + zlib.dev 50 + zstd.dev 51 ]; 52 53 makeFlags = [ 54 + "RELEASE_VERSION=v${version}" 55 "GO_DEBUG_FLAG=-s -w" 56 # don't actually need git but the Makefile checks for it 57 "CMD_GIT=echo"
+5
pkgs/tools/security/tracee/integration-tests.nix pkgs/by-name/tr/tracee/integration-tests.nix
··· 18 --replace-fail 'syscallerAbsPath := filepath.Join("..", "..", "dist", "syscaller")' "syscallerAbsPath := filepath.Join(\"$out/bin/syscaller\")" 19 substituteInPlace tests/integration/exec_test.go \ 20 --replace-fail "/usr/bin" "/run/current-system/sw/bin" 21 ''; 22 nativeBuildInputs = oa.nativeBuildInputs or [ ] ++ [ makeWrapper ]; 23 buildPhase = ''
··· 18 --replace-fail 'syscallerAbsPath := filepath.Join("..", "..", "dist", "syscaller")' "syscallerAbsPath := filepath.Join(\"$out/bin/syscaller\")" 19 substituteInPlace tests/integration/exec_test.go \ 20 --replace-fail "/usr/bin" "/run/current-system/sw/bin" 21 + substituteInPlace tests/integration/dependencies_test.go \ 22 + --replace-fail "/bin" "/run/current-system/sw/bin" \ 23 + --replace-fail "/tmp/test" "/tmp/ls" 24 + substituteInPlace tests/testutils/tracee.go \ 25 + --replace-fail "../../dist/tracee" "${lib.getExe tracee}" 26 ''; 27 nativeBuildInputs = oa.nativeBuildInputs or [ ] ++ [ makeWrapper ]; 28 buildPhase = ''
-229
pkgs/tools/security/tracee/update-pyroscope.patch
··· 1 - diff --git a/go.mod b/go.mod 2 - index 8288d7d0a..0ac753fa1 100644 3 - --- a/go.mod 4 - +++ b/go.mod 5 - @@ -16,6 +16,7 @@ require ( 6 - github.com/docker/docker v24.0.7+incompatible 7 - github.com/golang/protobuf v1.5.3 8 - github.com/google/gopacket v1.1.19 9 - + github.com/grafana/pyroscope-go v1.1.1 10 - github.com/hashicorp/golang-lru v0.5.4 11 - github.com/hashicorp/golang-lru/v2 v2.0.2 12 - github.com/mennanov/fmutils v0.2.0 13 - @@ -23,7 +24,6 @@ require ( 14 - github.com/mitchellh/mapstructure v1.5.0 15 - github.com/open-policy-agent/opa v0.52.0 16 - github.com/prometheus/client_golang v1.16.0 17 - - github.com/pyroscope-io/pyroscope v0.37.2 18 - github.com/sashabaranov/go-gpt3 v1.4.0 19 - github.com/spf13/cobra v1.7.0 20 - github.com/spf13/viper v1.15.0 21 - @@ -57,15 +57,14 @@ require ( 22 - github.com/go-logr/logr v1.2.4 // indirect 23 - github.com/go-logr/stdr v1.2.2 // indirect 24 - github.com/go-logr/zapr v1.2.4 // indirect 25 - - github.com/go-ole/go-ole v1.2.6 // indirect 26 - github.com/go-openapi/jsonpointer v0.19.6 // indirect 27 - github.com/go-openapi/jsonreference v0.20.2 // indirect 28 - github.com/go-openapi/swag v0.22.3 // indirect 29 - github.com/google/gnostic-models v0.6.8 // indirect 30 - github.com/google/gofuzz v1.2.0 // indirect 31 - + github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 // indirect 32 - github.com/gorilla/websocket v1.5.0 // indirect 33 - - github.com/hashicorp/errwrap v1.1.0 // indirect 34 - - github.com/hashicorp/go-multierror v1.1.1 // indirect 35 - + github.com/grafana/pyroscope-go/godeltaprof v0.1.6 // indirect 36 - github.com/hashicorp/hcl v1.0.0 // indirect 37 - github.com/inconshreveable/mousetrap v1.1.0 // indirect 38 - github.com/josharian/intern v1.0.0 // indirect 39 - @@ -73,24 +72,18 @@ require ( 40 - github.com/magiconair/properties v1.8.7 // indirect 41 - github.com/mailru/easyjson v0.7.7 // indirect 42 - github.com/mattn/go-runewidth v0.0.10 // indirect 43 - - github.com/mitchellh/go-ps v1.0.0 // indirect 44 - github.com/moby/sys/sequential v0.5.0 // indirect 45 - github.com/moby/term v0.5.0 // indirect 46 - + github.com/morikuni/aec v1.0.0 // indirect 47 - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect 48 - github.com/pelletier/go-toml/v2 v2.0.7 // indirect 49 - github.com/philhofer/fwd v1.1.2 // indirect 50 - - github.com/pyroscope-io/dotnetdiag v1.2.1 // indirect 51 - github.com/rivo/uniseg v0.2.0 // indirect 52 - - github.com/shirou/gopsutil v3.21.11+incompatible // indirect 53 - github.com/spf13/afero v1.9.5 // indirect 54 - github.com/spf13/jwalterweatherman v1.1.0 // indirect 55 - github.com/spf13/pflag v1.0.5 // indirect 56 - github.com/subosito/gotenv v1.4.2 // indirect 57 - github.com/tinylib/msgp v1.1.8 // indirect 58 - - github.com/tklauser/go-sysconf v0.3.11 // indirect 59 - - github.com/tklauser/numcpus v0.6.0 // indirect 60 - - github.com/valyala/bytebufferpool v1.0.0 // indirect 61 - - github.com/yusufpapurcu/wmi v1.2.2 // indirect 62 - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect 63 - go.opentelemetry.io/otel v1.19.0 // indirect 64 - go.opentelemetry.io/otel/metric v1.19.0 // indirect 65 - @@ -145,7 +138,7 @@ require ( 66 - github.com/huandu/xstrings v1.4.0 // indirect 67 - github.com/imdario/mergo v0.3.15 // indirect 68 - github.com/json-iterator/go v1.1.12 // indirect 69 - - github.com/klauspost/compress v1.16.5 // indirect 70 - + github.com/klauspost/compress v1.17.3 // indirect 71 - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect 72 - github.com/mitchellh/copystructure v1.2.0 // indirect 73 - github.com/mitchellh/reflectwalk v1.0.2 // indirect 74 - diff --git a/go.sum b/go.sum 75 - index 2ecdafafc..598416eeb 100644 76 - --- a/go.sum 77 - +++ b/go.sum 78 - @@ -53,7 +53,6 @@ github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0 79 - github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= 80 - github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= 81 - github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= 82 - -github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= 83 - github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= 84 - github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= 85 - github.com/Microsoft/hcsshim v0.11.4 h1:68vKo2VN8DE9AdN4tnkWnmdhqdbpUFM8OF3Airm7fz8= 86 - @@ -144,8 +143,6 @@ github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCv 87 - github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= 88 - github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= 89 - github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= 90 - -github.com/felixge/fgprof v0.9.1 h1:E6FUJ2Mlv043ipLOCFqo8+cHo9MhQ203E2cdEK/isEs= 91 - -github.com/felixge/fgprof v0.9.1/go.mod h1:7/HK6JFtFaARhIljgP2IV8rJLIoHDoOYoUphsnGvqxE= 92 - github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk= 93 - github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= 94 - github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= 95 - @@ -169,8 +166,6 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= 96 - github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= 97 - github.com/go-logr/zapr v1.2.4 h1:QHVo+6stLbfJmYGkQ7uGHUCu5hnAFAj6mDe6Ea0SeOo= 98 - github.com/go-logr/zapr v1.2.4/go.mod h1:FyHWQIzQORZ0QVE1BtVHv3cKtNLuXsbNLtpuhNapBOA= 99 - -github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= 100 - -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= 101 - github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= 102 - github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= 103 - github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= 104 - @@ -266,11 +261,10 @@ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5m 105 - github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= 106 - github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= 107 - github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= 108 - -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 109 - -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= 110 - -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 111 - -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= 112 - -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= 113 - +github.com/grafana/pyroscope-go v1.1.1 h1:PQoUU9oWtO3ve/fgIiklYuGilvsm8qaGhlY4Vw6MAcQ= 114 - +github.com/grafana/pyroscope-go v1.1.1/go.mod h1:Mw26jU7jsL/KStNSGGuuVYdUq7Qghem5P8aXYXSXG88= 115 - +github.com/grafana/pyroscope-go/godeltaprof v0.1.6 h1:nEdZ8louGAplSvIJi1HVp7kWvFvdiiYg3COLlTwJiFo= 116 - +github.com/grafana/pyroscope-go/godeltaprof v0.1.6/go.mod h1:Tk376Nbldo4Cha9RgiU7ik8WKFkNpfds98aUzS8omLE= 117 - github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 118 - github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 119 - github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= 120 - @@ -300,8 +294,8 @@ github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1 121 - github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= 122 - github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= 123 - github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= 124 - -github.com/klauspost/compress v1.16.5 h1:IFV2oUNUzZaz+XyusxpLzpzS8Pt5rh0Z16For/djlyI= 125 - -github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= 126 - +github.com/klauspost/compress v1.17.3 h1:qkRjuerhUU1EmXLYGkSH6EZL+vPSxIrYjLNAK4slzwA= 127 - +github.com/klauspost/compress v1.17.3/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= 128 - github.com/klauspost/cpuid/v2 v2.2.3 h1:sxCkb+qR91z4vsqw4vGGZlDgPz3G7gjaLyK3V8y70BU= 129 - github.com/klauspost/cpuid/v2 v2.2.3/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= 130 - github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= 131 - @@ -331,8 +325,6 @@ github.com/minio/sha256-simd v1.0.1/go.mod h1:Pz6AKMiUdngCLpeTL/RJY1M9rUuPMYujV5 132 - github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= 133 - github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= 134 - github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= 135 - -github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= 136 - -github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= 137 - github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= 138 - github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= 139 - github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= 140 - @@ -397,10 +389,6 @@ github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO 141 - github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= 142 - github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= 143 - github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= 144 - -github.com/pyroscope-io/dotnetdiag v1.2.1 h1:3XEMrfFJnZ87BiEhozyQKmCUAuMd/Spq7KChPuD2Cf0= 145 - -github.com/pyroscope-io/dotnetdiag v1.2.1/go.mod h1:eFUEHCp4eD1TgcXMlJihC+R4MrqGf7nTRdWxNADbDHA= 146 - -github.com/pyroscope-io/pyroscope v0.37.2 h1:MOgLU/oO7VfV6jWqb0xoFH/YPSVbWD5pGsX+tZVGh98= 147 - -github.com/pyroscope-io/pyroscope v0.37.2/go.mod h1:r4wq4ajJvN7g1OeXGyNvmwzBfQ+Tm5alYvmxqEQSTsc= 148 - github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= 149 - github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= 150 - github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= 151 - @@ -414,13 +402,10 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf 152 - github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= 153 - github.com/sashabaranov/go-gpt3 v1.4.0 h1:UqHYdXgJNtNvTtbzDnnQgkQ9TgTnHtCXx966uFTYXvU= 154 - github.com/sashabaranov/go-gpt3 v1.4.0/go.mod h1:BIZdbwdzxZbCrcKGMGH6u2eyGe1xFuX9Anmh3tCP8lQ= 155 - -github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI= 156 - -github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= 157 - github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= 158 - github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= 159 - github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= 160 - github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= 161 - -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= 162 - github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= 163 - github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= 164 - github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= 165 - @@ -456,14 +441,8 @@ github.com/tchap/go-patricia/v2 v2.3.1 h1:6rQp39lgIYZ+MHmdEq4xzuk1t7OdC35z/xm0BG 166 - github.com/tchap/go-patricia/v2 v2.3.1/go.mod h1:VZRHKAb53DLaG+nA9EaYYiaEx6YztwDlLElMsnSHD4k= 167 - github.com/tinylib/msgp v1.1.8 h1:FCXC1xanKO4I8plpHGH2P7koL/RzZs12l/+r7vakfm0= 168 - github.com/tinylib/msgp v1.1.8/go.mod h1:qkpG+2ldGg4xRFmx+jfTvZPxfGFhi64BcnL9vkCm/Tw= 169 - -github.com/tklauser/go-sysconf v0.3.11 h1:89WgdJhk5SNwJfu+GKyYveZ4IaJ7xAkecBo+KdJV0CM= 170 - -github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI= 171 - -github.com/tklauser/numcpus v0.6.0 h1:kebhY2Qt+3U6RNK7UqpYNA+tJ23IBEGKkB7JQBfDYms= 172 - -github.com/tklauser/numcpus v0.6.0/go.mod h1:FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ5UVIcaL4= 173 - github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M= 174 - github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= 175 - -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= 176 - -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= 177 - github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= 178 - github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= 179 - github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= 180 - @@ -476,8 +455,6 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de 181 - github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 182 - github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= 183 - github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= 184 - -github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg= 185 - -github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= 186 - go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= 187 - go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= 188 - go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 189 - @@ -629,7 +606,6 @@ golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7w 190 - golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 191 - golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 192 - golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 193 - -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 194 - golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 195 - golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 196 - golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 197 - diff --git a/pkg/server/http/server.go b/pkg/server/http/server.go 198 - index 898344591..85ccc68ed 100644 199 - --- a/pkg/server/http/server.go 200 - +++ b/pkg/server/http/server.go 201 - @@ -7,7 +7,7 @@ import ( 202 - "net/http/pprof" 203 - 204 - "github.com/prometheus/client_golang/prometheus/promhttp" 205 - - "github.com/pyroscope-io/pyroscope/pkg/agent/profiler" 206 - + "github.com/grafana/pyroscope-go" 207 - 208 - "github.com/aquasecurity/tracee/pkg/logger" 209 - ) 210 - @@ -17,7 +17,7 @@ type Server struct { 211 - hs *http.Server 212 - mux *http.ServeMux // just an exposed copy of hs.Handler 213 - metricsEnabled bool 214 - - pyroProfiler *profiler.Profiler 215 - + pyroProfiler *pyroscope.Profiler 216 - } 217 - 218 - // New creates a new server 219 - @@ -90,8 +90,8 @@ func (s *Server) EnablePProfEndpoint() { 220 - // EnablePyroAgent enables pyroscope agent in golang push mode 221 - // TODO: make this configurable 222 - func (s *Server) EnablePyroAgent() error { 223 - - p, err := profiler.Start( 224 - - profiler.Config{ 225 - + p, err := pyroscope.Start( 226 - + pyroscope.Config{ 227 - ApplicationName: "tracee", 228 - ServerAddress: "http://localhost:4040", 229 - },
···
-48
pkgs/tools/security/tracee/use-our-libbpf.patch
··· 1 - diff --git a/Makefile b/Makefile 2 - index 29be1ae71..b88f31cba 100644 3 - --- a/Makefile 4 - +++ b/Makefile 5 - @@ -54,6 +54,7 @@ CMD_CONTROLLER_GEN ?= controller-gen 6 - # libs 7 - # 8 - 9 - +LIB_BPF ?= libbpf 10 - LIB_ELF ?= libelf 11 - LIB_ZLIB ?= zlib 12 - 13 - @@ -299,8 +300,6 @@ OUTPUT_DIR = ./dist 14 - $(OUTPUT_DIR): 15 - # 16 - @$(CMD_MKDIR) -p $@ 17 - - $(CMD_MKDIR) -p $@/libbpf 18 - - $(CMD_MKDIR) -p $@/libbpf/obj 19 - 20 - # 21 - # embedded btfhub 22 - @@ -353,7 +352,6 @@ TRACEE_EBPF_OBJ_HEADERS = $(shell find pkg/ebpf/c -name *.h) 23 - bpf: $(OUTPUT_DIR)/tracee.bpf.o 24 - 25 - $(OUTPUT_DIR)/tracee.bpf.o: \ 26 - - $(OUTPUT_DIR)/libbpf/libbpf.a \ 27 - $(TRACEE_EBPF_OBJ_SRC) \ 28 - $(TRACEE_EBPF_OBJ_HEADERS) 29 - # 30 - @@ -391,8 +389,8 @@ endif 31 - TRACEE_SRC_DIRS = ./cmd/ ./pkg/ ./signatures/ 32 - TRACEE_SRC = $(shell find $(TRACEE_SRC_DIRS) -type f -name '*.go' ! -name '*_test.go') 33 - 34 - -CUSTOM_CGO_CFLAGS = "-I$(abspath $(OUTPUT_DIR)/libbpf)" 35 - -CUSTOM_CGO_LDFLAGS = "$(shell $(call pkg_config, $(LIB_ELF))) $(shell $(call pkg_config, $(LIB_ZLIB))) $(abspath $(OUTPUT_DIR)/libbpf/libbpf.a)" 36 - +CUSTOM_CGO_CFLAGS = "" 37 - +CUSTOM_CGO_LDFLAGS = "$(shell $(call pkg_config, $(LIB_BPF))) $(shell $(call pkg_config, $(LIB_ELF))) $(shell $(call pkg_config, $(LIB_ZLIB)))" 38 - 39 - GO_ENV_EBPF = 40 - GO_ENV_EBPF += GOOS=linux 41 - @@ -437,6 +435,7 @@ $(OUTPUT_DIR)/tracee: \ 42 - $(OUTPUT_DIR)/tracee.bpf.o \ 43 - $(TRACEE_SRC) \ 44 - | .checkver_$(CMD_GO) \ 45 - + .checklib_$(LIB_BPF) \ 46 - .checklib_$(LIB_ELF) \ 47 - .checklib_$(LIB_ZLIB) \ 48 - btfhub \
···
-9
pkgs/top-level/all-packages.nix
··· 1803 1804 kavita = callPackage ../servers/web-apps/kavita { }; 1805 1806 - livebook = callPackage ../by-name/li/livebook/package.nix { 1807 - elixir = elixir_1_17; 1808 - beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_17; }); 1809 - }; 1810 - 1811 pass = callPackage ../tools/security/pass { }; 1812 1813 pass-nodmenu = callPackage ../tools/security/pass { ··· 4565 trace-cmd = callPackage ../os-specific/linux/trace-cmd { }; 4566 4567 kernelshark = qt6Packages.callPackage ../os-specific/linux/trace-cmd/kernelshark.nix { }; 4568 - 4569 - tracee = callPackage ../tools/security/tracee { 4570 - clang = clang_14; 4571 - }; 4572 4573 translatelocally-models = recurseIntoAttrs (callPackages ../misc/translatelocally-models { }); 4574
··· 1803 1804 kavita = callPackage ../servers/web-apps/kavita { }; 1805 1806 pass = callPackage ../tools/security/pass { }; 1807 1808 pass-nodmenu = callPackage ../tools/security/pass { ··· 4560 trace-cmd = callPackage ../os-specific/linux/trace-cmd { }; 4561 4562 kernelshark = qt6Packages.callPackage ../os-specific/linux/trace-cmd/kernelshark.nix { }; 4563 4564 translatelocally-models = recurseIntoAttrs (callPackages ../misc/translatelocally-models { }); 4565
+11
pkgs/top-level/python-packages.nix
··· 4205 4206 dramatiq = callPackage ../development/python-modules/dramatiq { }; 4207 4208 drawille = callPackage ../development/python-modules/drawille { }; 4209 4210 drawilleplot = callPackage ../development/python-modules/drawilleplot { }; ··· 5022 fissix = callPackage ../development/python-modules/fissix { }; 5023 5024 fitbit = callPackage ../development/python-modules/fitbit { }; 5025 5026 fitfile = callPackage ../development/python-modules/fitfile { }; 5027 ··· 16805 else 16806 null; 16807 16808 standard-pipes = 16809 if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-pipes { } else null; 16810 ··· 16844 staticjinja = callPackage ../development/python-modules/staticjinja { }; 16845 16846 staticmap = callPackage ../development/python-modules/staticmap { }; 16847 16848 staticvectors = callPackage ../development/python-modules/staticvectors { }; 16849 ··· 17594 tkinter = callPackage ../development/python-modules/tkinter { 17595 py = python.override (lib.optionalAttrs (!python.isPyPy) { x11Support = true; }); 17596 }; 17597 17598 tld = callPackage ../development/python-modules/tld { }; 17599
··· 4205 4206 dramatiq = callPackage ../development/python-modules/dramatiq { }; 4207 4208 + dramatiq-abort = callPackage ../development/python-modules/dramatiq-abort { }; 4209 + 4210 drawille = callPackage ../development/python-modules/drawille { }; 4211 4212 drawilleplot = callPackage ../development/python-modules/drawilleplot { }; ··· 5024 fissix = callPackage ../development/python-modules/fissix { }; 5025 5026 fitbit = callPackage ../development/python-modules/fitbit { }; 5027 + 5028 + fitdecode = callPackage ../development/python-modules/fitdecode { }; 5029 5030 fitfile = callPackage ../development/python-modules/fitfile { }; 5031 ··· 16809 else 16810 null; 16811 16812 + standard-mailcap = 16813 + if pythonOlder "3.13" then null else callPackage ../development/python-modules/standard-mailcap { }; 16814 + 16815 standard-pipes = 16816 if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-pipes { } else null; 16817 ··· 16851 staticjinja = callPackage ../development/python-modules/staticjinja { }; 16852 16853 staticmap = callPackage ../development/python-modules/staticmap { }; 16854 + 16855 + staticmap3 = callPackage ../development/python-modules/staticmap3 { }; 16856 16857 staticvectors = callPackage ../development/python-modules/staticvectors { }; 16858 ··· 17603 tkinter = callPackage ../development/python-modules/tkinter { 17604 py = python.override (lib.optionalAttrs (!python.isPyPy) { x11Support = true; }); 17605 }; 17606 + 17607 + tkinter-gl = callPackage ../development/python-modules/tkinter-gl { }; 17608 17609 tld = callPackage ../development/python-modules/tld { }; 17610