lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
20df8d00 a2f216a0

+787 -253
+6
doc/hooks/postgresql-test-hook.section.md
··· 46 46 - `postgresqlEnableTCP`: set to `1` to enable TCP listening. Flaky; not recommended. 47 47 - `postgresqlStartCommands`: defaults to `pg_ctl start`. 48 48 49 + ## Hooks {#sec-postgresqlTestHook-hooks} 50 + 51 + A number of additional hooks are ran in postgresqlTestHook 52 + 53 + - `postgresqlTestSetupPost`: ran after postgresql has been set up. 54 + 49 55 ## TCP and the Nix sandbox {#sec-postgresqlTestHook-tcp} 50 56 51 57 `postgresqlEnableTCP` relies on network sandboxing, which is not available on macOS and some custom Nix installations, resulting in flaky tests.
+7 -2
lib/attrsets.nix
··· 480 480 481 481 482 482 /* Like `mapAttrs`, except that it recursively applies itself to 483 - attribute sets. Also, the first argument of the argument 484 - function is a *list* of the names of the containing attributes. 483 + the *leaf* attributes of a potentially-nested attribute set: 484 + the second argument of the function will never be an attrset. 485 + Also, the first argument of the argument function is a *list* 486 + of the attribute names that form the path to the leaf attribute. 487 + 488 + For a function that gives you control over what counts as a leaf, 489 + see `mapAttrsRecursiveCond`. 485 490 486 491 Example: 487 492 mapAttrsRecursive (path: value: concatStringsSep "-" (path ++ [value]))
+6 -6
maintainers/maintainer-list.nix
··· 3747 3747 fingerprint = "A8DF 1326 9E5D 9A38 E57C FAC2 9D20 F650 3E33 8888"; 3748 3748 }]; 3749 3749 }; 3750 - doublec = { 3751 - email = "chris.double@double.co.nz"; 3752 - github = "doublec"; 3753 - githubId = 16599; 3754 - name = "Chris Double"; 3755 - }; 3756 3750 dpaetzel = { 3757 3751 email = "david.paetzel@posteo.de"; 3758 3752 github = "dpaetzel"; ··· 9149 9143 keys = [{ 9150 9144 fingerprint = "D709 03C8 0BE9 ACDC 14F0 3BFB 77BF E531 397E DE94"; 9151 9145 }]; 9146 + }; 9147 + mdr = { 9148 + email = "MattRussellUK@gmail.com"; 9149 + github = "mdr"; 9150 + githubId = 241257; 9151 + name = "Matt Russell"; 9152 9152 }; 9153 9153 meain = { 9154 9154 email = "mail@meain.io";
+14 -5
pkgs/applications/graphics/json-plot/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 - , buildGoPackage 3 + , fetchpatch 4 + , buildGoModule 4 5 }: 5 - # upstream is pretty stale, but it still works, so until they merge module 6 - # support we have to use gopath: see sgreben/jp#29 7 - buildGoPackage rec { 6 + buildGoModule rec { 8 7 pname = "json-plot"; 9 8 version = "1.1.12"; 10 9 ··· 15 14 hash = "sha256-WWARAh/CF3lGli3VLRzAGaCA8xQyryPi8WcuwvdInjk="; 16 15 }; 17 16 18 - goPackagePath = "github.com/sgreben/jp"; 17 + vendorHash = "sha256-EPrlaUHAGATNFv3qgWKGmJdu9EHsV/0DJKEvQck+fWc="; 18 + 19 + patches = [ 20 + # Add Go Modules support 21 + (fetchpatch { 22 + url = "https://github.com/sgreben/jp/commit/9516fb4d7c5b011071b4063ea8e8e9667e57a777.patch"; 23 + hash = "sha256-Vz5HnStrCpMN1L7dne7JDX5F57up3EBPPf/9hN9opRc="; 24 + }) 25 + ]; 26 + 27 + ldflags = [ "-s" "-w" ]; 19 28 20 29 meta = with lib; { 21 30 description = "Dead simple terminal plots from JSON (or CSV) data. Bar charts, line charts, scatter plots, histograms and heatmaps are supported.";
+11 -7
pkgs/applications/graphics/lazpaint/default.nix
··· 7 7 bgrabitmap = fetchFromGitHub { 8 8 owner = "bgrabitmap"; 9 9 repo = "bgrabitmap"; 10 - rev = "v11.2.5"; 11 - sha256 = "0w5pdihsxn039kalkf4cx23j69hz5r09qmhd358h2n74irv1r3x1"; 10 + rev = "v11.5.3"; 11 + sha256 = "sha256-qjBD9TVZQy1tKWHFWkuu6vdLjASzQb3+HRy0FLdd9a8="; 12 12 }; 13 13 bgracontrols = fetchFromGitHub { 14 14 owner = "bgrabitmap"; 15 15 repo = "bgracontrols"; 16 - rev = "v7.0"; 17 - sha256 = "0qz3cscrc9jvhrix1hbmzhdxv6mxk0mz9azr46canflsydda8fjy"; 16 + rev = "v7.6"; 17 + sha256 = "sha256-btg9DMdYg+C8h0H7MU+uoo2Kb4OeLHoxFYHAv7LbLBA="; 18 18 }; 19 19 in stdenv.mkDerivation rec { 20 20 pname = "lazpaint"; 21 - version = "7.1.5"; 21 + version = "7.2.2"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "bgrabitmap"; 25 25 repo = "lazpaint"; 26 26 rev = "v${version}"; 27 - sha256 = "0bpk3rlqzbxvgrxmrzs0hcrgwhsqnpjqv1kdd9cp09knimmksvy5"; 27 + sha256 = "sha256-J6s0GnGJ7twEYW5+B72bB3EX4AYvLnhSPLbdhZWzlkw="; 28 28 }; 29 29 30 30 nativeBuildInputs = [ lazarus fpc makeWrapper ]; ··· 33 33 34 34 NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}"; 35 35 36 + preConfigure = '' 37 + patchShebangs configure 38 + ''; 39 + 36 40 buildPhase = '' 37 41 cp -r --no-preserve=mode ${bgrabitmap} bgrabitmap 38 42 cp -r --no-preserve=mode ${bgracontrols} bgracontrols ··· 47 51 48 52 installPhase = '' 49 53 # Reuse existing install script 54 + substituteInPlace Makefile --replace "/bin/bash" $BASH 50 55 cd lazpaint/release/debian 51 56 substituteInPlace makedeb.sh --replace "rm -rf" "ls" 52 57 patchShebangs ./makedeb.sh ··· 64 69 license = licenses.gpl3; 65 70 platforms = platforms.linux; 66 71 maintainers = with maintainers; [ ]; 67 - broken = true; # 2022-11-16 68 72 }; 69 73 }
+6 -1
pkgs/applications/networking/instant-messengers/armcord/default.nix
··· 4 4 , autoPatchelfHook 5 5 , dpkg 6 6 , makeWrapper 7 + , wrapGAppsHook 7 8 , alsa-lib 8 9 , at-spi2-atk 9 10 , at-spi2-core ··· 53 54 }; 54 55 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 55 56 56 - nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ]; 57 + nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper wrapGAppsHook ]; 58 + 59 + dontWrapGApps = true; 57 60 58 61 buildInputs = [ 59 62 alsa-lib ··· 109 112 110 113 # Wrap the startup command 111 114 makeWrapper $out/opt/ArmCord/armcord $out/bin/armcord \ 115 + "''${gappsWrapperArgs[@]}" \ 116 + --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ 112 117 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ 113 118 --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ 114 119 "''${gappsWrapperArgs[@]}"
+3 -3
pkgs/applications/networking/instant-messengers/discord/openasar.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "openasar"; 5 - version = "unstable-2022-12-11"; 5 + version = "unstable-2023-01-13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "GooseMod"; 9 9 repo = "OpenAsar"; 10 - rev = "0b1d4685cb2c94f42441fc616eb24e69eda04647"; 11 - hash = "sha256-cRYXgVgA5B9MaDGJIACJYjFNDAMajReKud0akiGBR4Q="; 10 + rev = "40b27dd1b8dd48277207db1b165c220c3441484c"; 11 + hash = "sha256-tDJxcnbX0REu8DX+bQ7i4JzvLl6lRyB7+/dnAJI18Ss="; 12 12 }; 13 13 14 14 postPatch = ''
+2 -2
pkgs/applications/networking/instant-messengers/session-desktop/default.nix
··· 8 8 }: 9 9 10 10 let 11 - version = "1.10.3"; 11 + version = "1.10.4"; 12 12 pname = "session-desktop"; 13 13 14 14 src = fetchurl { 15 15 url = "https://github.com/oxen-io/session-desktop/releases/download/v${version}/session-desktop-linux-x86_64-${version}.AppImage"; 16 - sha256 = "sha256-I9YyzfI8EqH8LZe5E5BnD9lGPAdQo++l3yRClfN7+pY="; 16 + sha256 = "sha256-pSVTfZvjqWVgx3FAbIJO6e26GHZbhZBppxEptEuozQo="; 17 17 }; 18 18 appimage = appimageTools.wrapType2 { 19 19 inherit version pname src;
+4 -4
pkgs/applications/science/logic/ott/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, ocaml, opaline }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, ocamlPackages, opaline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ott"; 5 - version = "0.32"; 5 + version = "0.33"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ott-lang"; 9 9 repo = "ott"; 10 10 rev = version; 11 - sha256 = "sha256-vdDsfsIi1gRW1Sowf29VyQ4C5UKyQZaVgS2uTb8VeW4="; 11 + hash = "sha256-GzeEiok5kigcmfqf/K/UxvlKkl55zy0vOyiRZ2HyMiE="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config opaline ]; 15 - buildInputs = [ ocaml ]; 15 + buildInputs = with ocamlPackages; [ ocaml findlib ocamlgraph ]; 16 16 17 17 installTargets = "ott.install"; 18 18
+3 -2
pkgs/applications/version-management/smartgithg/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "smartgithg"; 16 - version = "22.1.1"; 16 + version = "22.1.3"; 17 17 18 18 src = fetchurl { 19 19 url = "https://www.syntevo.com/downloads/smartgit/smartgit-linux-${builtins.replaceStrings [ "." ] [ "_" ] version}.tar.gz"; 20 - sha256 = "sha256-twN1Clnj17A2IUOOhvs8hs6PuvC81j9GqF0yKIk3IkQ="; 20 + sha256 = "sha256-TnpjRFInqmlY02fGi7oxoS4P1DzahryFvNLitJ5NjM4="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ wrapGAppsHook ]; ··· 87 87 meta = with lib; { 88 88 description = "GUI for Git, Mercurial, Subversion"; 89 89 homepage = "https://www.syntevo.com/smartgit/"; 90 + changelog = "https://www.syntevo.com/smartgit/changelog.txt"; 90 91 license = licenses.unfree; 91 92 platforms = platforms.linux; 92 93 maintainers = with lib.maintainers; [ jraygauthier ];
+2
pkgs/build-support/setup-hooks/postgresql-test-hook/postgresql-test-hook.sh
··· 71 71 echo 'setting up postgresql' 72 72 eval "$postgresqlTestSetupCommands" 73 73 74 + runHook postgresqlTestSetupPost 75 + 74 76 } 75 77 76 78 postgresqlStop() {
+4 -1
pkgs/build-support/setup-hooks/postgresql-test-hook/test.nix
··· 14 14 INSERT INTO hello VALUES ('it '||'worked'); 15 15 SELECT * FROM hello; 16 16 ''; 17 + postgresqlTestSetupPost = '' 18 + TEST_POST_HOOK_RAN=1 19 + ''; 17 20 checkPhase = '' 18 21 runHook preCheck 19 22 psql <$sqlPath | grep 'it worked' ··· 21 24 runHook postCheck 22 25 ''; 23 26 installPhase = '' 24 - [[ $TEST_RAN == 1 ]] 27 + [[ $TEST_RAN == 1 && $TEST_POST_HOOK_RAN == 1 ]] 25 28 touch $out 26 29 ''; 27 30 }
+8 -2
pkgs/desktops/pantheon/apps/appcenter/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "appcenter"; 28 - version = "4.0.0"; 28 + version = "7.0.0"; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = "elementary"; 32 32 repo = pname; 33 33 rev = version; 34 - sha256 = "sha256-6QWvDBhOxoK8HjmygV92WPDgq2Jbk4igWDbXrXc7/FQ="; 34 + sha256 = "sha256-fRurEkatWbtGiTRNe6tA2NyYk1IRCBW8SKBSUm4FrO4="; 35 35 }; 36 + 37 + patches = [ 38 + # Having a working nix packagekit backend will supersede this. 39 + # https://github.com/NixOS/nixpkgs/issues/177946 40 + ./disable-packagekit-backend.patch 41 + ]; 36 42 37 43 nativeBuildInputs = [ 38 44 dbus # for pkg-config
+167
pkgs/desktops/pantheon/apps/appcenter/disable-packagekit-backend.patch
··· 1 + diff --git a/src/Application.vala b/src/Application.vala 2 + index a1c4e0d4..35555946 100644 3 + --- a/src/Application.vala 4 + +++ b/src/Application.vala 5 + @@ -180,9 +180,6 @@ public class AppCenter.App : Gtk.Application { 6 + } 7 + 8 + public override void activate () { 9 + - if (fake_update_packages != null) { 10 + - AppCenterCore.PackageKitBackend.get_default ().fake_packages = fake_update_packages; 11 + - } 12 + 13 + var client = AppCenterCore.Client.get_default (); 14 + 15 + @@ -200,12 +197,6 @@ public class AppCenter.App : Gtk.Application { 16 + 17 + if (local_path != null) { 18 + var file = File.new_for_commandline_arg (local_path); 19 + - 20 + - try { 21 + - local_package = AppCenterCore.PackageKitBackend.get_default ().add_local_component_file (file); 22 + - } catch (Error e) { 23 + - warning ("Failed to load local AppStream XML file: %s", e.message); 24 + - } 25 + } 26 + 27 + if (active_window == null) { 28 + diff --git a/src/Core/BackendAggregator.vala b/src/Core/BackendAggregator.vala 29 + index 1747cd3b..20077394 100644 30 + --- a/src/Core/BackendAggregator.vala 31 + +++ b/src/Core/BackendAggregator.vala 32 + @@ -26,8 +26,6 @@ public class AppCenterCore.BackendAggregator : Backend, Object { 33 + 34 + construct { 35 + backends = new Gee.ArrayList<unowned Backend> (); 36 + - backends.add (PackageKitBackend.get_default ()); 37 + - backends.add (UbuntuDriversBackend.get_default ()); 38 + backends.add (FlatpakBackend.get_default ()); 39 + 40 + unowned Gtk.Application app = (Gtk.Application) GLib.Application.get_default (); 41 + diff --git a/src/Core/Package.vala b/src/Core/Package.vala 42 + index 40fa8262..e6b90dd9 100644 43 + --- a/src/Core/Package.vala 44 + +++ b/src/Core/Package.vala 45 + @@ -327,23 +327,13 @@ public class AppCenterCore.Package : Object { 46 + public string origin_description { 47 + owned get { 48 + unowned string origin = component.get_origin (); 49 + - if (backend is PackageKitBackend) { 50 + - if (origin == APPCENTER_PACKAGE_ORIGIN) { 51 + - return _("AppCenter"); 52 + - } else if (origin == ELEMENTARY_STABLE_PACKAGE_ORIGIN) { 53 + - return _("elementary Updates"); 54 + - } else if (origin.has_prefix ("ubuntu-")) { 55 + - return _("Ubuntu (non-curated)"); 56 + - } 57 + - } else if (backend is FlatpakBackend) { 58 + + if (backend is FlatpakBackend) { 59 + var fp_package = this as FlatpakPackage; 60 + if (fp_package == null) { 61 + return origin; 62 + } 63 + 64 + return fp_package.remote_title; 65 + - } else if (backend is UbuntuDriversBackend) { 66 + - return _("Ubuntu Drivers"); 67 + } 68 + 69 + return _("Unknown Origin (non-curated)"); 70 + @@ -435,9 +425,7 @@ public class AppCenterCore.Package : Object { 71 + 72 + // The version on a PackageKit package comes from the package not AppStream, so only reset the version 73 + // on other backends 74 + - if (!(backend is PackageKitBackend)) { 75 + - _latest_version = null; 76 + - } 77 + + _latest_version = null; 78 + 79 + this.component = component; 80 + } 81 + diff --git a/src/Core/UpdateManager.vala b/src/Core/UpdateManager.vala 82 + index 4d844abc..457137eb 100644 83 + --- a/src/Core/UpdateManager.vala 84 + +++ b/src/Core/UpdateManager.vala 85 + @@ -71,35 +71,9 @@ public class AppCenterCore.UpdateManager : Object { 86 + installed_package.update_state (); 87 + } 88 + 89 + - Pk.Results pk_updates; 90 + - unowned PackageKitBackend client = PackageKitBackend.get_default (); 91 + - try { 92 + - pk_updates = yield client.get_updates (cancellable); 93 + - } catch (Error e) { 94 + - warning ("Unable to get updates from PackageKit backend: %s", e.message); 95 + - return 0; 96 + - } 97 + - 98 + uint os_count = 0; 99 + string os_desc = ""; 100 + 101 + - var package_array = pk_updates.get_package_array (); 102 + - debug ("PackageKit backend reports %d updates", package_array.length); 103 + - 104 + - package_array.foreach ((pk_package) => { 105 + - var pkg_name = pk_package.get_name (); 106 + - debug ("Added %s to OS updates", pkg_name); 107 + - os_count++; 108 + - unowned string pkg_summary = pk_package.get_summary (); 109 + - unowned string pkg_version = pk_package.get_version (); 110 + - os_desc += Markup.printf_escaped ( 111 + - " • %s\n\t%s\n\t%s\n", 112 + - pkg_name, 113 + - pkg_summary, 114 + - _("Version: %s").printf (pkg_version) 115 + - ); 116 + - }); 117 + - 118 + os_updates.component.set_pkgnames ({}); 119 + os_updates.change_information.clear_update_info (); 120 + 121 + @@ -207,30 +181,13 @@ public class AppCenterCore.UpdateManager : Object { 122 + count += 1; 123 + } 124 + 125 + - pk_updates.get_details_array ().foreach ((pk_detail) => { 126 + - var pk_package = new Pk.Package (); 127 + - try { 128 + - pk_package.set_id (pk_detail.get_package_id ()); 129 + - var pkg_name = pk_package.get_name (); 130 + - 131 + - var pkgnames = os_updates.component.pkgnames; 132 + - pkgnames += pkg_name; 133 + - os_updates.component.pkgnames = pkgnames; 134 + - 135 + - os_updates.change_information.updatable_packages.@set (client, pk_package.get_id ()); 136 + - os_updates.change_information.size += pk_detail.size; 137 + - } catch (Error e) { 138 + - critical (e.message); 139 + - } 140 + - }); 141 + - 142 + os_updates.update_state (); 143 + runtime_updates.update_state (); 144 + return count; 145 + } 146 + 147 + public void update_restart_state () { 148 + - var should_restart = restart_file.query_exists () || PackageKitBackend.get_default ().is_restart_required (); 149 + + var should_restart = restart_file.query_exists (); 150 + 151 + if (should_restart) { 152 + if (!restart_required) { 153 + diff --git a/src/meson.build b/src/meson.build 154 + index e0ef5342..14319492 100644 155 + --- a/src/meson.build 156 + +++ b/src/meson.build 157 + @@ -12,10 +12,8 @@ appcenter_files = files( 158 + 'Core/FlatpakBackend.vala', 159 + 'Core/Job.vala', 160 + 'Core/Package.vala', 161 + - 'Core/PackageKitBackend.vala', 162 + 'Core/ScreenshotCache.vala', 163 + 'Core/Task.vala', 164 + - 'Core/UbuntuDriversBackend.vala', 165 + 'Core/UpdateManager.vala', 166 + 'Dialogs/InstallFailDialog.vala', 167 + 'Dialogs/StripeDialog.vala',
+6 -6
pkgs/desktops/pantheon/apps/elementary-code/default.nix
··· 28 28 29 29 stdenv.mkDerivation rec { 30 30 pname = "elementary-code"; 31 - version = "6.2.0"; 31 + version = "7.0.0"; 32 32 33 33 src = fetchFromGitHub { 34 34 owner = "elementary"; 35 35 repo = "code"; 36 36 rev = version; 37 - sha256 = "sha256-QhJNRhYgGbPMd7B1X3kG+pnC/lGUoF7gc7O1PdG49LI="; 37 + sha256 = "sha256-6ZOdlOCIDy5aWQre15+SrTH/vhY9OeTffY/uTSroELc="; 38 38 }; 39 39 40 40 patches = [ 41 - # Fix drag and drop of accented text and between tabs 42 - # https://github.com/elementary/code/pull/1194 41 + # Fix global search action disabled at startup 42 + # https://github.com/elementary/code/pull/1254 43 43 (fetchpatch { 44 - url = "https://github.com/elementary/code/commit/1ed7b590768ea9cb5b4658e27d9dc7ac224442ae.patch"; 45 - sha256 = "sha256-VrYcEbkzQKi5gFB/Vw/0NITZvSXKXfuEv2R3m0VALVM="; 44 + url = "https://github.com/elementary/code/commit/1e75388b07c060cc10ecd612076f235b1833fab8.patch"; 45 + sha256 = "sha256-8Djh1orMcmICdYwQFENJCaYlXK0E52NhCmuhlHCz7oM="; 46 46 }) 47 47 ]; 48 48
+1 -1
pkgs/development/compilers/go/1.18.nix
··· 18 18 19 19 let 20 20 useGccGoBootstrap = stdenv.buildPlatform.isMusl || stdenv.buildPlatform.isRiscV; 21 - goBootstrap = if useGccGoBootstrap then buildPackages.gccgo else buildPackages.callPackage ./bootstrap116.nix { }; 21 + goBootstrap = if useGccGoBootstrap then buildPackages.gccgo12 else buildPackages.callPackage ./bootstrap116.nix { }; 22 22 23 23 skopeoTest = skopeo.override { buildGoModule = buildGo118Module; }; 24 24
+1 -1
pkgs/development/compilers/go/1.19.nix
··· 18 18 19 19 let 20 20 useGccGoBootstrap = stdenv.buildPlatform.isMusl || stdenv.buildPlatform.isRiscV; 21 - goBootstrap = if useGccGoBootstrap then buildPackages.gccgo else buildPackages.callPackage ./bootstrap116.nix { }; 21 + goBootstrap = if useGccGoBootstrap then buildPackages.gccgo12 else buildPackages.callPackage ./bootstrap116.nix { }; 22 22 23 23 skopeoTest = skopeo.override { buildGoModule = buildGo119Module; }; 24 24
+1 -1
pkgs/development/compilers/go/1.20.nix
··· 18 18 19 19 let 20 20 useGccGoBootstrap = stdenv.buildPlatform.isMusl || stdenv.buildPlatform.isRiscV; 21 - goBootstrap = if useGccGoBootstrap then buildPackages.gccgo else buildPackages.callPackage ./bootstrap117.nix { }; 21 + goBootstrap = if useGccGoBootstrap then buildPackages.gccgo12 else buildPackages.callPackage ./bootstrap117.nix { }; 22 22 23 23 skopeoTest = skopeo.override { buildGoModule = buildGo120Module; }; 24 24
+2 -2
pkgs/development/embedded/platformio/default.nix
··· 3 3 let 4 4 callPackage = newScope self; 5 5 6 - version = "6.1.5"; 6 + version = "6.1.6"; 7 7 8 8 # pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964 9 9 src = fetchFromGitHub { 10 10 owner = "platformio"; 11 11 repo = "platformio-core"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-7Wx3O2zL5Dlbk7rooiHutpN63kAjhuYijgsZru+oaOI="; 13 + sha256 = "sha256-BEeMfdmAWqFbQUu8YKKrookQVgmhfZBqXnzeb2gfhms="; 14 14 }; 15 15 16 16 self = {
+2 -2
pkgs/development/embedded/platformio/use-local-spdx-license-list.patch
··· 6 6 @staticmethod 7 7 @memoized(expire="1h") 8 8 def load_spdx_licenses(): 9 - - version = "3.18" 9 + - version = "3.19" 10 10 - spdx_data_url = ( 11 11 - "https://raw.githubusercontent.com/spdx/license-list-data/" 12 12 - "v%s/json/licenses.json" % version 13 13 - ) 14 14 - return json.loads(fetch_remote_content(spdx_data_url)) 15 - + # version = "3.18" 15 + + # version = "3.19" 16 16 + # spdx_data_url = ( 17 17 + # "https://raw.githubusercontent.com/spdx/license-list-data/" 18 18 + # "v%s/json/licenses.json" % version
+1 -1
pkgs/development/interpreters/self/default.nix
··· 39 39 description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine"; 40 40 homepage = "https://selflanguage.org/"; 41 41 license = licenses.bsd3; 42 - maintainers = [ maintainers.doublec ]; 42 + maintainers = [ ]; 43 43 platforms = platforms.linux; 44 44 }; 45 45 }
+6 -8
pkgs/development/libraries/libpcap/default.nix
··· 10 10 , withRemote ? false 11 11 }: 12 12 13 - with lib; 14 - 15 13 stdenv.mkDerivation rec { 16 14 pname = "libpcap"; 17 15 version = "1.10.1"; ··· 21 19 sha256 = "sha256-7ShfSsyvBTRPkJdXV7Pb/ncrpB0cQBwmSLf6RbcRvdQ="; 22 20 }; 23 21 24 - buildInputs = optionals withRemote [ libxcrypt ]; 22 + buildInputs = lib.optionals withRemote [ libxcrypt ]; 25 23 26 24 nativeBuildInputs = [ flex bison ] 27 - ++ optionals withBluez [ bluez.dev pkg-config ]; 25 + ++ lib.optionals withBluez [ bluez.dev pkg-config ]; 28 26 29 27 # We need to force the autodetection because detection doesn't 30 28 # work in pure build environments. 31 29 configureFlags = [ 32 30 "--with-pcap=${if stdenv.isLinux then "linux" else "bpf"}" 33 - ] ++ optionals stdenv.isDarwin [ 31 + ] ++ lib.optionals stdenv.isDarwin [ 34 32 "--disable-universal" 35 - ] ++ optionals withRemote [ 33 + ] ++ lib.optionals withRemote [ 36 34 "--enable-remote" 37 - ] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform) 35 + ] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) 38 36 [ "ac_cv_linux_vers=2" ]; 39 37 40 38 postInstall = '' ··· 43 41 fi 44 42 ''; 45 43 46 - meta = { 44 + meta = with lib; { 47 45 homepage = "https://www.tcpdump.org"; 48 46 description = "Packet Capture Library"; 49 47 platforms = platforms.unix;
+2 -2
pkgs/development/libraries/mdds/default.nix
··· 8 8 9 9 stdenv.mkDerivation (finalAttrs: { 10 10 pname = "mdds"; 11 - version = "2.1.0"; 11 + version = "2.0.3"; 12 12 13 13 src = fetchFromGitLab { 14 14 owner = "mdds"; 15 15 repo = "mdds"; 16 16 rev = finalAttrs.version; 17 - hash = "sha256-RZ2wGwle4raWlogc5X+VEeriPGS0Nqs7CWGENFEotvs="; 17 + hash = "sha256-Y9uBJKM34UTEj/3c1w69QHhvwFcMNlAohEco0O0B+xI="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ autoreconfHook ];
+6 -7
pkgs/development/ocaml-modules/ca-certs/default.nix
··· 5 5 6 6 buildDunePackage rec { 7 7 pname = "ca-certs"; 8 - version = "0.2.2"; 8 + version = "0.2.3"; 9 9 10 - minimumOCamlVersion = "4.07"; 10 + minimalOCamlVersion = "4.08"; 11 11 12 12 src = fetchurl { 13 - url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-v${version}.tbz"; 14 - sha256 = "sha256-Tx53zBJemZh3ODh/8izahxDoJvXvNFLyAA8LMM1mhlI="; 13 + url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-${version}.tbz"; 14 + hash = "sha256-0tjWRX2RXvbXg974Lzvl7C9W+S4gIU9Y7dY8nC/GDpw="; 15 15 }; 16 16 17 - useDune2 = true; 17 + duneVersion = "3"; 18 18 19 19 propagatedBuildInputs = [ bos fpath ptime mirage-crypto x509 astring logs ]; 20 20 21 - # Assumes nss-cacert < 3.74 https://github.com/mirage/ca-certs/issues/21 22 - doCheck = false; 21 + doCheck = true; 23 22 nativeCheckInputs = [ 24 23 cacert # for /etc/ssl/certs/ca-bundle.crt 25 24 alcotest
+6 -7
pkgs/development/ocaml-modules/lutils/default.nix
··· 1 - { lib, buildDunePackage, fetchurl, num }: 1 + { lib, buildDunePackage, fetchurl, camlp-streams, num }: 2 2 3 3 buildDunePackage rec { 4 4 pname = "lutils"; 5 - version = "1.51.2"; 6 - 7 - useDune2 = true; 5 + version = "1.54.1"; 8 6 9 7 minimalOCamlVersion = "4.02"; 10 8 11 9 src = fetchurl { 12 - url = "http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/lutils.1.51.2.tgz"; 13 - sha512 = "f94696be379c62e888410ec3d940c888ca4b607cf59c2e364e93a2a694da65ebe6d531107198b795e80eecc3c6865eedb02659c7e7c4e15c9b28d74aa35d09f8"; 10 + url = "http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/lutils.v${version}.tgz"; 11 + hash = "sha512:d3c3b80286b1aa236ba922d9e18a133721fc80126c8b89520fb811dce9400e217aaa75b5d49e03988be7f6bf5f2e1a391d02ceeaa5ec0a0cd5ce218083a29514"; 14 12 }; 15 13 16 14 propagatedBuildInputs = [ 17 - num 15 + camlp-streams num 18 16 ]; 19 17 20 18 meta = with lib; { 21 19 homepage = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/"; 22 20 description = "Tools and libs shared by Verimag/synchronous tools (lustre, lutin, rdbg)"; 21 + changelog = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/-/releases/v${version}"; 23 22 license = lib.licenses.cecill21; 24 23 mainProgram = "gnuplot-rif"; 25 24 };
+23 -2
pkgs/development/python-modules/anybadge/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 3 2 , buildPythonPackage 3 + , fetchFromGitHub 4 + , packaging 4 5 , pytestCheckHook 6 + , pythonOlder 7 + , requests 5 8 }: 6 9 7 10 buildPythonPackage rec { 8 11 pname = "anybadge"; 9 12 version = "1.14.0"; 10 13 format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 11 16 12 17 src = fetchFromGitHub { 13 18 owner = "jongracecox"; 14 19 repo = pname; 15 20 rev = "refs/tags/v${version}"; 16 - sha256 = "sha256-+CkkFCShCYtxKiCWRQcgTFcekc/g7ujQj9MdnG1+a0A="; 21 + hash = "sha256-+CkkFCShCYtxKiCWRQcgTFcekc/g7ujQj9MdnG1+a0A="; 17 22 }; 18 23 19 24 # setup.py reads its version from the TRAVIS_TAG environment variable 20 25 TRAVIS_TAG = "v${version}"; 26 + 27 + propagatedBuildInputs = [ 28 + packaging 29 + ]; 21 30 22 31 nativeCheckInputs = [ 23 32 pytestCheckHook 33 + requests 34 + ]; 35 + 36 + disabledTests = [ 37 + # Comparison of CLI output fails 38 + "test_module_same_output_as_main_cli" 39 + ]; 40 + 41 + disabledTestPaths = [ 42 + # No anybadge-server 43 + "tests/test_server.py" 24 44 ]; 25 45 26 46 pythonImportsCheck = [ ··· 30 50 meta = with lib; { 31 51 description = "Python tool for generating badges for your projects"; 32 52 homepage = "https://github.com/jongracecox/anybadge"; 53 + changelog = "https://github.com/jongracecox/anybadge/releases/tag/v${version}"; 33 54 license = licenses.mit; 34 55 maintainers = with maintainers; [ fabiangd ]; 35 56 };
+2 -2
pkgs/development/python-modules/bthome-ble/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "bthome-ble"; 15 - version = "2.5.0"; 15 + version = "2.5.1"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.9"; ··· 21 21 owner = "Bluetooth-Devices"; 22 22 repo = pname; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-nNvPSp1Ij7JPXVFt8ediNtJaiuIDxRQFl3gySivJdqs="; 24 + hash = "sha256-xxdCuTSpGe89TjF0YPmD4i1Fx1WfaQTTataFRnbcaos="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/denonavr/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "denonavr"; 18 - version = "0.10.12"; 18 + version = "0.11.0"; 19 19 format = "setuptools"; 20 20 21 21 disabled = pythonOlder "3.6"; ··· 24 24 owner = "scarface-4711"; 25 25 repo = pname; 26 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-QNiDoPjOuwwAgUqDzXHzn0BE9bwXQrQKAIFlHCywl88="; 27 + hash = "sha256-0zclIoEGKjA8Ro8k+HYX/d77U+ntQZv0vq6gC4Sa7zE="; 28 28 }; 29 29 30 30 propagatedBuildInputs = [ ··· 49 49 meta = with lib; { 50 50 description = "Automation Library for Denon AVR receivers"; 51 51 homepage = "https://github.com/scarface-4711/denonavr"; 52 + changelog = "https://github.com/ol-iver/denonavr/releases/tag/${version}"; 52 53 license = with licenses; [ mit ]; 53 54 maintainers = with maintainers; [ colemickens ]; 54 55 };
+2 -2
pkgs/development/python-modules/fakeredis/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "fakeredis"; 19 - version = "2.4.0"; 19 + version = "2.5.0"; 20 20 format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.7"; ··· 25 25 owner = "dsoftwareinc"; 26 26 repo = "fakeredis-py"; 27 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-LKUDwx3EEcOQFhUjTe5xm3AQRuwTGsYY27Vmg2R9ofc="; 28 + hash = "sha256-yb6Tuko7swrrFRQmtXAhm1kl16O813epOOCzOMEg58E="; 29 29 }; 30 30 31 31 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/flowlogs_reader/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "flowlogs-reader"; 14 - version = "4.0.0"; 14 + version = "5.0.0"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.6"; ··· 21 21 repo = pname; 22 22 # https://github.com/obsrvbl/flowlogs-reader/issues/57 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-PGyuzOhq1TC/nGsGJYQYTDpcsYzcwNPiaHWd66tfzQQ="; 24 + hash = "sha256-XHRibTSzFzWPz50elz+KdbCwTrd1DKfVMSg6UamNbzc="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/geoalchemy2/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "geoalchemy2"; 16 - version = "0.12.5"; 16 + version = "0.13.1"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 21 21 src = fetchPypi { 22 22 pname = "GeoAlchemy2"; 23 23 inherit version; 24 - hash = "sha256-McJQLc4xe1ezNeTrh1YtUB+jnkbHKL5RTZuGCR4I3Wc="; 24 + hash = "sha256-VyRtRK6pC0xS+EwAb2dY0OGVHrkBjxBAmocUHwIVmxM="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-asset/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "google-cloud-asset"; 21 - version = "3.17.0"; 21 + version = "3.17.1"; 22 22 format = "setuptools"; 23 23 24 24 disabled = pythonOlder "3.7"; 25 25 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - hash = "sha256-CsTfdEgDeHdrYWLqMt3WpYOcxT9BuQ2M8sqg0ZIwmvM="; 28 + hash = "sha256-EFMiiPlHwKkc7tjOcbqiAlnb+3oBsTBlg6Ey0vvs+Mc="; 29 29 }; 30 30 31 31 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-bigquery-datatransfer/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "google-cloud-bigquery-datatransfer"; 17 - version = "3.10.0"; 17 + version = "3.10.1"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.7"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-R6CIL1CA3UR81kUeIlFGJaxDGO33GBKOzT4Qo2LWlQk="; 24 + hash = "sha256-GcgJhFT3L5TlVZYXjQQ9eENRcv/V176hF86BSsN7K/A="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-datastore/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "google-cloud-datastore"; 18 - version = "2.11.0"; 18 + version = "2.13.2"; 19 19 format = "setuptools"; 20 20 21 21 disabled = pythonOlder "3.7"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - hash = "sha256-PSk6IYBfGL7g0FBCqUgT4T8k1IYprtLGQQQEybEO99o="; 25 + hash = "sha256-ikstW53KrRr4vnmtbr0AOG8/kHaF8excJFbwclhCA7A="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-org-policy/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "google-cloud-org-policy"; 14 - version = "1.7.0"; 14 + version = "1.7.1"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-V1Fpm8P4XD0USNNG1oD6OFrOeDcJyEvYPaHcWKQhLCQ="; 21 + hash = "sha256-ivlerguhDb7zhRfizIPGQWwwLOUhyoj2xWAy9inSklQ="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-videointelligence/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "google-cloud-videointelligence"; 16 - version = "2.10.0"; 16 + version = "2.10.1"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - hash = "sha256-SzCzTYyvf85E7BDBV0lX4g0hiNyZ5Ebo1m+WR4AjoBk="; 23 + hash = "sha256-HlmuzMOaCl7z9NBVI5HoCH1vltQCeel30B5roX/+2HE="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+11
pkgs/development/python-modules/graphene-django/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , pythonAtLeast 3 4 , pythonOlder 4 5 , fetchFromGitHub 5 6 ··· 22 23 pname = "graphene-django"; 23 24 version = "3.0.0"; 24 25 format = "setuptools"; 26 + 25 27 disabled = pythonOlder "3.6"; 26 28 27 29 src = fetchFromGitHub { ··· 58 60 pytestCheckHook 59 61 ]; 60 62 63 + disabledTests = lib.optionals (pythonAtLeast "3.11") [ 64 + # Pèython 3.11 support, https://github.com/graphql-python/graphene-django/pull/1365 65 + "test_django_objecttype_convert_choices_enum_naming_collisions" 66 + "test_django_objecttype_choices_custom_enum_name" 67 + "test_django_objecttype_convert_choices_enum_list" 68 + "test_schema_representation" 69 + ]; 70 + 61 71 meta = with lib; { 62 72 description = "Integrate GraphQL into your Django project"; 63 73 homepage = "https://github.com/graphql-python/graphene-django"; 74 + changelog = "https://github.com/graphql-python/graphene-django/releases/tag/v{version}"; 64 75 license = licenses.mit; 65 76 maintainers = with maintainers; [ hexa ]; 66 77 };
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "hahomematic"; 18 - version = "2023.1.6"; 18 + version = "2023.1.7"; 19 19 format = "pyproject"; 20 20 21 21 disabled = pythonOlder "3.9"; ··· 24 24 owner = "danielperna84"; 25 25 repo = pname; 26 26 rev = "refs/tags/${version}"; 27 - sha256 = "sha256-bjONfnxJuqo0d/9K4VKyIurcpw5+RgyAij1Hm/mTeUc="; 27 + sha256 = "sha256-n/j884ttxFCkNnpRuHquzDeWsJchHS0A13CR2CtO4lo="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/jupyterlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "jupyterlab"; 13 - version = "3.5.2"; 13 + version = "3.5.3"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-EKwJQhX/uHLd/74pgr8cA5p5/swybhkefMXv2E8zHa0="; 20 + hash = "sha256-UeiJRIrhlO7vjlD2P1xPSH9yj0d77+Q26XSWcvdRHb4="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ ··· 44 44 ]; 45 45 46 46 meta = with lib; { 47 + changelog = "https://github.com/jupyterlab/jupyterlab/releases/tag/v${version}"; 47 48 description = "Jupyter lab environment notebook server extension"; 48 49 license = with licenses; [ bsd3 ]; 49 50 homepage = "https://jupyter.org/";
+17 -5
pkgs/development/python-modules/lightgbm/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchPypi 4 5 , cmake ··· 6 7 , scipy 7 8 , scikit-learn 8 9 , llvmPackages ? null 10 + , pythonOlder 9 11 }: 10 12 11 13 buildPythonPackage rec { 12 14 pname = "lightgbm"; 13 - version = "3.3.3"; 15 + version = "3.3.5"; 16 + format = "other"; 17 + 18 + disabled = pythonOlder "3.7"; 14 19 15 20 src = fetchPypi { 16 21 inherit pname version; 17 - sha256 = "sha256-hX5VmuhKIpY84rYhaCkpadIa3TC8kkaoTU5+7a5nlm0="; 22 + hash = "sha256-ELj73PhR5PaKHwLzjZm9xEx8f7mxpi3PkkoNKf9zOVw="; 18 23 }; 19 24 20 25 nativeBuildInputs = [ ··· 23 28 24 29 dontUseCmakeConfigure = true; 25 30 26 - buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ]; 31 + buildInputs = lib.optionals stdenv.cc.isClang [ 32 + llvmPackages.openmp 33 + ]; 34 + 27 35 propagatedBuildInputs = [ 28 36 numpy 29 37 scipy ··· 38 46 # repository. It contains c++ tests which don't seem to wired up to 39 47 # `make check`. 40 48 doCheck = false; 41 - pythonImportsCheck = [ "lightgbm" ]; 49 + 50 + pythonImportsCheck = [ 51 + "lightgbm" 52 + ]; 42 53 43 54 meta = with lib; { 44 55 description = "A fast, distributed, high performance gradient boosting (GBDT, GBRT, GBM or MART) framework"; 45 56 homepage = "https://github.com/Microsoft/LightGBM"; 57 + changelog = "https://github.com/microsoft/LightGBM/releases/tag/v${version}"; 46 58 license = licenses.mit; 47 59 maintainers = with maintainers; [ teh costrouc ]; 48 60 };
+2 -2
pkgs/development/python-modules/mailchecker/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "mailchecker"; 9 - version = "5.0.6"; 9 + version = "5.0.7"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - hash = "sha256-g70FjY0tc4KjgdVweuBBkFrByt8xlGPJEPz/OvTtjZk="; 16 + hash = "sha256-u5htHCI10mn6AQDlAShMpbyI4PcqiRgpRvsy5Q3km+0="; 17 17 }; 18 18 19 19 # Module has no tests
+2 -2
pkgs/development/python-modules/openai/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "openai"; 26 - version = "0.26.1"; 26 + version = "0.26.2"; 27 27 format = "setuptools"; 28 28 29 29 disabled = pythonOlder "3.7.1"; ··· 32 32 owner = "openai"; 33 33 repo = "openai-python"; 34 34 rev = "v${version}"; 35 - hash = "sha256-M6ZaYTOBAwLogWPafSnBYw3rUry+sS9VwQWAM9tDfr8="; 35 + hash = "sha256-rUXwrr8hgKwqJ/ittK2DOKaqxTAs8wKyVTSdEhfiWfI="; 36 36 }; 37 37 38 38 propagatedBuildInputs = [
+27 -10
pkgs/development/python-modules/promise/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 - , lib 4 - , six 5 - , pytestCheckHook 4 + , fetchpatch 6 5 , mock 7 6 , pytest-asyncio 7 + , pytestCheckHook 8 + , pythonOlder 9 + , six 8 10 }: 9 11 10 12 buildPythonPackage rec { 11 13 pname = "promise"; 12 14 version = "2.3.0"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.7"; 13 18 14 19 src = fetchFromGitHub { 15 20 owner = "syrusakbary"; 16 21 repo = "promise"; 17 - rev = "v${version}"; 18 - sha256 = "17mq1bm78xfl0x1g50ng502m5ldq6421rzz35hlqafsj0cq8dkp6"; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-5s6GMANSO4UpLOP/HAQxuNFSBSjPgvJCB9R1dOoKuJ4="; 19 24 }; 20 25 26 + patches = [ 27 + # Convert @asyncio.coroutine to async def, https://github.com/syrusakbary/promise/pull/99 28 + (fetchpatch { 29 + name = "use-async-def.patch"; 30 + url = "https://github.com/syrusakbary/promise/commit/3cde549d30b38dcff81b308e18c7f61783003791.patch"; 31 + hash = "sha256-XCbTo6RCv75nNrpbK3TFdV0h7tBJ0QK+WOAR8S8w9as="; 32 + }) 33 + ]; 34 + 21 35 postPatch = '' 22 36 substituteInPlace tests/test_extra.py \ 23 37 --replace "assert_exc.traceback[-1].path.strpath" "str(assert_exc.traceback[-1].path)" ··· 28 42 ]; 29 43 30 44 nativeCheckInputs = [ 31 - pytestCheckHook 32 45 mock 33 46 pytest-asyncio 47 + pytestCheckHook 34 48 ]; 35 49 36 50 disabledTestPaths = [ 37 51 "tests/test_benchmark.py" 38 52 ]; 39 53 54 + pythonImportsCheck = [ 55 + "promise" 56 + ]; 57 + 40 58 meta = with lib; { 41 59 description = "Ultra-performant Promise implementation in Python"; 42 60 homepage = "https://github.com/syrusakbary/promise"; 61 + changelog = "https://github.com/syrusakbary/promise/releases/tag/v${version}"; 43 62 license = licenses.mit; 44 - maintainers = with maintainers; [ 45 - kamadorueda 46 - ]; 63 + maintainers = with maintainers; [ kamadorueda ]; 47 64 }; 48 65 }
+2 -2
pkgs/development/python-modules/pylsp-mypy/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pylsp-mypy"; 14 - version = "0.6.4"; 14 + version = "0.6.5"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 20 20 owner = "Richardk2n"; 21 21 repo = "pylsp-mypy"; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-BpYg2noReHFgJ/5iQI09XUWNAN7UdcYgqpZ/IPr17Ao="; 23 + hash = "sha256-LQ9Kw/dG3XA67WaVObE72fxERb21eZzk+MCqIp2Qy0o="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pynetbox/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pynetbox"; 13 - version = "7.0.0"; 13 + version = "7.0.1"; 14 14 format = "setuptools"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "netbox-community"; 18 18 repo = pname; 19 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-PFSnINbXSnEo1gvntjfH6KCVa/LeaNrsiuWM4H+fOvQ="; 20 + hash = "sha256-RAUM79lDz7oNV7Li987Sz7JoNz/feO6BsEcWO0u/Ub8="; 21 21 }; 22 22 23 23 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/pyroute2/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pyroute2"; 12 - version = "0.7.3"; 12 + version = "0.7.4"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.7"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-cEEEDbHC0Yf7zNFRSFsSRMQddYvoIXhYR5RjcOtrtwY="; 19 + hash = "sha256-d1rO/vTSrOdZHmIAAL3zg8cMi3lpgEhw9sLYIE+iF+A="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+11 -1
pkgs/development/python-modules/python-engineio/default.nix
··· 4 4 , buildPythonPackage 5 5 , eventlet 6 6 , fetchFromGitHub 7 + , fetchpatch 7 8 , iana-etc 8 9 , libredirect 9 10 , mock ··· 24 25 src = fetchFromGitHub { 25 26 owner = "miguelgrinberg"; 26 27 repo = "python-engineio"; 27 - rev = "v${version}"; 28 + rev = "refs/tags/v${version}"; 28 29 hash = "sha256-fymO9WqkYaRsHKCJHQJpySHqZor2t8BfVrfYUfYoJno="; 29 30 }; 31 + 32 + patches = [ 33 + # Address Python 3.11 mocking issue, https://github.com/miguelgrinberg/python-engineio/issues/279 34 + (fetchpatch { 35 + name = "mocking-issue-py311.patch"; 36 + url = "https://github.com/miguelgrinberg/python-engineio/commit/ac3911356fbe933afa7c11d56141f0e228c01528.patch"; 37 + hash = "sha256-LNMhjX8kqOI3y8XugCHxCPEC6lF83NROfIczXWiLuqY="; 38 + }) 39 + ]; 30 40 31 41 nativeCheckInputs = [ 32 42 aiohttp
+2 -2
pkgs/development/python-modules/pyunifiprotect/default.nix
··· 31 31 32 32 buildPythonPackage rec { 33 33 pname = "pyunifiprotect"; 34 - version = "4.6.1"; 34 + version = "4.6.2"; 35 35 format = "pyproject"; 36 36 37 37 disabled = pythonOlder "3.9"; ··· 40 40 owner = "briis"; 41 41 repo = pname; 42 42 rev = "refs/tags/v${version}"; 43 - hash = "sha256-5xHU4WC7HPDEJsfCX4bVsK3p6SWZ/fHH7APbFtDGC40="; 43 + hash = "sha256-sEIjR6ScJNliJJJET06e22x5GMDrmB6fZAzyHr847sk="; 44 44 }; 45 45 46 46 postPatch = ''
+7 -4
pkgs/development/python-modules/requests-aws4auth/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "requests-aws4auth"; 14 - version = "1.1.2"; 14 + version = "1.2.0"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "tedder"; 21 21 repo = pname; 22 - rev = "v${version}"; 23 - hash = "sha256-/SqU/ojP9I4JXzR0c5tLzxx9UyNaVsON7LG/dbdeiH0="; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-a3OY0Z5GGr3gYa5m4V6ukqQmjZuqtgZjmLGJxmFOPqU="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [ ··· 29 29 ]; 30 30 31 31 passthru.optional-dependencies = { 32 - httpx = [ httpx ]; 32 + httpx = [ 33 + httpx 34 + ]; 33 35 }; 34 36 35 37 nativeCheckInputs = [ ··· 43 45 meta = with lib; { 44 46 description = "Amazon Web Services version 4 authentication for the Python Requests library"; 45 47 homepage = "https://github.com/sam-washington/requests-aws4auth"; 48 + changelog = "https://github.com/tedder/requests-aws4auth/releases/tag/v${version}"; 46 49 license = licenses.mit; 47 50 maintainers = with maintainers; [ basvandijk ]; 48 51 };
+2 -2
pkgs/development/python-modules/sfrbox-api/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "sfrbox-api"; 17 - version = "0.0.4"; 17 + version = "0.0.5"; 18 18 format = "pyproject"; 19 19 20 20 disabled = pythonOlder "3.8"; ··· 23 23 owner = "hacf-fr"; 24 24 repo = pname; 25 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-mdE7H17vbKwQS7JloYasap8qAjaacdLuDPvIPxJSUXI="; 26 + hash = "sha256-6SwZAAWBnxeeunZwUAVQJBU8904czNVheBlRFg5yrOw="; 27 27 }; 28 28 29 29 postPatch = ''
+22 -12
pkgs/development/python-modules/stone/default.nix
··· 5 5 , ply 6 6 , pytestCheckHook 7 7 , six 8 + , pythonOlder 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "stone"; 12 13 version = "3.3.1"; 14 + format = "setuptools"; 13 15 14 - # pypi sdist misses requirements.txt 16 + disabled = pythonOlder "3.7"; 17 + 15 18 src = fetchFromGitHub { 16 19 owner = "dropbox"; 17 20 repo = pname; 18 - rev = "v${version}"; 21 + rev = "refs/tags/v${version}"; 19 22 hash = "sha256-0FWdYbv+paVU3Wj6g9OrSNUB0pH8fLwTkhVIBPeFB/U="; 20 23 }; 21 24 22 25 postPatch = '' 23 - sed -i '/pytest-runner/d' setup.py 26 + # https://github.com/dropbox/stone/issues/288 27 + substituteInPlace stone/frontend/ir_generator.py \ 28 + --replace "inspect.getargspec" "inspect.getfullargspec" 29 + substituteInPlace setup.py \ 30 + --replace "'pytest-runner == 5.2.0'," "" 24 31 ''; 25 32 26 - propagatedBuildInputs = [ ply six ]; 27 - 28 - nativeCheckInputs = [ pytestCheckHook mock ]; 33 + propagatedBuildInputs = [ 34 + ply 35 + six 36 + ]; 29 37 30 - # try to import from `test` directory, which is exported by the python interpreter 31 - # and cannot be overridden without removing some py3 to py2 support 32 - disabledTestPaths = [ 33 - "test/test_tsd_types.py" 34 - "test/test_js_client.py" 38 + nativeCheckInputs = [ 39 + pytestCheckHook 40 + mock 35 41 ]; 42 + 36 43 disabledTests = [ 37 44 "test_type_name_with_module" 38 45 ]; 39 46 40 - pythonImportsCheck = [ "stone" ]; 47 + pythonImportsCheck = [ 48 + "stone" 49 + ]; 41 50 42 51 meta = with lib; { 43 52 description = "Official Api Spec Language for Dropbox"; 44 53 homepage = "https://github.com/dropbox/stone"; 54 + changelog = "https://github.com/dropbox/stone/releases/tag/v${version}"; 45 55 license = licenses.mit; 46 56 maintainers = with maintainers; [ jonringer ]; 47 57 };
+2 -2
pkgs/development/python-modules/types-pyyaml/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-pyyaml"; 8 - version = "6.0.12.2"; 8 + version = "6.0.12.3"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 pname = "types-PyYAML"; 13 13 inherit version; 14 - sha256 = "sha256-aECBmHHJLe6+aiBn+4AMEbigY2MutOPnVZFOerNgToM="; 14 + sha256 = "sha256-F84Xs+rY8G5BajsdW43cbLgqQiuyACVN2LRpQ0sEX/w="; 15 15 }; 16 16 17 17 # Module doesn't have tests
+38
pkgs/development/tools/detekt/default.nix
··· 1 + { detekt, lib, stdenv, fetchurl, makeWrapper, jre_headless, testers }: 2 + stdenv.mkDerivation rec { 3 + pname = "detekt"; 4 + version = "1.22.0"; 5 + 6 + jarfilename = "${pname}-${version}-executable.jar"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/detekt/detekt/releases/download/v${version}/detekt-cli-${version}-all.jar"; 10 + sha256 = "sha256-NCOMBcAtk7cOlP3H8Bz/hfR/305j/DfaoFrwc504b/4="; 11 + }; 12 + 13 + dontUnpack = true; 14 + 15 + nativeBuildInputs = [ makeWrapper ]; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D "$src" "$out/share/java/${jarfilename}" 21 + 22 + makeWrapper ${jre_headless}/bin/java $out/bin/detekt \ 23 + --add-flags "-jar $out/share/java/${jarfilename}" 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + passthru.tests.version = testers.testVersion { package = detekt; }; 29 + 30 + meta = with lib; { 31 + description = "Static code analysis for Kotlin"; 32 + homepage = "https://detekt.dev/"; 33 + license = licenses.asl20; 34 + platforms = jre_headless.meta.platforms; 35 + maintainers = with maintainers; [ mdr ]; 36 + sourceProvenance = with sourceTypes; [ binaryBytecode ]; 37 + }; 38 + }
+14 -4
pkgs/development/tools/gotags/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub, fetchpatch }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "gotags"; 5 5 version = "1.4.1"; 6 6 ··· 8 8 owner = "jstemmer"; 9 9 repo = pname; 10 10 rev = "4c0c4330071a994fbdfdff68f412d768fbcca313"; 11 - sha256 = "sha256-cHTgt+zW6S6NDWBE6NxSXNPdn84CLD8WmqBe+uXN8sA="; 11 + hash = "sha256-cHTgt+zW6S6NDWBE6NxSXNPdn84CLD8WmqBe+uXN8sA="; 12 12 }; 13 13 14 - goPackagePath = "github.com/jstemmer/gotags"; 14 + vendorHash = null; 15 + 16 + patches = [ 17 + # Add Go Modules support 18 + (fetchpatch { 19 + url = "https://github.com/jstemmer/gotags/commit/9146999bce9a88e15b5f123d1aa1613926dd9a9c.patch"; 20 + hash = "sha256-6v/Ws15y50S6iCI1c0kEw5WHSg+1WqVT4mwdQKoi5G8="; 21 + }) 22 + ]; 23 + 24 + ldflags = [ "-s" "-w" ]; 15 25 16 26 meta = with lib; { 17 27 description = "ctags-compatible tag generator for Go";
+51
pkgs/development/tools/manifest-tool/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , git 5 + , stdenv 6 + , testers 7 + , manifest-tool 8 + }: 9 + 10 + buildGoModule rec { 11 + pname = "manifest-tool"; 12 + version = "2.0.6"; 13 + gitCommit = "2ed9312726765567a84f2acc44a0c8a6e50f4b7a"; 14 + modRoot = "v2"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "estesp"; 18 + repo = "manifest-tool"; 19 + rev = "v${version}"; 20 + sha256 = "sha256-oopk++IdNF6msxOszT0fKxQABgWKbaQZ2aNH9chqWU0="; 21 + leaveDotGit = true; 22 + postFetch = '' 23 + git -C $out rev-parse HEAD > $out/.git-revision 24 + rm -rf $out/.git 25 + ''; 26 + }; 27 + 28 + vendorHash = null; 29 + 30 + nativeBuildInputs = [ git ]; 31 + 32 + preConfigure = '' 33 + ldflags="-X main.gitCommit=$(cat .git-revision)" 34 + ''; 35 + 36 + CGO_ENABLED = if stdenv.hostPlatform.isStatic then "0" else "1"; 37 + GO_EXTLINK_ENABLED = if stdenv.hostPlatform.isStatic then "0" else "1"; 38 + ldflags = lib.optionals stdenv.hostPlatform.isStatic [ "-w" "-extldflags" "-static" ]; 39 + tags = lib.optionals stdenv.hostPlatform.isStatic [ "netgo" ]; 40 + 41 + passthru.tests.version = testers.testVersion { 42 + package = manifest-tool; 43 + }; 44 + 45 + meta = with lib; { 46 + description = "Command line tool to create and query container image manifest list/indexes"; 47 + homepage = "https://github.com/estesp/manifest-tool"; 48 + license = licenses.asl20; 49 + maintainers = with maintainers; [ tricktron ]; 50 + }; 51 + }
+2 -2
pkgs/development/web/nodejs/v19.nix
··· 9 9 in 10 10 buildNodejs { 11 11 inherit enableNpm; 12 - version = "19.4.0"; 13 - sha256 = "0qdj67dgxbjpllm2z9vm46c50s3dqk8a34hbp81vsa7mf3b42182"; 12 + version = "19.5.0"; 13 + sha256 = "sha256-KBMXvce6iVITi/jw9fB2SV95+G6FGmWb4fmD3sM8pXc="; 14 14 patches = [ 15 15 ./revert-arm64-pointer-auth.patch 16 16 ./disable-darwin-v8-system-instrumentation-node19.patch
+5 -1
pkgs/games/dwarf-fortress/wrapper/default.nix
··· 56 56 57 57 settings_ = lib.recursiveUpdate { 58 58 init = { 59 - PRINT_MODE = if enableTextMode then "TEXT" else if enableTWBT then "TWBT" else null; 59 + PRINT_MODE = 60 + if enableTextMode then "TEXT" 61 + else if enableTWBT then "TWBT" 62 + else if stdenv.hostPlatform.isDarwin then "STANDARD" # https://www.bay12games.com/dwarves/mantisbt/view.php?id=11680 63 + else null; 60 64 INTRO = enableIntro; 61 65 TRUETYPE = enableTruetype; 62 66 FPS = enableFPS;
+17
pkgs/os-specific/linux/waydroid/default.nix
··· 4 4 , dnsmasq 5 5 , gawk 6 6 , getent 7 + , gobject-introspection 8 + , gtk3 7 9 , kmod 8 10 , lxc 9 11 , iproute2 10 12 , nftables 11 13 , util-linux 12 14 , which 15 + , wrapGAppsHook 13 16 , xclip 14 17 }: 15 18 ··· 25 28 sha256 = "sha256-0GBob9BUwiE5cFGdK8AdwsTjTOdc+AIWqUGN/gFfOqI="; 26 29 }; 27 30 31 + buildInputs = [ 32 + gtk3 33 + ]; 34 + 35 + nativeBuildInputs = [ 36 + gobject-introspection 37 + wrapGAppsHook 38 + ]; 39 + 28 40 propagatedBuildInputs = with python3Packages; [ 29 41 gbinder-python 30 42 pyclip ··· 35 47 dontUsePipInstall = true; 36 48 dontUseSetuptoolsCheck = true; 37 49 dontWrapPythonPrograms = true; 50 + dontWrapGApps = true; 38 51 39 52 installPhase = '' 40 53 make install PREFIX=$out USE_SYSTEMD=0 USE_NFTABLES=1 54 + ''; 55 + 56 + preFixup = '' 57 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 41 58 42 59 wrapProgram $out/lib/waydroid/data/scripts/waydroid-net.sh \ 43 60 --prefix PATH ":" ${lib.makeBinPath [ dnsmasq getent iproute2 nftables ]}
+3 -3
pkgs/servers/eris-go/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "eris-go"; 5 - version = "20230114"; 5 + version = "20230123"; 6 6 7 7 src = fetchFromGitea { 8 8 domain = "codeberg.org"; 9 9 owner = "eris"; 10 10 repo = pname; 11 11 rev = version; 12 - hash = "sha256-cJvSIeS9fKUJP5p7ZTH7Wi+UcBXeCS32Twhv6jBT+9Q="; 12 + hash = "sha256-jdeh5lhbu2hxVNdnU0GiMsdXRi8004Xgu2/tgFhqPao="; 13 13 }; 14 14 15 - vendorHash = "sha256-DDV7LUnGnf24qQ2I9I4MDUx87s1+yDhisVz/Jw4XU6k="; 15 + vendorHash = "sha256-mLyPaX5rDw0rR4PXtzpLMOrsYwTH3Y+COcrvwH7/qdo="; 16 16 17 17 postInstall = "ln -s $out/bin/eris-get $out/bin/eris-put"; 18 18 # eris-get is a multicall binary
+2 -2
pkgs/tools/admin/awscli2/default.nix
··· 25 25 in 26 26 with py.pkgs; buildPythonApplication rec { 27 27 pname = "awscli2"; 28 - version = "2.9.15"; # N.B: if you change this, check if overrides are still up-to-date 28 + version = "2.9.17"; # N.B: if you change this, check if overrides are still up-to-date 29 29 format = "pyproject"; 30 30 31 31 src = fetchFromGitHub { 32 32 owner = "aws"; 33 33 repo = "aws-cli"; 34 34 rev = version; 35 - hash = "sha256-yOqxz6ZsBV7iNKjG3NlV8SUHaezlchiUx8RRShRU6xo="; 35 + hash = "sha256-5d/XEkM01SJj9M3e+5qbJrwWX+CU8fb097D45+Hp/Qc="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+13 -18
pkgs/tools/filesystems/gcsfuse/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "gcsfuse"; 8 - version = "0.41.10"; 8 + version = "0.41.12"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "googlecloudplatform"; 12 12 repo = "gcsfuse"; 13 - rev = "refs/tags/v${version}"; 14 - hash = "sha256-rtBqXC1CTkbKDP6pzkRQ7GnM5f4xt6eUMW3n9wZu0hc="; 13 + rev = "v${version}"; 14 + hash = "sha256-s28vtcNodc5IL8SnZLTgSQBTPUf0FiIAv3TxZXMDuYE="; 15 15 }; 16 16 17 - vendorSha256 = null; 17 + vendorHash = null; 18 18 19 - subPackages = [ 20 - "." 21 - "tools/mount_gcsfuse" 22 - ]; 19 + subPackages = [ "." "tools/mount_gcsfuse" ]; 23 20 24 - ldflags = [ 25 - "-s" 26 - "-w" 27 - "-X main.gcsfuseVersion=${version}" 28 - ]; 21 + ldflags = [ "-s" "-w" "-X main.gcsfuseVersion=${version}" ]; 29 22 30 23 preCheck = 31 - let skippedTests = [ 32 - "Test_Main" 33 - "TestFlags" 34 - ]; in 24 + let 25 + skippedTests = [ 26 + "Test_Main" 27 + "TestFlags" 28 + ]; 29 + in 35 30 '' 36 31 # Disable flaky tests 37 32 buildFlagsArray+=("-run" "[^(${builtins.concatStringsSep "|" skippedTests})]") ··· 42 37 ln -s $out/bin/mount_gcsfuse $out/bin/mount.fuse.gcsfuse 43 38 ''; 44 39 45 - meta = with lib;{ 40 + meta = with lib; { 46 41 description = "A user-space file system for interacting with Google Cloud Storage"; 47 42 homepage = "https://cloud.google.com/storage/docs/gcs-fuse"; 48 43 changelog = "https://github.com/GoogleCloudPlatform/gcsfuse/releases/tag/v${version}";
+2 -12
pkgs/tools/graphics/gmic-qt/default.nix
··· 2 2 , mkDerivation 3 3 , variant ? "standalone" 4 4 , fetchFromGitHub 5 - , fetchpatch 6 5 , cmake 7 6 , pkg-config 8 7 , ninja ··· 59 58 60 59 mkDerivation rec { 61 60 pname = "gmic-qt${lib.optionalString (variant != "standalone") "-${variant}"}"; 62 - version = "3.1.6"; 61 + version = "3.2.0"; 63 62 64 63 src = fetchFromGitHub { 65 64 owner = "c-koi"; 66 65 repo = "gmic-qt"; 67 66 rev = "v.${version}"; 68 - sha256 = "sha256-/5wDHvJSMgEheg8YV4W40wUiHz25emIoFnGdfO8i92g="; 67 + sha256 = "sha256-I5XC7zbDyBPFj4zul9rshoyeVV0hRQQ3aZQzEvYrgdc="; 69 68 }; 70 69 71 70 nativeBuildInputs = [ ··· 93 92 cmakeFlags = [ 94 93 "-DGMIC_QT_HOST=${if variant == "standalone" then "none" else variant}" 95 94 "-DENABLE_SYSTEM_GMIC:BOOL=ON" 96 - ]; 97 - 98 - patches = [ 99 - # NOTE: this should be removed when a new version is released. 100 - (fetchpatch { 101 - name = "fix_filter_translation_scripts.patch"; 102 - url = "https://github.com/c-koi/gmic-qt/commit/ccb9f29eda239d0c80663593cd90a6548c935b39.patch"; 103 - sha256 = "sha256-OzuJ6yGuDJweQ+1uin/pmJqZV79bN9E1Zuo+0iciwzg="; 104 - }) 105 95 ]; 106 96 107 97 postPatch = ''
+4 -4
pkgs/tools/graphics/gmic/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "gmic"; 28 - version = "3.1.6"; 28 + version = "3.2.0"; 29 29 30 30 outputs = [ "out" "lib" "dev" "man" ]; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "dtschump"; 34 34 repo = "gmic"; 35 - rev = "326ea9b7dc320b3624fe660d7b7d81669ca12e6d"; 36 - sha256 = "RRCzYMN/IXViiUNnacJV3DNpku3hIHQkHbIrtixExT0="; 35 + rev = "v.${version}"; 36 + hash = "sha256-lrIlzxXWqv046G5uRkBQnjvysaIcv+iDKxjuUEJWqcs="; 37 37 }; 38 38 39 39 # TODO: build this from source ··· 41 41 gmic_stdlib = fetchurl { 42 42 name = "gmic_stdlib.h"; 43 43 url = "http://gmic.eu/gmic_stdlib${lib.replaceStrings ["."] [""] version}.h"; 44 - sha256 = "adObp8s+2TWaS+X/bQSphWRK6o85h+DGwlIDol6XN/4="; 44 + hash = "sha256-kWHzA1Dk7F4IROq/gk+RJllry3BABMbssJxhkQ6Cp2M="; 45 45 }; 46 46 47 47 nativeBuildInputs = [
+23
pkgs/tools/misc/compdb/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "compdb"; 8 + version = "0.2.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "Sarcasm"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + sha256 = "sha256-nFAgTrup6V5oE+LP4UWDOCgTVCv2v9HbQbkGW+oDnTg="; 15 + }; 16 + 17 + meta = with lib; { 18 + description = "Command line tool to manipulate compilation databases"; 19 + license = licenses.mit; 20 + homepage = "https://github.com/Sarcasm/compdb"; 21 + maintainers = [ maintainers.detegr ]; 22 + }; 23 + }
+54
pkgs/tools/misc/rmate-sh/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , patsh 5 + , hostname 6 + }: 7 + 8 + stdenv.mkDerivation rec { 9 + pname = "rmate"; 10 + version = "1.0.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "aurora"; 14 + repo = pname; 15 + rev = "refs/tags/v${version}"; 16 + hash = "sha256-fmK6h9bqZ0zO3HWfZvPdYuZ6i/0HZ1CA3FUnkS+E9ns="; 17 + }; 18 + 19 + nativeBuildInputs = [ patsh ]; 20 + 21 + buildPhase = '' 22 + runHook preBuild 23 + 24 + substituteInPlace rmate \ 25 + --replace \ 26 + 'echo "hostname"' \ 27 + 'echo "${hostname}/bin/hostname"' 28 + patsh -f rmate -s ${builtins.storeDir} 29 + 30 + runHook preBuild 31 + ''; 32 + 33 + installPhase = '' 34 + runHook preInstall 35 + 36 + install -Dm755 rmate $out/bin/rmate 37 + 38 + runHook postInstall 39 + ''; 40 + 41 + meta = with lib; { 42 + description = "Remote TextMate 2 implemented as shell script"; 43 + longDescription = '' 44 + TextMate 2 has a nice feature where it is possible to edit 45 + files on a remote server using a helper script called 'rmate', 46 + which feeds the file back to the editor over a reverse tunnel. 47 + This is a rmate implementation in shell! 48 + ''; 49 + homepage = "https://github.com/aurora/rmate"; 50 + platforms = platforms.linux; 51 + license = licenses.gpl3; 52 + maintainers = with maintainers; [ pbsds ]; 53 + }; 54 + }
+4 -3
pkgs/tools/networking/eternal-terminal/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "eternal-terminal"; 15 - version = "6.2.1"; 15 + version = "6.2.4"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "MisterTea"; 19 19 repo = "EternalTerminal"; 20 - rev = "et-v${version}"; 21 - hash = "sha256-YQ8Qx6RTmDoNWY8AQlnBJJendQl+tF1QA+Z6h/ar9qs="; 20 + rev = "refs/tags/et-v${version}"; 21 + hash = "sha256-9W9Pz0VrFU+HNpf98I3CLrn8+kpjjNLOUK8gGcDJcI8="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ ··· 52 52 meta = with lib; { 53 53 description = "Remote shell that automatically reconnects without interrupting the session"; 54 54 homepage = "https://eternalterminal.dev/"; 55 + changelog = "https://github.com/MisterTea/EternalTerminal/releases/tag/et-v${version}"; 55 56 license = licenses.asl20; 56 57 maintainers = with maintainers; [ dezgeg ]; 57 58 platforms = platforms.linux ++ platforms.darwin;
+2 -2
pkgs/tools/networking/haproxy/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "haproxy"; 14 - version = "2.6.6"; 14 + version = "2.7.2"; 15 15 16 16 src = fetchurl { 17 17 url = "https://www.haproxy.org/download/${lib.versions.majorMinor version}/src/${pname}-${version}.tar.gz"; 18 - sha256 = "sha256-0MgMkMBK55WYtYuXSdU3h/APe1FRdefYID8nluamWU0="; 18 + sha256 = "sha256-Y7xuwDAtDrvh+nacGWBmQN6DSsjLB0R7gHmctWPcDz8="; 19 19 }; 20 20 21 21 buildInputs = [ openssl zlib libxcrypt ]
+53
pkgs/tools/package-management/apx/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , installShellFiles 6 + , docker 7 + , distrobox 8 + }: 9 + 10 + buildGoModule rec { 11 + pname = "apx"; 12 + version = "1.4.2"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "Vanilla-OS"; 16 + repo = pname; 17 + rev = version; 18 + sha256 = "sha256-BswX4Jo/RReM/tXo29V9rIvKjN8ylECPe0oo0FCQcGY="; 19 + }; 20 + 21 + vendorSha256 = null; 22 + 23 + ldflags = [ "-s" "-w" ]; 24 + 25 + nativeBuildInputs = [ 26 + makeWrapper 27 + installShellFiles 28 + ]; 29 + 30 + postInstall = '' 31 + mkdir -p $out/etc/apx 32 + 33 + cat > "$out/etc/apx/config.json" <<EOF 34 + { 35 + "containername": "apx_managed", 36 + "image": "docker.io/library/ubuntu", 37 + "pkgmanager": "apt", 38 + "distroboxpath": "${distrobox}/bin/distrobox" 39 + } 40 + EOF 41 + 42 + wrapProgram $out/bin/apx --prefix PATH : ${lib.makeBinPath [ docker distrobox ]} 43 + 44 + installManPage man/apx.1 man/es/apx.1 45 + ''; 46 + 47 + meta = with lib; { 48 + description = "The Vanilla OS package manager"; 49 + homepage = "https://github.com/Vanilla-OS/apx"; 50 + license = licenses.gpl3; 51 + maintainers = with maintainers; [ dit7ya ]; 52 + }; 53 + }
+3 -3
pkgs/tools/security/nuclei/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "nuclei"; 8 - version = "2.8.7"; 8 + version = "2.8.8"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - hash = "sha256-kEc56cT8EgrQ8qHRHcVjf8L+DwFeK4UDEXhGqs24lJM="; 14 + hash = "sha256-limgyp13eh2FuD1MzqQn+NQ30fOJsvr8UT4kZrxnIPM="; 15 15 }; 16 16 17 - vendorHash = "sha256-cEgJOL4qpbxdWBwGzVviI/+3Exe746Mu749vtrSjOVU="; 17 + vendorHash = "sha256-nmZpYShVNAqBO8adxCSt9t3ocB3elWna06pIBG6dQNY="; 18 18 19 19 modRoot = "./v2"; 20 20 subPackages = [
+3 -3
pkgs/tools/security/trufflehog/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "trufflehog"; 8 - version = "3.25.2"; 8 + version = "3.25.3"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "trufflesecurity"; 12 12 repo = "trufflehog"; 13 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-0cYaW55BF05tXCci76Eivn2rHMMJdjXl5WUkxvXbbnk="; 14 + hash = "sha256-w2Wz1mGlpC7EQ7Xos1zDd88HVcLN0TITx3IEn4qyc0s="; 15 15 }; 16 16 17 - vendorHash = "sha256-UqoFEvixSk42UTMswc8tUDVxYVkfgkern3NeDyiUMMw="; 17 + vendorHash = "sha256-71gPd42kaJaLpyXH1FpCf6sRiKmyGNuGxkX3QV8vvHY="; 18 18 19 19 # Test cases run git clone and require network access 20 20 doCheck = false;
+9 -4
pkgs/tools/system/awstats/default.nix
··· 1 - { lib, fetchurl, perlPackages, jdk }: 1 + { lib 2 + , fetchurl 3 + , perlPackages 4 + , jdk 5 + }: 2 6 3 7 perlPackages.buildPerlPackage rec { 4 8 pname = "awstats"; 5 - version = "7.8"; 9 + version = "7.9"; 6 10 7 11 src = fetchurl { 8 12 url = "mirror://sourceforge/awstats/${pname}-${version}.tar.gz"; 9 - sha256 = "1f6l0hd01jmz7hpg0py8qixxiq50n8gl37iypayskxmy05z8craa"; 13 + sha256 = "sha256-YVF47TE9NDFfFaUi2xpdEsqcOV43hbsGKAq/+V2aBUY="; 10 14 }; 11 15 12 16 postPatch = '' ··· 15 19 ''; 16 20 17 21 outputs = [ "bin" "out" "doc" ]; # bin just links the user-run executable 22 + 18 23 propagatedBuildOutputs = [ ]; # otherwise out propagates bin -> cycle 19 24 20 25 buildInputs = with perlPackages; [ ]; # plugins will need some ··· 53 58 ''; 54 59 55 60 meta = with lib; { 61 + changelog = "https://www.awstats.org/docs/awstats_changelog.txt"; 56 62 description = "Real-time logfile analyzer to get advanced statistics"; 57 63 homepage = "https://awstats.org"; 58 64 license = licenses.gpl3Plus; 59 65 platforms = platforms.unix; 60 66 }; 61 67 } 62 -
+3 -3
pkgs/tools/text/comrak/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "comrak"; 5 - version = "0.15.0"; 5 + version = "0.16.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "kivikakk"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-F6MZxbB3FYEJ8tzJ0tp9/s0aLaH35QUnOJS6mCVfzUQ="; 11 + sha256 = "sha256-ZKIqjeRsNTQYaa5itBSnqQ1w54Yq/iY2EQfDN713KGM="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-+QPzwfoxt6+gpb4bDMd++1dBKoXOTON0z2EDdgmyy60="; 14 + cargoSha256 = "sha256-Xafdt4AGympN6CLctOWfbCNfhwp4XN6XmSYESgjhRPk="; 15 15 16 16 meta = with lib; { 17 17 description = "A CommonMark-compatible GitHub Flavored Markdown parser and formatter";
+19 -12
pkgs/tools/text/sift/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub, installShellFiles }: 1 + { lib, buildGoModule, fetchFromGitHub, fetchpatch, installShellFiles }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "sift"; 5 5 version = "0.9.0"; 6 - rev = "v${version}"; 7 - 8 - goPackagePath = "github.com/svent/sift"; 9 - 10 - nativeBuildInputs = [ installShellFiles ]; 11 6 12 7 src = fetchFromGitHub { 13 - inherit rev; 14 8 owner = "svent"; 15 9 repo = "sift"; 16 - sha256 = "0bgy0jf84z1c3msvb60ffj4axayfchdkf0xjnsbx9kad1v10g7i1"; 10 + rev = "v${version}"; 11 + hash = "sha256-IZ4Hwg5NzdSXtrIDNxtkzquuiHQOmLV1HSx8gpwE/i0="; 17 12 }; 18 13 14 + vendorHash = "sha256-y883la4R4jhsS99/ohgBC9SHggybAq9hreda6quG3IY="; 15 + 16 + patches = [ 17 + # Add Go Modules support 18 + (fetchpatch { 19 + url = "https://github.com/svent/sift/commit/b56fb3d0fd914c8a6c08b148e15dd8a07c7d8a5a.patch"; 20 + hash = "sha256-mFCEpkgQ8XDPRQ3yKDZ5qY9tKGSuHs+RnhMeAlx33Ng="; 21 + }) 22 + ]; 23 + 24 + nativeBuildInputs = [ installShellFiles ]; 25 + 26 + ldflags = [ "-s" "-w" ]; 27 + 19 28 postInstall = '' 20 - installShellCompletion --cmd sift --bash go/src/github.com/svent/sift/sift-completion.bash 29 + installShellCompletion --cmd sift --bash sift-completion.bash 21 30 ''; 22 - 23 - goDeps = ./deps.nix; 24 31 25 32 meta = with lib; { 26 33 description = "A fast and powerful alternative to grep";
-29
pkgs/tools/text/sift/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "golang.org/x/crypto"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://go.googlesource.com/crypto"; 7 - rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6"; 8 - sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"; 9 - }; 10 - } 11 - { 12 - goPackagePath = "github.com/svent/go-flags"; 13 - fetch = { 14 - type = "git"; 15 - url = "https://github.com/svent/go-flags"; 16 - rev = "4bcbad344f0318adaf7aabc16929701459009aa3"; 17 - sha256 = "1gb416fgxl9gq4q6wsv3i2grq1mzbi7lvfvmfdqbxqbv9vizzh34"; 18 - }; 19 - } 20 - { 21 - goPackagePath = "github.com/svent/go-nbreader"; 22 - fetch = { 23 - type = "git"; 24 - url = "https://github.com/svent/go-nbreader"; 25 - rev = "7cef48da76dca6a496faa7fe63e39ed665cbd219"; 26 - sha256 = "0hw11jj5r3f6qwydg41nc3c6aadlbkhc1qpxra2609lis0qa9h4r"; 27 - }; 28 - } 29 - ]
+26 -1
pkgs/top-level/all-packages.nix
··· 424 424 425 425 commix = callPackage ../tools/security/commix { }; 426 426 427 + compdb = callPackage ../tools/misc/compdb { }; 428 + 427 429 conserver = callPackage ../tools/misc/conserver { }; 428 430 429 431 containerpilot = callPackage ../applications/networking/cluster/containerpilot { }; ··· 5376 5378 rivercarro = callPackage ../applications/misc/rivercarro { }; 5377 5379 5378 5380 rmapi = callPackage ../applications/misc/remarkable/rmapi { }; 5381 + 5382 + rmate-sh = callPackage ../tools/misc/rmate-sh { }; 5379 5383 5380 5384 rmview = libsForQt5.callPackage ../applications/misc/remarkable/rmview { }; 5381 5385 ··· 8932 8936 8933 8937 mani = callPackage ../development/tools/mani { }; 8934 8938 8939 + manifest-tool = callPackage ../development/tools/manifest-tool { }; 8940 + 8935 8941 mask = callPackage ../development/tools/mask { }; 8936 8942 8937 8943 mathpix-snipping-tool = callPackage ../tools/misc/mathpix-snipping-tool { }; ··· 14583 14589 14584 14590 gnu-smalltalk = callPackage ../development/compilers/gnu-smalltalk { }; 14585 14591 14586 - gccgo = wrapCC ((if stdenv.hostPlatform.isMusl then gcc_latest else gcc).cc.override { 14592 + gccgo = wrapCC (gcc.cc.override { 14593 + name = "gccgo"; 14594 + langCC = true; #required for go. 14595 + langC = true; 14596 + langGo = true; 14597 + langJit = true; 14598 + profiledCompiler = false; 14599 + } // { 14600 + # not supported on darwin: https://github.com/golang/go/issues/463 14601 + meta.broken = stdenv.hostPlatform.isDarwin; 14602 + }); 14603 + 14604 + gccgo12 = wrapCC (gcc12.cc.override { 14587 14605 name = "gccgo"; 14588 14606 langCC = true; #required for go. 14589 14607 langC = true; 14590 14608 langGo = true; 14591 14609 langJit = true; 14592 14610 profiledCompiler = false; 14611 + } // { 14612 + # not supported on darwin: https://github.com/golang/go/issues/463 14613 + meta.broken = stdenv.hostPlatform.isDarwin; 14593 14614 }); 14594 14615 14595 14616 ghdl = ghdl-mcode; ··· 17440 17461 cli11 = callPackage ../development/tools/misc/cli11 { }; 17441 17462 17442 17463 datree = callPackage ../development/tools/datree { }; 17464 + 17465 + detekt = callPackage ../development/tools/detekt { }; 17443 17466 17444 17467 dcadec = callPackage ../development/tools/dcadec { }; 17445 17468 ··· 37180 37203 eiciel = callPackage ../tools/filesystems/eiciel { }; 37181 37204 37182 37205 apt = callPackage ../tools/package-management/apt { }; 37206 + 37207 + apx = callPackage ../tools/package-management/apx { }; 37183 37208 37184 37209 dpkg = callPackage ../tools/package-management/dpkg { }; 37185 37210