lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
ecf5e759 82ff7320

+540 -240
+2 -2
nixos/modules/misc/ids.nix
··· 210 210 #fleet = 173; # unused 211 211 #input = 174; # unused 212 212 sddm = 175; 213 - tss = 176; 213 + #tss = 176; # dynamically allocated as of 2021-09-17 214 214 #memcached = 177; removed 2018-01-03 215 215 #ntp = 179; # dynamically allocated as of 2021-09-17 216 216 zabbix = 180; ··· 524 524 #fleet = 173; # unused 525 525 input = 174; 526 526 sddm = 175; 527 - tss = 176; 527 + #tss = 176; #dynamically allocateda as of 2021-09-20 528 528 #memcached = 177; # unused, removed 2018-01-03 529 529 #ntp = 179; # unused 530 530 zabbix = 180;
+1 -1
nixos/modules/security/lock-kernel-modules.nix
··· 35 35 wants = [ "systemd-udevd.service" ]; 36 36 wantedBy = [ config.systemd.defaultUnit ]; 37 37 38 - before = [ config.systemd.defaultUnit ]; 39 38 after = 40 39 [ "firewall.service" 41 40 "systemd-modules-load.service" 41 + config.systemd.defaultUnit 42 42 ]; 43 43 44 44 unitConfig.ConditionPathIsReadWrite = "/proc/sys/kernel";
+2 -1
nixos/modules/security/tpm2.nix
··· 146 146 # Create the tss user and group only if the default value is used 147 147 users.users.${cfg.tssUser} = lib.mkIf (cfg.tssUser == "tss") { 148 148 isSystemUser = true; 149 + group = "tss"; 149 150 }; 150 151 users.groups.${cfg.tssGroup} = lib.mkIf (cfg.tssGroup == "tss") {}; 151 152 ··· 172 173 BusName = "com.intel.tss2.Tabrmd"; 173 174 ExecStart = "${cfg.abrmd.package}/bin/tpm2-abrmd"; 174 175 User = "tss"; 175 - Group = "nogroup"; 176 + Group = "tss"; 176 177 }; 177 178 }; 178 179
+6 -1
nixos/modules/services/display-managers/greetd.nix
··· 99 99 100 100 systemd.defaultUnit = "graphical.target"; 101 101 102 - users.users.greeter.isSystemUser = true; 102 + users.users.greeter = { 103 + isSystemUser = true; 104 + group = "greeter"; 105 + }; 106 + 107 + users.groups.greeter = {}; 103 108 }; 104 109 105 110 meta.maintainers = with maintainers; [ queezle ];
+2 -4
nixos/modules/services/hardware/tcsd.nix
··· 149 149 users.users = optionalAttrs (cfg.user == "tss") { 150 150 tss = { 151 151 group = "tss"; 152 - uid = config.ids.uids.tss; 152 + isSystemUser = true; 153 153 }; 154 154 }; 155 155 156 - users.groups = optionalAttrs (cfg.group == "tss") { 157 - tss.gid = config.ids.gids.tss; 158 - }; 156 + users.groups = optionalAttrs (cfg.group == "tss") { tss = {}; }; 159 157 }; 160 158 }
+7 -1
nixos/modules/services/x11/desktop-managers/pantheon.xml
··· 105 105 </term> 106 106 <listitem> 107 107 <para> 108 - AppCenter has been available since 20.03, but it is of little use. This is because there is no functioning PackageKit backend for Nix 2.0. In the near future you will be able to install Flatpak applications from AppCenter on NixOS. See this <link xlink:href="https://github.com/NixOS/nixpkgs/issues/70214">issue</link>. 108 + AppCenter has been available since 20.03, but it is of little use. This is because there is no functioning PackageKit backend for Nix 2.0. Starting from 21.11, the Flatpak backend should work so you can install some Flatpak applications using it. See this <link xlink:href="https://github.com/NixOS/nixpkgs/issues/70214">issue</link>. 109 109 </para> 110 + <para> 111 + To use AppCenter on NixOS, add <literal>pantheon.appcenter</literal> to <xref linkend="opt-environment.systemPackages" />, <link linkend="module-services-flatpak">enable Flatpak support</link> and optionally add the <literal>appcenter</literal> Flatpak remote: 112 + </para> 113 + <screen> 114 + <prompt>$ </prompt>flatpak remote-add --if-not-exists appcenter https://flatpak.elementary.io/repo.flatpakrepo 115 + </screen> 110 116 </listitem> 111 117 </varlistentry> 112 118 </variablelist>
+1
nixos/tests/hardened.nix
··· 57 57 # Test kernel module hardening 58 58 with subtest("No more kernel modules can be loaded"): 59 59 # note: this better a be module we normally wouldn't load ... 60 + machine.wait_for_unit("disable-kernel-module-loading.service") 60 61 machine.fail("modprobe dccp") 61 62 62 63
+5
pkgs/applications/misc/gofu/default.nix
··· 15 15 16 16 subPackages = [ "." ]; 17 17 18 + postInstall = '' 19 + ln -s $out/bin/gofu $out/bin/rtree 20 + ln -s $out/bin/gofu $out/bin/prettyprompt 21 + ''; 22 + 18 23 meta = with lib; { 19 24 description = "Multibinary containing several utilities"; 20 25 homepage = "https://github.com/majewsky/gofu";
+6 -4
pkgs/applications/misc/octoprint/plugins.nix
··· 2 2 3 3 with pkgs; 4 4 5 - self: super: let 5 + self: super: 6 + let 6 7 buildPlugin = args: self.buildPythonPackage (args // { 7 8 pname = "OctoPrintPlugin-${args.pname}"; 8 9 inherit (args) version; 9 - propagatedBuildInputs = (args.propagatedBuildInputs or []) ++ [ super.octoprint ]; 10 + propagatedBuildInputs = (args.propagatedBuildInputs or [ ]) ++ [ super.octoprint ]; 10 11 # none of the following have tests 11 12 doCheck = false; 12 13 }); 13 - in { 14 + in 15 + { 14 16 inherit buildPlugin; 15 17 16 18 m86motorsoff = buildPlugin rec { ··· 84 86 85 87 meta = with lib; { 86 88 description = "Plugin to display the estimated print cost for the loaded model."; 87 - homepage = "https://github.com/malnvenshorn/OctoPrint-CostEstimation"; 89 + homepage = "https://github.com/OllisGit/OctoPrint-CostEstimation"; 88 90 license = licenses.agpl3Only; 89 91 maintainers = with maintainers; [ stunkymonkey ]; 90 92 };
+4
pkgs/applications/networking/cluster/nixops/default.nix
··· 17 17 18 18 nixops = super.nixops.overridePythonAttrs ( 19 19 old: { 20 + postPatch = '' 21 + substituteInPlace nixops/args.py --subst-var version 22 + ''; 23 + 20 24 meta = old.meta // { 21 25 homepage = https://github.com/NixOS/nixops; 22 26 description = "NixOS cloud provisioning and deployment tool";
+4 -2
pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
··· 45 45 , libsysprof-capture 46 46 , libpsl 47 47 , brotli 48 + , microsoft_gsl 48 49 }: 49 50 50 51 # Main reference: ··· 59 60 in 60 61 mkDerivation rec { 61 62 pname = "telegram-desktop"; 62 - version = "3.0.1"; 63 + version = "3.1.0"; 63 64 # Note: Update via pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py 64 65 65 66 # Telegram-Desktop with submodules ··· 68 69 repo = "tdesktop"; 69 70 rev = "v${version}"; 70 71 fetchSubmodules = true; 71 - sha256 = "196w82a92jahz7caqv2cyhhq53xm3figa7kiq59kid5wbqg33c9x"; 72 + sha256 = "0507qdkz8gn0gyyhxsy4mc4rs2r94s1ipqfxrc6ghgj43jkrklx3"; 72 73 }; 73 74 74 75 postPatch = '' ··· 136 137 libsysprof-capture 137 138 libpsl 138 139 brotli 140 + microsoft_gsl 139 141 ]; 140 142 141 143 cmakeFlags = [
+3 -3
pkgs/applications/networking/instant-messengers/telegram/tdesktop/tg_owt.nix
··· 8 8 9 9 stdenv.mkDerivation { 10 10 pname = "tg_owt"; 11 - version = "unstable-2021-06-27"; 11 + version = "unstable-2021-09-15"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "desktop-app"; 15 15 repo = "tg_owt"; 16 - rev = "91d836dc84a16584c6ac52b36c04c0de504d9c34"; 17 - sha256 = "1ir4svv5mijpzr0rmx65088iikck83vhcdqrpf9dnk6yp4j9v4v2"; 16 + rev = "575fb17d2853c43329e45f6693370f5e41668055"; 17 + sha256 = "17lhy5g4apdakspv75zm070k7003crf1i80m8wy8f631s86v30md"; 18 18 fetchSubmodules = true; 19 19 }; 20 20
+23 -5
pkgs/build-support/rust/import-cargo-lock.nix
··· 2 2 3 3 { 4 4 # Cargo lock file 5 - lockFile 5 + lockFile ? null 6 + 7 + # Cargo lock file contents as string 8 + , lockFileContents ? null 6 9 7 10 # Hashes for git dependencies. 8 11 , outputHashes ? {} 9 - }: 12 + } @ args: 13 + 14 + assert (lockFile == null) != (lockFileContents == null); 10 15 11 16 let 12 17 # Parse a git source into different components. ··· 22 27 sha = builtins.elemAt parts 4; 23 28 } // lib.optionalAttrs (type != null) { inherit type value; }; 24 29 25 - packages = (builtins.fromTOML (builtins.readFile lockFile)).package; 30 + # shadows args.lockFileContents 31 + lockFileContents = 32 + if lockFile != null 33 + then builtins.readFile lockFile 34 + else args.lockFileContents; 35 + 36 + packages = (builtins.fromTOML lockFileContents).package; 26 37 27 38 # There is no source attribute for the source package itself. But 28 39 # since we do not want to vendor the source package anyway, we can ··· 144 155 '' 145 156 else throw "Cannot handle crate source: ${pkg.source}"; 146 157 147 - vendorDir = runCommand "cargo-vendor-dir" {} '' 158 + vendorDir = runCommand "cargo-vendor-dir" (lib.optionalAttrs (lockFile == null) { 159 + inherit lockFileContents; 160 + passAsFile = [ "lockFileContents" ]; 161 + }) '' 148 162 mkdir -p $out/.cargo 149 163 150 - ln -s ${lockFile} $out/Cargo.lock 164 + ${ 165 + if lockFile != null 166 + then "ln -s ${lockFile} $out/Cargo.lock" 167 + else "cp $lockFileContentsPath $out/Cargo.lock" 168 + } 151 169 152 170 cat > $out/.cargo/config <<EOF 153 171 [source.crates-io]
+83
pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + [[package]] 4 + name = "basic-dynamic" 5 + version = "0.1.0" 6 + dependencies = [ 7 + "rand", 8 + ] 9 + 10 + [[package]] 11 + name = "cfg-if" 12 + version = "1.0.0" 13 + source = "registry+https://github.com/rust-lang/crates.io-index" 14 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 15 + 16 + [[package]] 17 + name = "getrandom" 18 + version = "0.2.3" 19 + source = "registry+https://github.com/rust-lang/crates.io-index" 20 + checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" 21 + dependencies = [ 22 + "cfg-if", 23 + "libc", 24 + "wasi", 25 + ] 26 + 27 + [[package]] 28 + name = "libc" 29 + version = "0.2.102" 30 + source = "registry+https://github.com/rust-lang/crates.io-index" 31 + checksum = "a2a5ac8f984bfcf3a823267e5fde638acc3325f6496633a5da6bb6eb2171e103" 32 + 33 + [[package]] 34 + name = "ppv-lite86" 35 + version = "0.2.10" 36 + source = "registry+https://github.com/rust-lang/crates.io-index" 37 + checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" 38 + 39 + [[package]] 40 + name = "rand" 41 + version = "0.8.4" 42 + source = "registry+https://github.com/rust-lang/crates.io-index" 43 + checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" 44 + dependencies = [ 45 + "libc", 46 + "rand_chacha", 47 + "rand_core", 48 + "rand_hc", 49 + ] 50 + 51 + [[package]] 52 + name = "rand_chacha" 53 + version = "0.3.1" 54 + source = "registry+https://github.com/rust-lang/crates.io-index" 55 + checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 56 + dependencies = [ 57 + "ppv-lite86", 58 + "rand_core", 59 + ] 60 + 61 + [[package]] 62 + name = "rand_core" 63 + version = "0.6.3" 64 + source = "registry+https://github.com/rust-lang/crates.io-index" 65 + checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 66 + dependencies = [ 67 + "getrandom", 68 + ] 69 + 70 + [[package]] 71 + name = "rand_hc" 72 + version = "0.3.1" 73 + source = "registry+https://github.com/rust-lang/crates.io-index" 74 + checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" 75 + dependencies = [ 76 + "rand_core", 77 + ] 78 + 79 + [[package]] 80 + name = "wasi" 81 + version = "0.10.2+wasi-snapshot-preview1" 82 + source = "registry+https://github.com/rust-lang/crates.io-index" 83 + checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
+8
pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/Cargo.toml
··· 1 + [package] 2 + name = "basic-dynamic" 3 + version = "0.1.0" 4 + authors = ["Daniël de Kok <me@danieldk.eu>"] 5 + edition = "2018" 6 + 7 + [dependencies] 8 + rand = "0.8"
+16
pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/default.nix
··· 1 + { rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage { 4 + pname = "basic-dynamic"; 5 + version = "0.1.0"; 6 + 7 + src = ./.; 8 + 9 + cargoLock.lockFileContents = builtins.readFile ./Cargo.lock; 10 + 11 + doInstallCheck = true; 12 + 13 + installCheckPhase = '' 14 + $out/bin/basic-dynamic 15 + ''; 16 + }
+9
pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/src/main.rs
··· 1 + use rand::Rng; 2 + 3 + fn main() { 4 + let mut rng = rand::thread_rng(); 5 + 6 + // Always draw zero :). 7 + let roll: u8 = rng.gen_range(0..1); 8 + assert_eq!(roll, 0); 9 + }
+1
pkgs/build-support/rust/test/import-cargo-lock/default.nix
··· 4 4 # $ nix-build -A tests.importCargoLock 5 5 { 6 6 basic = callPackage ./basic { }; 7 + basicDynamic = callPackage ./basic-dynamic { }; 7 8 gitDependency = callPackage ./git-dependency { }; 8 9 gitDependencyRev = callPackage ./git-dependency-rev { }; 9 10 gitDependencyTag = callPackage ./git-dependency-tag { };
+14 -14
pkgs/development/libraries/vapoursynth/0001-Call-weak-function-to-allow-adding-preloaded-plugins.patch
··· 1 - From 9b05a6f331506afa5aca8865677af83403d2a32d Mon Sep 17 00:00:00 2001 1 + From 439e2effe1cc372925daf6d5c28569663ffb93ed Mon Sep 17 00:00:00 2001 2 2 From: Tadeo Kondrak <me@tadeo.ca> 3 3 Date: Mon, 25 Jan 2021 11:17:44 -0700 4 4 Subject: [PATCH] Call weak function to allow adding preloaded plugins after ··· 10 10 2 files changed, 24 insertions(+) 11 11 12 12 diff --git a/src/core/vscore.cpp b/src/core/vscore.cpp 13 - index 2d29844d..35c509ed 100644 13 + index f8e69062..4ce4c623 100644 14 14 --- a/src/core/vscore.cpp 15 15 +++ b/src/core/vscore.cpp 16 - @@ -1229,6 +1229,20 @@ void VSCore::destroyFilterInstance(VSNode *node) { 16 + @@ -1791,6 +1791,20 @@ void VSCore::destroyFilterInstance(VSNode *node) { 17 17 freeDepth--; 18 18 } 19 19 ··· 31 31 +} 32 32 +} 33 33 + 34 - VSCore::VSCore(int threads) : 35 - coreFreed(false), 34 + VSCore::VSCore(int flags) : 36 35 numFilterInstances(1), 37 - @@ -1351,6 +1365,11 @@ VSCore::VSCore(int threads) : 36 + numFunctionInstances(0), 37 + @@ -1918,6 +1932,11 @@ VSCore::VSCore(int flags) : 38 38 } // If neither exists, an empty string will do. 39 39 #endif 40 40 ··· 44 44 + } 45 45 + 46 46 VSMap *settings = readSettings(configFile); 47 - const char *error = vs_internal_vsapi.getError(settings); 47 + const char *error = vs_internal_vsapi.mapGetError(settings); 48 48 if (error) { 49 49 diff --git a/src/core/vscore.h b/src/core/vscore.h 50 - index 74df8a84..3efac811 100644 50 + index 2ce0f56b..2982b133 100644 51 51 --- a/src/core/vscore.h 52 52 +++ b/src/core/vscore.h 53 - @@ -582,6 +582,9 @@ public: 54 - VSFunction() : functionData(nullptr), func(nullptr) {} 53 + @@ -985,6 +985,9 @@ public: 54 + std::string getV3ArgString() const; 55 55 }; 56 56 57 57 +extern "C" { ··· 59 59 +} 60 60 61 61 struct VSPlugin { 62 - private: 63 - @@ -683,6 +686,8 @@ public: 62 + friend struct VSPluginFunction; 63 + @@ -1140,6 +1143,8 @@ public: 64 64 65 - explicit VSCore(int threads); 65 + explicit VSCore(int flags); 66 66 void freeCore(); 67 67 + 68 68 + friend void VSLoadPluginsNixCallback(void *data, const char *path); ··· 70 70 71 71 #endif // VSCORE_H 72 72 -- 73 - 2.30.0 73 + 2.32.0 74 74
+2 -2
pkgs/development/libraries/vapoursynth/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "vapoursynth"; 13 - version = "R54"; 13 + version = "R55"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "vapoursynth"; 17 17 repo = "vapoursynth"; 18 18 rev = version; 19 - sha256 = "01jym2rq28j0g792yagk9dvm411gwmk6qgj9rgrg7ckpxmw27w2s"; 19 + sha256 = "sha256-91lPknNX3NM3NraIcPAR478paPoYvgjgCOIcdgaR5nE="; 20 20 }; 21 21 22 22 patches = [
+2 -2
pkgs/development/python-modules/asyncstdlib/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "asyncstdlib"; 11 - version = "3.9.2"; 11 + version = "3.10.1"; 12 12 disabled = pythonOlder "3.7"; 13 13 format = "flit"; 14 14 ··· 16 16 owner = "maxfischer2781"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "04z0x2n4a7503h6xf853p7if218magi98x397648wb21l4gh3zwv"; 19 + sha256 = "sha256-D8XaBny/m6dXMz6k/FhVX/5t8guNdJsfiX4cVQV4VIY="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+9
pkgs/development/python-modules/panflute/default.nix
··· 4 4 , pyyaml 5 5 , buildPythonPackage 6 6 , isPy3k 7 + , fetchpatch 7 8 }: 8 9 9 10 buildPythonPackage rec{ ··· 16 17 inherit pname version; 17 18 sha256 = "8a3d5dd2a10c3aa6fa8167713fedb47400f0e8ae6ea8346fd4b599842bb1882d"; 18 19 }; 20 + patches = [ 21 + # Upstream has relaxed the version constaints for the click dependency 22 + # but there hasn't been a release since then 23 + (fetchpatch { 24 + url = "https://github.com/sergiocorreia/panflute/commit/dee6c716a73072a968d67f8638a61de44025d8de.patch"; 25 + sha256 = "sha256-Kj/NTcXsSkevpfr8OwoIQi0p6ChXDM6YgYDPNHJtJZo="; 26 + }) 27 + ]; 19 28 20 29 propagatedBuildInputs = [ click pyyaml ]; 21 30
+44 -8
pkgs/development/tools/misc/saleae-logic-2/default.nix
··· 1 - { lib, fetchurl, appimageTools }: 1 + { lib, fetchurl, appimageTools, gtk3 }: 2 2 let 3 3 name = "saleae-logic-2"; 4 - version = "2.3.33"; 4 + version = "2.3.37"; 5 5 src = fetchurl { 6 6 url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage"; 7 - sha256 = "09vypl03gj58byk963flskzkhl4qrd9qw1kh0sywbqnzbzvj5cgm"; 7 + sha256 = "0jclzd4s1r6h2p1r0vhmzz3jnwpp7d41g70lcamrsxidxrmm8d45"; 8 8 }; 9 9 in 10 10 appimageTools.wrapType2 { 11 11 inherit name src; 12 12 13 13 extraInstallCommands = 14 - let appimageContents = appimageTools.extractType2 { inherit name src; }; in 15 - '' 16 - mkdir -p $out/etc/udev/rules.d 17 - cp ${appimageContents}/resources/linux/99-SaleaeLogic.rules $out/etc/udev/rules.d/ 18 - ''; 14 + let 15 + appimageContents = appimageTools.extractType2 { inherit name src; }; 16 + in 17 + '' 18 + mkdir -p $out/etc/udev/rules.d 19 + cp ${appimageContents}/resources/linux/99-SaleaeLogic.rules $out/etc/udev/rules.d/ 20 + ''; 21 + 22 + profile = '' 23 + export XDG_DATA_DIRS="${gtk3}/share/gsettings-schemas/${gtk3.name}''${XDG_DATA_DIRS:+:"''$XDG_DATA_DIRS"}" 24 + ''; 25 + 26 + extraPkgs = pkgs: with pkgs; [ 27 + wget 28 + unzip 29 + glib 30 + xorg.libX11 31 + xorg.libxcb 32 + xorg.libXcomposite 33 + xorg.libXcursor 34 + xorg.libXdamage 35 + xorg.libXext 36 + xorg.libXfixes 37 + xorg.libXi 38 + xorg.libXrender 39 + xorg.libXtst 40 + nss 41 + nspr 42 + dbus 43 + gdk-pixbuf 44 + gtk3 45 + pango 46 + atk 47 + cairo 48 + expat 49 + xorg.libXrandr 50 + xorg.libXScrnSaver 51 + alsa-lib 52 + at-spi2-core 53 + cups 54 + ]; 19 55 20 56 meta = with lib; { 21 57 homepage = "https://www.saleae.com/";
+3 -2
pkgs/development/tools/rust/cargo-cross/default.nix
··· 13 13 owner = "rust-embedded"; 14 14 repo = "cross"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256:1py5w4kf612x4qxi190ilsrx0zzwdzk9i47ppvqblska1s47qa2w"; 16 + sha256 = "1py5w4kf612x4qxi190ilsrx0zzwdzk9i47ppvqblska1s47qa2w"; 17 17 }; 18 18 19 19 cargoSha256 = "sha256-zk6cbN4iSHnyoeWupufVf2yQK6aq3S99uk9lqpjCw4c="; ··· 21 21 cargoPatches = [ 22 22 (fetchpatch { 23 23 url = "https://github.com/rust-embedded/cross/commit/e86ad2e5a55218395df7eaaf91900e22b809083c.patch"; 24 - sha256 = "sha256:1zrcj5fm3irmlrfkgb65kp2pjkry0rg5nn9pwsk9p0i6dpapjc7k"; 24 + sha256 = "1zrcj5fm3irmlrfkgb65kp2pjkry0rg5nn9pwsk9p0i6dpapjc7k"; 25 25 }) 26 26 ]; 27 27 ··· 36 36 homepage = "https://github.com/rust-embedded/cross"; 37 37 license = with licenses; [ asl20 /* or */ mit ]; 38 38 maintainers = with maintainers; [ otavio ]; 39 + mainProgram = "cross"; 39 40 }; 40 41 }
+31
pkgs/development/tools/rust/cargo-deadlinks/default.nix
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "cargo-deadlinks"; 5 + version = "0.8.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "deadlinks"; 9 + repo = pname; 10 + rev = "${version}"; 11 + sha256 = "1zd5zgq3346xijllr0qdvvmsilpawisrqgdmsqir8v3bk55ybj4g"; 12 + }; 13 + 14 + cargoSha256 = "1ar3iwpy9mng4j09z4g3ynxra2qwc8454dnc0wjal4h16fk8gxwv"; 15 + 16 + checkFlags = [ 17 + # uses internet 18 + "--skip non_existent_http_link --skip working_http_check" 19 + # expects top-level directory to be named "cargo-deadlinks" 20 + "--skip simple_project::it_checks_okay_project_correctly" 21 + ]; 22 + 23 + buildInputs = lib.optional stdenv.isDarwin Security; 24 + 25 + meta = with lib; { 26 + description = "Cargo subcommand to check rust documentation for broken links"; 27 + homepage = "https://github.com/deadlinks/cargo-deadlinks"; 28 + license = with licenses; [ asl20 /* or */ mit ]; 29 + maintainers = with maintainers; [ newam ]; 30 + }; 31 + }
+188 -169
pkgs/development/tools/rust/svd2rust/cargo-lock.patch
··· 2 2 new file mode 100644 3 3 --- /dev/null 4 4 +++ b/Cargo.lock 5 - @@ -0,0 +1,469 @@ 5 + @@ -0,0 +1,488 @@ 6 6 +# This file is automatically @generated by Cargo. 7 7 +# It is not intended for manual editing. 8 + +version = 3 9 + + 8 10 +[[package]] 9 11 +name = "aho-corasick" 10 - +version = "0.7.15" 12 + +version = "0.7.18" 11 13 +source = "registry+https://github.com/rust-lang/crates.io-index" 14 + +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 12 15 +dependencies = [ 13 - + "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", 16 + + "memchr", 14 17 +] 15 18 + 16 19 +[[package]] 17 20 +name = "ansi_term" 18 21 +version = "0.11.0" 19 22 +source = "registry+https://github.com/rust-lang/crates.io-index" 23 + +checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 20 24 +dependencies = [ 21 - + "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", 25 + + "winapi", 22 26 +] 23 27 + 24 28 +[[package]] 25 29 +name = "anyhow" 26 - +version = "1.0.40" 30 + +version = "1.0.44" 27 31 +source = "registry+https://github.com/rust-lang/crates.io-index" 32 + +checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1" 28 33 + 29 34 +[[package]] 30 35 +name = "atty" 31 36 +version = "0.2.14" 32 37 +source = "registry+https://github.com/rust-lang/crates.io-index" 38 + +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 33 39 +dependencies = [ 34 - + "hermit-abi 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", 35 - + "libc 0.2.94 (registry+https://github.com/rust-lang/crates.io-index)", 36 - + "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", 40 + + "hermit-abi", 41 + + "libc", 42 + + "winapi", 37 43 +] 38 44 + 39 45 +[[package]] 40 46 +name = "autocfg" 41 47 +version = "1.0.1" 42 48 +source = "registry+https://github.com/rust-lang/crates.io-index" 49 + +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 43 50 + 44 51 +[[package]] 45 52 +name = "bitflags" 46 - +version = "1.2.1" 53 + +version = "1.3.2" 47 54 +source = "registry+https://github.com/rust-lang/crates.io-index" 55 + +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 48 56 + 49 57 +[[package]] 50 58 +name = "cast" 51 - +version = "0.2.5" 59 + +version = "0.2.7" 52 60 +source = "registry+https://github.com/rust-lang/crates.io-index" 61 + +checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a" 53 62 +dependencies = [ 54 - + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 63 + + "rustc_version", 55 64 +] 56 65 + 57 66 +[[package]] 58 67 +name = "cfg-if" 59 68 +version = "1.0.0" 60 69 +source = "registry+https://github.com/rust-lang/crates.io-index" 70 + +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 61 71 + 62 72 +[[package]] 63 73 +name = "clap" 64 74 +version = "2.33.3" 65 75 +source = "registry+https://github.com/rust-lang/crates.io-index" 76 + +checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" 66 77 +dependencies = [ 67 - + "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", 68 - + "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", 69 - + "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 70 - + "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 71 - + "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", 72 - + "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 73 - + "vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", 78 + + "ansi_term", 79 + + "atty", 80 + + "bitflags", 81 + + "strsim", 82 + + "textwrap", 83 + + "unicode-width", 84 + + "vec_map", 85 + +] 86 + + 87 + +[[package]] 88 + +name = "clap_conf" 89 + +version = "0.1.5" 90 + +source = "registry+https://github.com/rust-lang/crates.io-index" 91 + +checksum = "56039deda04adbf9af4e5595c199572dc276f4fe60b03a4c84c0186d4de649d8" 92 + +dependencies = [ 93 + + "anyhow", 94 + + "clap", 95 + + "serde", 96 + + "thiserror", 97 + + "toml", 74 98 +] 75 99 + 76 100 +[[package]] 77 101 +name = "crossbeam-channel" 78 102 +version = "0.5.1" 79 103 +source = "registry+https://github.com/rust-lang/crates.io-index" 104 + +checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" 80 105 +dependencies = [ 81 - + "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 82 - + "crossbeam-utils 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", 106 + + "cfg-if", 107 + + "crossbeam-utils", 83 108 +] 84 109 + 85 110 +[[package]] 86 111 +name = "crossbeam-deque" 87 - +version = "0.8.0" 112 + +version = "0.8.1" 88 113 +source = "registry+https://github.com/rust-lang/crates.io-index" 114 + +checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" 89 115 +dependencies = [ 90 - + "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 91 - + "crossbeam-epoch 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", 92 - + "crossbeam-utils 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", 116 + + "cfg-if", 117 + + "crossbeam-epoch", 118 + + "crossbeam-utils", 93 119 +] 94 120 + 95 121 +[[package]] 96 122 +name = "crossbeam-epoch" 97 - +version = "0.9.3" 123 + +version = "0.9.5" 98 124 +source = "registry+https://github.com/rust-lang/crates.io-index" 125 + +checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" 99 126 +dependencies = [ 100 - + "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 101 - + "crossbeam-utils 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", 102 - + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 103 - + "memoffset 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 104 - + "scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 127 + + "cfg-if", 128 + + "crossbeam-utils", 129 + + "lazy_static", 130 + + "memoffset", 131 + + "scopeguard", 105 132 +] 106 133 + 107 134 +[[package]] 108 135 +name = "crossbeam-utils" 109 - +version = "0.8.3" 136 + +version = "0.8.5" 110 137 +source = "registry+https://github.com/rust-lang/crates.io-index" 138 + +checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" 111 139 +dependencies = [ 112 - + "autocfg 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 113 - + "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 114 - + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 140 + + "cfg-if", 141 + + "lazy_static", 115 142 +] 116 143 + 117 144 +[[package]] 118 145 +name = "either" 119 146 +version = "1.6.1" 120 147 +source = "registry+https://github.com/rust-lang/crates.io-index" 148 + +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 121 149 + 122 150 +[[package]] 123 151 +name = "env_logger" 124 152 +version = "0.7.1" 125 153 +source = "registry+https://github.com/rust-lang/crates.io-index" 154 + +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" 126 155 +dependencies = [ 127 - + "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", 128 - + "humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 129 - + "log 0.4.14 (registry+https://github.com/rust-lang/crates.io-index)", 130 - + "regex 1.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 131 - + "termcolor 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 156 + + "atty", 157 + + "humantime", 158 + + "log", 159 + + "regex", 160 + + "termcolor", 132 161 +] 133 162 + 134 163 +[[package]] 135 164 +name = "hermit-abi" 136 - +version = "0.1.18" 165 + +version = "0.1.19" 137 166 +source = "registry+https://github.com/rust-lang/crates.io-index" 167 + +checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 138 168 +dependencies = [ 139 - + "libc 0.2.94 (registry+https://github.com/rust-lang/crates.io-index)", 169 + + "libc", 140 170 +] 141 171 + 142 172 +[[package]] 143 173 +name = "humantime" 144 174 +version = "1.3.0" 145 175 +source = "registry+https://github.com/rust-lang/crates.io-index" 176 + +checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" 146 177 +dependencies = [ 147 - + "quick-error 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 178 + + "quick-error", 148 179 +] 149 180 + 150 181 +[[package]] 151 182 +name = "inflections" 152 183 +version = "1.1.1" 153 184 +source = "registry+https://github.com/rust-lang/crates.io-index" 185 + +checksum = "a257582fdcde896fd96463bf2d40eefea0580021c0712a0e2b028b60b47a837a" 154 186 + 155 187 +[[package]] 156 188 +name = "lazy_static" 157 189 +version = "1.4.0" 158 190 +source = "registry+https://github.com/rust-lang/crates.io-index" 191 + +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 159 192 + 160 193 +[[package]] 161 194 +name = "libc" 162 - +version = "0.2.94" 195 + +version = "0.2.102" 163 196 +source = "registry+https://github.com/rust-lang/crates.io-index" 197 + +checksum = "a2a5ac8f984bfcf3a823267e5fde638acc3325f6496633a5da6bb6eb2171e103" 164 198 + 165 199 +[[package]] 166 200 +name = "log" 167 201 +version = "0.4.14" 168 202 +source = "registry+https://github.com/rust-lang/crates.io-index" 203 + +checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 169 204 +dependencies = [ 170 - + "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 205 + + "cfg-if", 171 206 +] 172 207 + 173 208 +[[package]] 174 209 +name = "memchr" 175 - +version = "2.3.4" 210 + +version = "2.4.1" 176 211 +source = "registry+https://github.com/rust-lang/crates.io-index" 212 + +checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" 177 213 + 178 214 +[[package]] 179 215 +name = "memoffset" 180 - +version = "0.6.3" 216 + +version = "0.6.4" 181 217 +source = "registry+https://github.com/rust-lang/crates.io-index" 218 + +checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" 182 219 +dependencies = [ 183 - + "autocfg 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 220 + + "autocfg", 184 221 +] 185 222 + 186 223 +[[package]] 187 224 +name = "num_cpus" 188 225 +version = "1.13.0" 189 226 +source = "registry+https://github.com/rust-lang/crates.io-index" 227 + +checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 190 228 +dependencies = [ 191 - + "hermit-abi 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", 192 - + "libc 0.2.94 (registry+https://github.com/rust-lang/crates.io-index)", 229 + + "hermit-abi", 230 + + "libc", 193 231 +] 194 232 + 195 233 +[[package]] 196 234 +name = "once_cell" 197 - +version = "1.7.2" 235 + +version = "1.8.0" 198 236 +source = "registry+https://github.com/rust-lang/crates.io-index" 237 + +checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" 199 238 + 200 239 +[[package]] 201 240 +name = "proc-macro2" 202 - +version = "1.0.26" 241 + +version = "1.0.29" 203 242 +source = "registry+https://github.com/rust-lang/crates.io-index" 243 + +checksum = "b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d" 204 244 +dependencies = [ 205 - + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 245 + + "unicode-xid", 206 246 +] 207 247 + 208 248 +[[package]] 209 249 +name = "quick-error" 210 250 +version = "1.2.3" 211 251 +source = "registry+https://github.com/rust-lang/crates.io-index" 252 + +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" 212 253 + 213 254 +[[package]] 214 255 +name = "quote" 215 256 +version = "1.0.9" 216 257 +source = "registry+https://github.com/rust-lang/crates.io-index" 258 + +checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" 217 259 +dependencies = [ 218 - + "proc-macro2 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", 260 + + "proc-macro2", 219 261 +] 220 262 + 221 263 +[[package]] 222 264 +name = "rayon" 223 - +version = "1.5.0" 265 + +version = "1.5.1" 224 266 +source = "registry+https://github.com/rust-lang/crates.io-index" 267 + +checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" 225 268 +dependencies = [ 226 - + "autocfg 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 227 - + "crossbeam-deque 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 228 - + "either 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)", 229 - + "rayon-core 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 269 + + "autocfg", 270 + + "crossbeam-deque", 271 + + "either", 272 + + "rayon-core", 230 273 +] 231 274 + 232 275 +[[package]] 233 276 +name = "rayon-core" 234 - +version = "1.9.0" 277 + +version = "1.9.1" 235 278 +source = "registry+https://github.com/rust-lang/crates.io-index" 279 + +checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" 236 280 +dependencies = [ 237 - + "crossbeam-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 238 - + "crossbeam-deque 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 239 - + "crossbeam-utils 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", 240 - + "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 241 - + "num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)", 281 + + "crossbeam-channel", 282 + + "crossbeam-deque", 283 + + "crossbeam-utils", 284 + + "lazy_static", 285 + + "num_cpus", 242 286 +] 243 287 + 244 288 +[[package]] 245 289 +name = "regex" 246 - +version = "1.4.6" 290 + +version = "1.5.4" 247 291 +source = "registry+https://github.com/rust-lang/crates.io-index" 292 + +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" 248 293 +dependencies = [ 249 - + "aho-corasick 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", 250 - + "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)", 251 - + "regex-syntax 0.6.23 (registry+https://github.com/rust-lang/crates.io-index)", 294 + + "aho-corasick", 295 + + "memchr", 296 + + "regex-syntax", 252 297 +] 253 298 + 254 299 +[[package]] 255 300 +name = "regex-syntax" 256 - +version = "0.6.23" 301 + +version = "0.6.25" 257 302 +source = "registry+https://github.com/rust-lang/crates.io-index" 303 + +checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" 258 304 + 259 305 +[[package]] 260 306 +name = "rustc_version" 261 - +version = "0.2.3" 307 + +version = "0.4.0" 262 308 +source = "registry+https://github.com/rust-lang/crates.io-index" 309 + +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 263 310 +dependencies = [ 264 - + "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 311 + + "semver", 265 312 +] 266 313 + 267 314 +[[package]] 268 315 +name = "scopeguard" 269 316 +version = "1.1.0" 270 317 +source = "registry+https://github.com/rust-lang/crates.io-index" 318 + +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 271 319 + 272 320 +[[package]] 273 321 +name = "semver" 274 - +version = "0.9.0" 322 + +version = "1.0.4" 275 323 +source = "registry+https://github.com/rust-lang/crates.io-index" 276 - +dependencies = [ 277 - + "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 278 - +] 324 + +checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012" 279 325 + 280 326 +[[package]] 281 - +name = "semver-parser" 282 - +version = "0.7.0" 327 + +name = "serde" 328 + +version = "1.0.130" 283 329 +source = "registry+https://github.com/rust-lang/crates.io-index" 330 + +checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" 284 331 + 285 332 +[[package]] 286 333 +name = "strsim" 287 334 +version = "0.8.0" 288 335 +source = "registry+https://github.com/rust-lang/crates.io-index" 336 + +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 289 337 + 290 338 +[[package]] 291 339 +name = "svd-parser" 292 - +version = "0.10.1" 340 + +version = "0.10.2" 293 341 +source = "registry+https://github.com/rust-lang/crates.io-index" 342 + +checksum = "697e7645ad9f5311fe3d872d094b135627b1616aea9e1573dddd28ca522579b9" 294 343 +dependencies = [ 295 - + "anyhow 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)", 296 - + "once_cell 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", 297 - + "rayon 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 298 - + "regex 1.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 299 - + "thiserror 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", 300 - + "xmltree 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 344 + + "anyhow", 345 + + "once_cell", 346 + + "rayon", 347 + + "regex", 348 + + "thiserror", 349 + + "xmltree", 301 350 +] 302 351 + 303 352 +[[package]] 304 353 +name = "svd2rust" 305 - +version = "0.18.0" 354 + +version = "0.19.0" 306 355 +dependencies = [ 307 - + "anyhow 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)", 308 - + "cast 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", 309 - + "clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)", 310 - + "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", 311 - + "inflections 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 312 - + "log 0.4.14 (registry+https://github.com/rust-lang/crates.io-index)", 313 - + "proc-macro2 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", 314 - + "quote 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", 315 - + "svd-parser 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", 316 - + "syn 1.0.70 (registry+https://github.com/rust-lang/crates.io-index)", 317 - + "thiserror 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", 356 + + "anyhow", 357 + + "cast", 358 + + "clap", 359 + + "clap_conf", 360 + + "env_logger", 361 + + "inflections", 362 + + "log", 363 + + "proc-macro2", 364 + + "quote", 365 + + "svd-parser", 366 + + "syn", 367 + + "thiserror", 318 368 +] 319 369 + 320 370 +[[package]] 321 371 +name = "syn" 322 - +version = "1.0.70" 372 + +version = "1.0.76" 323 373 +source = "registry+https://github.com/rust-lang/crates.io-index" 374 + +checksum = "c6f107db402c2c2055242dbf4d2af0e69197202e9faacbef9571bbe47f5a1b84" 324 375 +dependencies = [ 325 - + "proc-macro2 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", 326 - + "quote 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", 327 - + "unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 376 + + "proc-macro2", 377 + + "quote", 378 + + "unicode-xid", 328 379 +] 329 380 + 330 381 +[[package]] 331 382 +name = "termcolor" 332 383 +version = "1.1.2" 333 384 +source = "registry+https://github.com/rust-lang/crates.io-index" 385 + +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" 334 386 +dependencies = [ 335 - + "winapi-util 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 387 + + "winapi-util", 336 388 +] 337 389 + 338 390 +[[package]] 339 391 +name = "textwrap" 340 392 +version = "0.11.0" 341 393 +source = "registry+https://github.com/rust-lang/crates.io-index" 394 + +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 342 395 +dependencies = [ 343 - + "unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 396 + + "unicode-width", 344 397 +] 345 398 + 346 399 +[[package]] 347 400 +name = "thiserror" 348 - +version = "1.0.24" 401 + +version = "1.0.29" 349 402 +source = "registry+https://github.com/rust-lang/crates.io-index" 403 + +checksum = "602eca064b2d83369e2b2f34b09c70b605402801927c65c11071ac911d299b88" 350 404 +dependencies = [ 351 - + "thiserror-impl 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", 405 + + "thiserror-impl", 352 406 +] 353 407 + 354 408 +[[package]] 355 409 +name = "thiserror-impl" 356 - +version = "1.0.24" 410 + +version = "1.0.29" 357 411 +source = "registry+https://github.com/rust-lang/crates.io-index" 412 + +checksum = "bad553cc2c78e8de258400763a647e80e6d1b31ee237275d756f6836d204494c" 358 413 +dependencies = [ 359 - + "proc-macro2 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", 360 - + "quote 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", 361 - + "syn 1.0.70 (registry+https://github.com/rust-lang/crates.io-index)", 414 + + "proc-macro2", 415 + + "quote", 416 + + "syn", 417 + +] 418 + + 419 + +[[package]] 420 + +name = "toml" 421 + +version = "0.5.8" 422 + +source = "registry+https://github.com/rust-lang/crates.io-index" 423 + +checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" 424 + +dependencies = [ 425 + + "serde", 362 426 +] 363 427 + 364 428 +[[package]] 365 429 +name = "unicode-width" 366 - +version = "0.1.8" 430 + +version = "0.1.9" 367 431 +source = "registry+https://github.com/rust-lang/crates.io-index" 432 + +checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" 368 433 + 369 434 +[[package]] 370 435 +name = "unicode-xid" 371 - +version = "0.2.1" 436 + +version = "0.2.2" 372 437 +source = "registry+https://github.com/rust-lang/crates.io-index" 438 + +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" 373 439 + 374 440 +[[package]] 375 441 +name = "vec_map" 376 442 +version = "0.8.2" 377 443 +source = "registry+https://github.com/rust-lang/crates.io-index" 444 + +checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 378 445 + 379 446 +[[package]] 380 447 +name = "winapi" 381 448 +version = "0.3.9" 382 449 +source = "registry+https://github.com/rust-lang/crates.io-index" 450 + +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 383 451 +dependencies = [ 384 - + "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 385 - + "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 452 + + "winapi-i686-pc-windows-gnu", 453 + + "winapi-x86_64-pc-windows-gnu", 386 454 +] 387 455 + 388 456 +[[package]] 389 457 +name = "winapi-i686-pc-windows-gnu" 390 458 +version = "0.4.0" 391 459 +source = "registry+https://github.com/rust-lang/crates.io-index" 460 + +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 392 461 + 393 462 +[[package]] 394 463 +name = "winapi-util" 395 464 +version = "0.1.5" 396 465 +source = "registry+https://github.com/rust-lang/crates.io-index" 466 + +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 397 467 +dependencies = [ 398 - + "winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", 468 + + "winapi", 399 469 +] 400 470 + 401 471 +[[package]] 402 472 +name = "winapi-x86_64-pc-windows-gnu" 403 473 +version = "0.4.0" 404 474 +source = "registry+https://github.com/rust-lang/crates.io-index" 475 + +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 405 476 + 406 477 +[[package]] 407 478 +name = "xml-rs" 408 479 +version = "0.7.0" 409 480 +source = "registry+https://github.com/rust-lang/crates.io-index" 481 + +checksum = "3c1cb601d29fe2c2ac60a2b2e5e293994d87a1f6fa9687a31a15270f909be9c2" 410 482 +dependencies = [ 411 - + "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 483 + + "bitflags", 412 484 +] 413 485 + 414 486 +[[package]] 415 487 +name = "xmltree" 416 488 +version = "0.8.0" 417 489 +source = "registry+https://github.com/rust-lang/crates.io-index" 490 + +checksum = "ff8eaee9d17062850f1e6163b509947969242990ee59a35801af437abe041e70" 418 491 +dependencies = [ 419 - + "xml-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 492 + + "xml-rs", 420 493 +] 421 - + 422 - +[metadata] 423 - +"checksum aho-corasick 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5" 424 - +"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 425 - +"checksum anyhow 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)" = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b" 426 - +"checksum atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 427 - +"checksum autocfg 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 428 - +"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 429 - +"checksum cast 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "cc38c385bfd7e444464011bb24820f40dd1c76bcdfa1b78611cb7c2e5cafab75" 430 - +"checksum cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 431 - +"checksum clap 2.33.3 (registry+https://github.com/rust-lang/crates.io-index)" = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" 432 - +"checksum crossbeam-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" 433 - +"checksum crossbeam-deque 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" 434 - +"checksum crossbeam-epoch 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2584f639eb95fea8c798496315b297cf81b9b58b6d30ab066a75455333cf4b12" 435 - +"checksum crossbeam-utils 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e7e9d99fa91428effe99c5c6d4634cdeba32b8cf784fc428a2a687f61a952c49" 436 - +"checksum either 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 437 - +"checksum env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" 438 - +"checksum hermit-abi 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c" 439 - +"checksum humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" 440 - +"checksum inflections 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a257582fdcde896fd96463bf2d40eefea0580021c0712a0e2b028b60b47a837a" 441 - +"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 442 - +"checksum libc 0.2.94 (registry+https://github.com/rust-lang/crates.io-index)" = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e" 443 - +"checksum log 0.4.14 (registry+https://github.com/rust-lang/crates.io-index)" = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 444 - +"checksum memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" 445 - +"checksum memoffset 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f83fb6581e8ed1f85fd45c116db8405483899489e38406156c25eb743554361d" 446 - +"checksum num_cpus 1.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 447 - +"checksum once_cell 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" 448 - +"checksum proc-macro2 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec" 449 - +"checksum quick-error 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" 450 - +"checksum quote 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" 451 - +"checksum rayon 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674" 452 - +"checksum rayon-core 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a" 453 - +"checksum regex 1.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2a26af418b574bd56588335b3a3659a65725d4e636eb1016c2f9e3b38c7cc759" 454 - +"checksum regex-syntax 0.6.23 (registry+https://github.com/rust-lang/crates.io-index)" = "24d5f089152e60f62d28b835fbff2cd2e8dc0baf1ac13343bef92ab7eed84548" 455 - +"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" 456 - +"checksum scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 457 - +"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" 458 - +"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" 459 - +"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 460 - +"checksum svd-parser 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6b787831d8f6a1549ccd1b0d62772d0526425a7da687f0f98591ab18e53bfe98" 461 - +"checksum syn 1.0.70 (registry+https://github.com/rust-lang/crates.io-index)" = "b9505f307c872bab8eb46f77ae357c8eba1fdacead58ee5a850116b1d7f82883" 462 - +"checksum termcolor 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" 463 - +"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 464 - +"checksum thiserror 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)" = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" 465 - +"checksum thiserror-impl 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)" = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" 466 - +"checksum unicode-width 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" 467 - +"checksum unicode-xid 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" 468 - +"checksum vec_map 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 469 - +"checksum winapi 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 470 - +"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 471 - +"checksum winapi-util 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 472 - +"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 473 - +"checksum xml-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3c1cb601d29fe2c2ac60a2b2e5e293994d87a1f6fa9687a31a15270f909be9c2" 474 - +"checksum xmltree 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff8eaee9d17062850f1e6163b509947969242990ee59a35801af437abe041e70"
+3 -3
pkgs/development/tools/rust/svd2rust/default.nix
··· 4 4 5 5 buildRustPackage rec { 6 6 pname = "svd2rust"; 7 - version = "0.18.0"; 7 + version = "0.19.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "rust-embedded"; 11 11 repo = "svd2rust"; 12 12 rev = "v${version}"; 13 - sha256 = "1p0zq3q4g9lr0ghavp7v1dwsqq19lkljkm1i2hsb1sk3pxa1f69n"; 13 + sha256 = "04mm0l7cv2q5yjxrkpr7p0kxd4nmi0d7m4l436q8p492nvgb75zx"; 14 14 }; 15 15 cargoPatches = [ ./cargo-lock.patch ]; 16 16 17 - cargoSha256 = "0c0f86x17fzav5q76z3ha3g00rbgyz2lm5a5v28ggy0jmg9xgsv6"; 17 + cargoSha256 = "1v1qx0r3k86jipyaaggm25pinsqicmzvnzrxd0lr5xk77s1kvgid"; 18 18 19 19 buildInputs = lib.optional stdenv.isDarwin libiconv; 20 20
+1 -1
pkgs/os-specific/linux/nvidia-x11/generic.nix
··· 111 111 description = "X.org driver and kernel module for NVIDIA graphics cards"; 112 112 license = licenses.unfreeRedistributable; 113 113 platforms = [ "x86_64-linux" ] ++ optionals (!i686bundled) [ "i686-linux" ]; 114 - maintainers = with maintainers; [ baracoder ]; 114 + maintainers = with maintainers; [ ]; 115 115 priority = 4; # resolves collision with xorg-server's "lib/xorg/modules/extensions/libglx.so" 116 116 inherit broken; 117 117 };
+3 -3
pkgs/tools/networking/minio-client/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "minio-client"; 5 - version = "2021-07-27T06-46-19Z"; 5 + version = "2021-09-02T09-21-27Z"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "minio"; 9 9 repo = "mc"; 10 10 rev = "RELEASE.${version}"; 11 - sha256 = "1h0r8c22v94w2hhbc0hv9rc9jyr5ar7gpa76lhr9l8ra0k3qra43"; 11 + sha256 = "sha256-6G0MyeDYc8Y6eib2T+2VB5mDjyO13FdBsufy57osIEk="; 12 12 }; 13 13 14 - vendorSha256 = "1s1bq166dlhqll0r5lcdjpd2446cwi1slbi895582jgs38zpkzvw"; 14 + vendorSha256 = "sha256-J1khnNTiHkTPRjNlU2yQu8b+bwKP/KBF1KxTIvGLs+U="; 15 15 16 16 subPackages = [ "." ]; 17 17
+19 -7
pkgs/tools/networking/wavemon/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, ncurses, libnl, pkg-config }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , libnl 5 + , ncurses 6 + , pkg-config 7 + }: 2 8 3 9 stdenv.mkDerivation rec { 4 10 pname = "wavemon"; 5 - version = "0.9.3"; 6 - 7 - nativeBuildInputs = [ pkg-config ]; 8 - buildInputs = [ ncurses libnl ]; 11 + version = "0.9.4"; 9 12 10 13 src = fetchFromGitHub { 11 14 owner = "uoaerg"; 12 15 repo = "wavemon"; 13 16 rev = "v${version}"; 14 - sha256 = "0m9n5asjxs1ir5rqprigqcrm976mgjvh4yql1jhfnbszwbf95193"; 17 + sha256 = "0s3yz15vzx90fxyb8bgryksn0cr2gpz9inbcx4qjrgs7zfbm4pgh"; 15 18 }; 16 19 20 + nativeBuildInputs = [ 21 + pkg-config 22 + ]; 23 + 24 + buildInputs = [ 25 + libnl 26 + ncurses 27 + ]; 28 + 17 29 meta = with lib; { 18 30 description = "Ncurses-based monitoring application for wireless network devices"; 19 31 homepage = "https://github.com/uoaerg/wavemon"; 20 32 license = licenses.gpl3Plus; 21 33 maintainers = with maintainers; [ raskin fpletz ]; 22 - platforms = lib.platforms.linux; 34 + platforms = platforms.linux; 23 35 }; 24 36 }
+26
pkgs/tools/security/amber/default.nix
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + # Renaming it to amber-secret because another package named amber exists 5 + pname = "amber-secret"; 6 + version = "0.1.1"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "fpco"; 10 + repo = "amber"; 11 + rev = "v${version}"; 12 + sha256 = "1l5c7vdi885z56nqqbm4sw9hvqk3rfzm0mgcwk5cbwjlrz7yjq4m"; 13 + }; 14 + 15 + cargoSha256 = "0dmhlyrw6yd7p80v7anz5nrd28bcrhq27vzy605dinddvncjn13q"; 16 + 17 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 18 + 19 + meta = with lib; { 20 + description = "Manage secret values in-repo via public key cryptography"; 21 + homepage = "https://github.com/fpco/amber"; 22 + license = licenses.mit; 23 + maintainers = with maintainers; [ psibi ]; 24 + mainProgram = "amber"; 25 + }; 26 + }
+2 -2
pkgs/tools/security/libtpms/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "libtpms"; 10 - version = "0.8.4"; 10 + version = "0.8.6"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "stefanberger"; 14 14 repo = "libtpms"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-9e7O9SE7e8D6ULXhICabNCrL+QTH55jQm0AI7DVteE0="; 16 + sha256 = "sha256-XvugcpoFQhdCBBg7hOgsUzSn4ad7RUuAEkvyiPLg4Lw="; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+3 -3
pkgs/tools/security/nuclei/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "nuclei"; 8 - version = "2.5.1"; 8 + version = "2.5.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-SdN8M3Mr3bywpBUwIVOIctYdkueq/0no4wlI7Ft8Uws="; 14 + sha256 = "1rn4qys3af41f40zr4gi23zy9gawbbjddssm95v5a4zyd5xjfr6b"; 15 15 }; 16 16 17 - vendorSha256 = "sha256-Tz96AXGMyHNHG/3JrmZvisOEty/tDhoK1ZUngDSXOcc="; 17 + vendorSha256 = "04q9japkv41127kl0x2268n6j13y22qg1icd783cl40584ajk2am"; 18 18 19 19 modRoot = "./v2"; 20 20 subPackages = [
+7
pkgs/top-level/all-packages.nix
··· 1100 1100 inherit (darwin.apple_sdk.frameworks) Security; 1101 1101 }; 1102 1102 1103 + amber-secret = callPackage ../tools/security/amber { 1104 + inherit (darwin.apple_sdk.frameworks) Security; 1105 + }; 1106 + 1103 1107 inherit (callPackages ../development/tools/ammonite {}) 1104 1108 ammonite_2_12 1105 1109 ammonite_2_13; ··· 12358 12362 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 12359 12363 }; 12360 12364 cargo-criterion = callPackage ../development/tools/rust/cargo-criterion { }; 12365 + cargo-deadlinks = callPackage ../development/tools/rust/cargo-deadlinks { 12366 + inherit (darwin.apple_sdk.frameworks) Security; 12367 + }; 12361 12368 cargo-deb = callPackage ../tools/package-management/cargo-deb { 12362 12369 inherit (darwin.apple_sdk.frameworks) Security; 12363 12370 };