Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
23fbe4eb c4194054

+532 -412
+1 -1
lib/default.nix
··· 91 concatImapStringsSep makeSearchPath makeSearchPathOutput 92 makeLibraryPath makeBinPath optionalString 93 hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape 94 - escapeShellArg escapeShellArgs escapeRegex replaceChars lowerChars 95 upperChars toLower toUpper addContextFrom splitString 96 removePrefix removeSuffix versionOlder versionAtLeast 97 getName getVersion
··· 91 concatImapStringsSep makeSearchPath makeSearchPathOutput 92 makeLibraryPath makeBinPath optionalString 93 hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape 94 + escapeShellArg escapeShellArgs escapeRegex escapeXML replaceChars lowerChars 95 upperChars toLower toUpper addContextFrom splitString 96 removePrefix removeSuffix versionOlder versionAtLeast 97 getName getVersion
+13
lib/strings.nix
··· 362 if match "[a-zA-Z_][a-zA-Z0-9_'-]*" s != null 363 then s else escapeNixString s; 364 365 # Obsolete - use replaceStrings instead. 366 replaceChars = builtins.replaceStrings or ( 367 del: new: s:
··· 362 if match "[a-zA-Z_][a-zA-Z0-9_'-]*" s != null 363 then s else escapeNixString s; 364 365 + /* Escapes a string such that it is safe to include verbatim in an XML 366 + document. 367 + 368 + Type: string -> string 369 + 370 + Example: 371 + escapeXML ''"test" 'test' < & >'' 372 + => "\\[\\^a-z]\\*" 373 + */ 374 + escapeXML = builtins.replaceStrings 375 + ["\"" "'" "<" ">" "&"] 376 + ["&quot;" "&apos;" "&lt;" "&gt;" "&amp;"]; 377 + 378 # Obsolete - use replaceStrings instead. 379 replaceChars = builtins.replaceStrings or ( 380 del: new: s:
+5
lib/tests/misc.nix
··· 246 }; 247 }; 248 249 # LISTS 250 251 testFilter = {
··· 246 }; 247 }; 248 249 + testEscapeXML = { 250 + expr = escapeXML ''"test" 'test' < & >''; 251 + expected = "&quot;test&quot; &apos;test&apos; &lt; &amp; &gt;"; 252 + }; 253 + 254 # LISTS 255 256 testFilter = {
+2 -2
maintainers/maintainer-list.nix
··· 11508 githubId = 25173827; 11509 name = "Vanilla"; 11510 keys = [{ 11511 - longkeyid = "rsa4096/0x4DFA2BDD7305E739"; 11512 - fingerprint = "5C16 5178 7DE2 EE5A AF98 3EA3 4DFA 2BDD 7305 E739"; 11513 }]; 11514 }; 11515 vanschelven = {
··· 11508 githubId = 25173827; 11509 name = "Vanilla"; 11510 keys = [{ 11511 + longkeyid = "rsa4096/0x3750028ED04FA42E"; 11512 + fingerprint = "2649 340C C909 F821 D251 6714 3750 028E D04F A42E"; 11513 }]; 11514 }; 11515 vanschelven = {
+9 -9
pkgs/applications/audio/mopidy/youtube.nix
··· 2 3 python3Packages.buildPythonApplication rec { 4 pname = "mopidy-youtube"; 5 - version = "3.2"; 6 7 src = python3Packages.fetchPypi { 8 inherit version; 9 pname = "Mopidy-YouTube"; 10 - sha256 = "0wmalfqnskglssq3gj6kkrq6h6c9yab503y72afhkm7n9r5c57zz"; 11 }; 12 13 - patchPhase = "sed s/bs4/beautifulsoup4/ -i setup.cfg"; 14 15 - propagatedBuildInputs = [ 16 - mopidy 17 - python3Packages.beautifulsoup4 18 - python3Packages.cachetools 19 - python3Packages.youtube-dl 20 - ]; 21 22 doCheck = false; 23
··· 2 3 python3Packages.buildPythonApplication rec { 4 pname = "mopidy-youtube"; 5 + version = "3.4"; 6 7 src = python3Packages.fetchPypi { 8 inherit version; 9 pname = "Mopidy-YouTube"; 10 + sha256 = "sha256-996MNByMcKq1woDGK6jsmAHS9TOoBrwSGgPmcShvTRw="; 11 }; 12 13 + postPatch = "sed s/bs4/beautifulsoup4/ -i setup.cfg"; 14 15 + propagatedBuildInputs = with python3Packages; [ 16 + beautifulsoup4 17 + cachetools 18 + youtube-dl 19 + ytmusicapi 20 + ] ++ [ mopidy ]; 21 22 doCheck = false; 23
+2 -1
pkgs/applications/audio/mpdevil/default.nix
··· 1 { lib, fetchFromGitHub 2 , python3Packages 3 , gdk-pixbuf, glib, gobject-introspection, gtk3 4 , intltool 5 , wrapGAppsHook }: 6 ··· 20 ]; 21 22 buildInputs = [ 23 - gdk-pixbuf glib 24 ]; 25 26 propagatedBuildInputs = with python3Packages; [
··· 1 { lib, fetchFromGitHub 2 , python3Packages 3 , gdk-pixbuf, glib, gobject-introspection, gtk3 4 + , libnotify 5 , intltool 6 , wrapGAppsHook }: 7 ··· 21 ]; 22 23 buildInputs = [ 24 + gdk-pixbuf glib libnotify 25 ]; 26 27 propagatedBuildInputs = with python3Packages; [
+1 -1
pkgs/applications/audio/oxefmsynth/default.nix
··· 22 sha256 = "1rk71ls33a38wx8i22plsi7d89cqqxrfxknq5i4f9igsw1ipm4gn"; 23 }; 24 25 - NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ]; 26 27 buildFlags = [ "VSTSDK_PATH=${vst-sdk}/VST2_SDK" ]; 28
··· 22 sha256 = "1rk71ls33a38wx8i22plsi7d89cqqxrfxknq5i4f9igsw1ipm4gn"; 23 }; 24 25 + NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ]; 26 27 buildFlags = [ "VSTSDK_PATH=${vst-sdk}/VST2_SDK" ]; 28
-159
pkgs/applications/misc/lscolors/cargo.lock.patch
··· 1 - diff --git a/Cargo.lock b/Cargo.lock 2 - new file mode 100644 3 - index 0000000..3528c6c 4 - --- /dev/null 5 - +++ b/Cargo.lock 6 - @@ -0,0 +1,153 @@ 7 - +# This file is automatically @generated by Cargo. 8 - +# It is not intended for manual editing. 9 - +[[package]] 10 - +name = "ansi_term" 11 - +version = "0.12.1" 12 - +source = "registry+https://github.com/rust-lang/crates.io-index" 13 - +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 14 - +dependencies = [ 15 - + "winapi", 16 - +] 17 - + 18 - +[[package]] 19 - +name = "bitflags" 20 - +version = "1.2.1" 21 - +source = "registry+https://github.com/rust-lang/crates.io-index" 22 - +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 23 - + 24 - +[[package]] 25 - +name = "cfg-if" 26 - +version = "1.0.0" 27 - +source = "registry+https://github.com/rust-lang/crates.io-index" 28 - +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 29 - + 30 - +[[package]] 31 - +name = "getrandom" 32 - +version = "0.2.2" 33 - +source = "registry+https://github.com/rust-lang/crates.io-index" 34 - +checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8" 35 - +dependencies = [ 36 - + "cfg-if", 37 - + "libc", 38 - + "wasi", 39 - +] 40 - + 41 - +[[package]] 42 - +name = "libc" 43 - +version = "0.2.86" 44 - +source = "registry+https://github.com/rust-lang/crates.io-index" 45 - +checksum = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c" 46 - + 47 - +[[package]] 48 - +name = "lscolors" 49 - +version = "0.7.1" 50 - +dependencies = [ 51 - + "ansi_term", 52 - + "tempfile", 53 - +] 54 - + 55 - +[[package]] 56 - +name = "ppv-lite86" 57 - +version = "0.2.10" 58 - +source = "registry+https://github.com/rust-lang/crates.io-index" 59 - +checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" 60 - + 61 - +[[package]] 62 - +name = "rand" 63 - +version = "0.8.3" 64 - +source = "registry+https://github.com/rust-lang/crates.io-index" 65 - +checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e" 66 - +dependencies = [ 67 - + "libc", 68 - + "rand_chacha", 69 - + "rand_core", 70 - + "rand_hc", 71 - +] 72 - + 73 - +[[package]] 74 - +name = "rand_chacha" 75 - +version = "0.3.0" 76 - +source = "registry+https://github.com/rust-lang/crates.io-index" 77 - +checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" 78 - +dependencies = [ 79 - + "ppv-lite86", 80 - + "rand_core", 81 - +] 82 - + 83 - +[[package]] 84 - +name = "rand_core" 85 - +version = "0.6.2" 86 - +source = "registry+https://github.com/rust-lang/crates.io-index" 87 - +checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7" 88 - +dependencies = [ 89 - + "getrandom", 90 - +] 91 - + 92 - +[[package]] 93 - +name = "rand_hc" 94 - +version = "0.3.0" 95 - +source = "registry+https://github.com/rust-lang/crates.io-index" 96 - +checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" 97 - +dependencies = [ 98 - + "rand_core", 99 - +] 100 - + 101 - +[[package]] 102 - +name = "redox_syscall" 103 - +version = "0.2.5" 104 - +source = "registry+https://github.com/rust-lang/crates.io-index" 105 - +checksum = "94341e4e44e24f6b591b59e47a8a027df12e008d73fd5672dbea9cc22f4507d9" 106 - +dependencies = [ 107 - + "bitflags", 108 - +] 109 - + 110 - +[[package]] 111 - +name = "remove_dir_all" 112 - +version = "0.5.3" 113 - +source = "registry+https://github.com/rust-lang/crates.io-index" 114 - +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" 115 - +dependencies = [ 116 - + "winapi", 117 - +] 118 - + 119 - +[[package]] 120 - +name = "tempfile" 121 - +version = "3.2.0" 122 - +source = "registry+https://github.com/rust-lang/crates.io-index" 123 - +checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" 124 - +dependencies = [ 125 - + "cfg-if", 126 - + "libc", 127 - + "rand", 128 - + "redox_syscall", 129 - + "remove_dir_all", 130 - + "winapi", 131 - +] 132 - + 133 - +[[package]] 134 - +name = "wasi" 135 - +version = "0.10.2+wasi-snapshot-preview1" 136 - +source = "registry+https://github.com/rust-lang/crates.io-index" 137 - +checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" 138 - + 139 - +[[package]] 140 - +name = "winapi" 141 - +version = "0.3.9" 142 - +source = "registry+https://github.com/rust-lang/crates.io-index" 143 - +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 144 - +dependencies = [ 145 - + "winapi-i686-pc-windows-gnu", 146 - + "winapi-x86_64-pc-windows-gnu", 147 - +] 148 - + 149 - +[[package]] 150 - +name = "winapi-i686-pc-windows-gnu" 151 - +version = "0.4.0" 152 - +source = "registry+https://github.com/rust-lang/crates.io-index" 153 - +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 154 - + 155 - +[[package]] 156 - +name = "winapi-x86_64-pc-windows-gnu" 157 - +version = "0.4.0" 158 - +source = "registry+https://github.com/rust-lang/crates.io-index" 159 - +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
···
+6 -12
pkgs/applications/misc/lscolors/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "lscolors"; 5 - version = "0.7.1"; 6 7 - src = fetchFromGitHub { 8 - owner = "sharkdp"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "0av3v31fvanvn59bdm9d0v9zh5lzrq0f4vqhg6xlvabkgsa8jk04"; 12 }; 13 14 - cargoPatches = [ 15 - ./cargo.lock.patch 16 - ]; 17 - 18 - cargoSha256 = "0kfm1pq22dhiw138bf7jvf7amlkal90n1hc9fq44wr4chr9b2fmx"; 19 20 meta = with lib; { 21 description = "Rust library and tool to colorize paths using LS_COLORS";
··· 1 + { lib, rustPlatform, fetchCrate }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "lscolors"; 5 + version = "0.8.0"; 6 7 + src = fetchCrate { 8 + inherit version pname; 9 + sha256 = "sha256-dwtrs9NlhJ+km2/146HMnDirWRB5Ur5LTmWdKAK03v0="; 10 }; 11 12 + cargoSha256 = "sha256-vQnrLt+VSDPr61VMkYFtjSDnEt+NmWBZUd4qLzPzQBU="; 13 14 meta = with lib; { 15 description = "Rust library and tool to colorize paths using LS_COLORS";
+15 -24
pkgs/applications/misc/taskwarrior/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, libuuid, gnutls, python3, bash }: 2 3 stdenv.mkDerivation rec { 4 pname = "taskwarrior"; 5 - version = "2.5.3"; 6 7 - srcs = [ 8 - (fetchurl { 9 - url = "https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/${sourceRoot}.tar.gz"; 10 - sha256 = "0fwnxshhlha21hlgg5z1ad01w13zm1hlmncs274y5n8i15gdfhvj"; 11 - }) 12 - (fetchurl { 13 - url = "https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/tests-${version}.tar.gz"; 14 - sha256 = "165xmf9h6rb7l6l9nlyygj0mx9bi1zyd78z0lrl3nadhmgzggv0b"; 15 - }) 16 - ]; 17 18 - sourceRoot = "task-${version}"; 19 - 20 - postUnpack = '' 21 - mv test ${sourceRoot} 22 ''; 23 24 - nativeBuildInputs = [ cmake libuuid gnutls ]; 25 26 doCheck = true; 27 preCheck = '' 28 - find test -type f -exec sed -i \ 29 - -e "s|/usr/bin/env python3|${python3.interpreter}|" \ 30 - -e "s|/usr/bin/env bash|${bash}/bin/bash|" \ 31 - {} + 32 ''; 33 checkTarget = "test"; 34 ··· 37 ln -s "../../doc/task/scripts/bash/task.sh" "$out/share/bash-completion/completions/task.bash" 38 mkdir -p "$out/share/fish/vendor_completions.d" 39 ln -s "../../../share/doc/task/scripts/fish/task.fish" "$out/share/fish/vendor_completions.d/" 40 - mkdir -p "$out/share/zsh/site-functions" 41 - ln -s "../../../share/doc/task/scripts/zsh/_task" "$out/share/zsh/site-functions/" 42 ''; 43 44 meta = with lib; { 45 description = "Highly flexible command-line tool to manage TODO lists"; 46 homepage = "https://taskwarrior.org"; 47 license = licenses.mit; 48 - maintainers = with maintainers; [ marcweber ]; 49 platforms = platforms.unix; 50 }; 51 }
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, libuuid, gnutls, python3, xdg-utils }: 2 3 stdenv.mkDerivation rec { 4 pname = "taskwarrior"; 5 + version = "2.6.0"; 6 7 + src = fetchFromGitHub { 8 + owner = "GothenburgBitFactory"; 9 + repo = "taskwarrior"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-2wVjRecfIlNFAxXFaiKfxy9zArDIYDTfDdrnSM7H8fM="; 12 + fetchSubmodules = true; 13 + }; 14 15 + postPatch = '' 16 + substituteInPlace src/commands/CmdNews.cpp \ 17 + --replace "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open" 18 ''; 19 20 + nativeBuildInputs = [ cmake libuuid gnutls python3 ]; 21 22 doCheck = true; 23 preCheck = '' 24 + patchShebangs --build test 25 ''; 26 checkTarget = "test"; 27 ··· 30 ln -s "../../doc/task/scripts/bash/task.sh" "$out/share/bash-completion/completions/task.bash" 31 mkdir -p "$out/share/fish/vendor_completions.d" 32 ln -s "../../../share/doc/task/scripts/fish/task.fish" "$out/share/fish/vendor_completions.d/" 33 ''; 34 35 meta = with lib; { 36 description = "Highly flexible command-line tool to manage TODO lists"; 37 homepage = "https://taskwarrior.org"; 38 license = licenses.mit; 39 + maintainers = with maintainers; [ marcweber oxalica ]; 40 platforms = platforms.unix; 41 }; 42 }
+7 -3
pkgs/applications/networking/browsers/lagrange/default.nix
··· 7 , fribidi 8 , harfbuzz 9 , libunistring 10 , mpg123 11 , openssl 12 , pcre ··· 17 18 stdenv.mkDerivation rec { 19 pname = "lagrange"; 20 - version = "1.6.5"; 21 22 src = fetchFromGitHub { 23 owner = "skyjake"; 24 repo = "lagrange"; 25 rev = "v${version}"; 26 - sha256 = "sha256-ZrpgSst17jjly6UnEWmlIBYjjW9nGFs7GTbVaKpZMrM="; 27 fetchSubmodules = true; 28 }; 29 ··· 33 34 nativeBuildInputs = [ cmake pkg-config ]; 35 36 - buildInputs = [ fribidi harfbuzz libunistring mpg123 openssl pcre SDL2 zlib ] 37 ++ lib.optional stdenv.isDarwin AppKit; 38 39 hardeningDisable = lib.optional (!stdenv.cc.isClang) "format"; ··· 60 license = licenses.bsd2; 61 maintainers = with maintainers; [ sikmir ]; 62 platforms = platforms.unix; 63 }; 64 }
··· 7 , fribidi 8 , harfbuzz 9 , libunistring 10 + , libwebp 11 , mpg123 12 , openssl 13 , pcre ··· 18 19 stdenv.mkDerivation rec { 20 pname = "lagrange"; 21 + version = "1.7.1"; 22 23 src = fetchFromGitHub { 24 owner = "skyjake"; 25 repo = "lagrange"; 26 rev = "v${version}"; 27 + sha256 = "sha256-I3U2Jh+PSF+j8Kuv5RejYwiMC1JYBpkYQGsgIFi7LL0="; 28 fetchSubmodules = true; 29 }; 30 ··· 34 35 nativeBuildInputs = [ cmake pkg-config ]; 36 37 + buildInputs = [ fribidi harfbuzz libunistring libwebp mpg123 openssl pcre SDL2 zlib ] 38 ++ lib.optional stdenv.isDarwin AppKit; 39 40 hardeningDisable = lib.optional (!stdenv.cc.isClang) "format"; ··· 61 license = licenses.bsd2; 62 maintainers = with maintainers; [ sikmir ]; 63 platforms = platforms.unix; 64 + # macOS SDK 10.13 or later required 65 + # See https://github.com/NixOS/nixpkgs/issues/101229 66 + broken = stdenv.isDarwin && stdenv.isx86_64; 67 }; 68 }
+7 -70
pkgs/applications/networking/cluster/linkerd/default.nix
··· 1 - { lib, fetchFromGitHub, buildGoModule, installShellFiles }: 2 - 3 - let generic = { channel, version, sha256, vendorSha256 }: 4 - buildGoModule rec { 5 - pname = "linkerd-${channel}"; 6 - inherit version vendorSha256; 7 - 8 - src = fetchFromGitHub { 9 - owner = "linkerd"; 10 - repo = "linkerd2"; 11 - rev = "${channel}-${version}"; 12 - inherit sha256; 13 - }; 14 15 - subPackages = [ "cli" ]; 16 - runVend = true; 17 - 18 - preBuild = '' 19 - env GOFLAGS="" go generate ./pkg/charts/static 20 - env GOFLAGS="" go generate ./jaeger/static 21 - env GOFLAGS="" go generate ./multicluster/static 22 - env GOFLAGS="" go generate ./viz/static 23 - ''; 24 - 25 - tags = [ 26 - "prod" 27 - ]; 28 - 29 - ldflags = [ 30 - "-s" "-w" 31 - "-X github.com/linkerd/linkerd2/pkg/version.Version=${src.rev}" 32 - ]; 33 - 34 - nativeBuildInputs = [ installShellFiles ]; 35 - 36 - postInstall = '' 37 - mv $out/bin/cli $out/bin/linkerd 38 - installShellCompletion --cmd linkerd \ 39 - --bash <($out/bin/linkerd completion bash) \ 40 - --zsh <($out/bin/linkerd completion zsh) \ 41 - --fish <($out/bin/linkerd completion fish) 42 - ''; 43 - 44 - doInstallCheck = true; 45 - installCheckPhase = '' 46 - $out/bin/linkerd version --client | grep ${src.rev} > /dev/null 47 - ''; 48 - 49 - meta = with lib; { 50 - description = "A simple Kubernetes service mesh that improves security, observability and reliability"; 51 - downloadPage = "https://github.com/linkerd/linkerd2/"; 52 - homepage = "https://linkerd.io/"; 53 - license = licenses.asl20; 54 - maintainers = with maintainers; [ Gonzih bryanasdev000 superherointj ]; 55 - }; 56 - }; 57 - in 58 - { 59 - stable = generic { 60 - channel = "stable"; 61 - version = "2.10.2"; 62 - sha256 = "sha256-dOD0S4FJ2lXE+1VZooi8tKvC8ndGEHAxmAvSqoWI/m0="; 63 - vendorSha256 = "sha256-Qb0FZOvKL9GgncfUl538PynkYbm3V8Q6lUpApUoIp5s="; 64 - }; 65 - edge = generic { 66 - channel = "edge"; 67 - version = "21.9.3"; 68 - sha256 = "0swqx4myvr24visj39icg8g90kj325pvf22bq447rnm0whq3cnyz"; 69 - vendorSha256 = "sha256-fMtAR66TwMNR/HCVQ9Jg3sJ0XBx2jUKDG7/ts0lEZM4="; 70 - }; 71 - }
··· 1 + { callPackage }: 2 3 + (callPackage ./generic.nix { }) { 4 + channel = "stable"; 5 + version = "2.10.2"; 6 + sha256 = "sha256-dOD0S4FJ2lXE+1VZooi8tKvC8ndGEHAxmAvSqoWI/m0="; 7 + vendorSha256 = "sha256-Qb0FZOvKL9GgncfUl538PynkYbm3V8Q6lUpApUoIp5s="; 8 + }
+8
pkgs/applications/networking/cluster/linkerd/edge.nix
···
··· 1 + { callPackage }: 2 + 3 + (callPackage ./generic.nix { }) { 4 + channel = "edge"; 5 + version = "21.9.3"; 6 + sha256 = "0swqx4myvr24visj39icg8g90kj325pvf22bq447rnm0whq3cnyz"; 7 + vendorSha256 = "sha256-fMtAR66TwMNR/HCVQ9Jg3sJ0XBx2jUKDG7/ts0lEZM4="; 8 + }
+59
pkgs/applications/networking/cluster/linkerd/generic.nix
···
··· 1 + { lib, fetchFromGitHub, buildGoModule, installShellFiles }: 2 + 3 + { channel, version, sha256, vendorSha256 }: 4 + 5 + buildGoModule rec { 6 + pname = "linkerd-${channel}"; 7 + inherit version vendorSha256; 8 + 9 + src = fetchFromGitHub { 10 + owner = "linkerd"; 11 + repo = "linkerd2"; 12 + rev = "${channel}-${version}"; 13 + inherit sha256; 14 + }; 15 + 16 + subPackages = [ "cli" ]; 17 + runVend = true; 18 + 19 + preBuild = '' 20 + env GOFLAGS="" go generate ./pkg/charts/static 21 + env GOFLAGS="" go generate ./jaeger/static 22 + env GOFLAGS="" go generate ./multicluster/static 23 + env GOFLAGS="" go generate ./viz/static 24 + ''; 25 + 26 + tags = [ 27 + "prod" 28 + ]; 29 + 30 + ldflags = [ 31 + "-s" "-w" 32 + "-X github.com/linkerd/linkerd2/pkg/version.Version=${src.rev}" 33 + ]; 34 + 35 + nativeBuildInputs = [ installShellFiles ]; 36 + 37 + postInstall = '' 38 + mv $out/bin/cli $out/bin/linkerd 39 + installShellCompletion --cmd linkerd \ 40 + --bash <($out/bin/linkerd completion bash) \ 41 + --zsh <($out/bin/linkerd completion zsh) \ 42 + --fish <($out/bin/linkerd completion fish) 43 + ''; 44 + 45 + doInstallCheck = true; 46 + installCheckPhase = '' 47 + $out/bin/linkerd version --client | grep ${src.rev} > /dev/null 48 + ''; 49 + 50 + passthru.updateScript = (./. + "/update-${channel}.sh"); 51 + 52 + meta = with lib; { 53 + description = "A simple Kubernetes service mesh that improves security, observability and reliability"; 54 + downloadPage = "https://github.com/linkerd/linkerd2/"; 55 + homepage = "https://linkerd.io/"; 56 + license = licenses.asl20; 57 + maintainers = with maintainers; [ Gonzih bryanasdev000 superherointj ]; 58 + }; 59 + }
+35
pkgs/applications/networking/cluster/linkerd/update-edge.sh
···
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl gnugrep gnused jq 3 + 4 + set -eu -o pipefail 5 + 6 + cd $(dirname "$0") 7 + 8 + TAG=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} \ 9 + --silent https://api.github.com/repos/linkerd/linkerd2/releases | \ 10 + jq 'map(.tag_name)' | grep edge | sed 's/["|,| ]//g' | sort -r | head -n1) 11 + 12 + VERSION=$(echo ${TAG} | sed 's/^edge-//') 13 + 14 + SHA256=$(nix-prefetch-url --quiet --unpack https://github.com/linkerd/linkerd2/archive/refs/tags/${TAG}.tar.gz) 15 + 16 + setKV () { 17 + sed -i "s|$1 = \".*\"|$1 = \"$2\"|" ./edge.nix 18 + } 19 + 20 + setKV version ${VERSION} 21 + setKV sha256 ${SHA256} 22 + setKV vendorSha256 "" # Necessary to force clean build. 23 + 24 + cd ../../../../../ 25 + set +e 26 + VENDOR_SHA256=$(nix-build --no-out-link -A linkerd_edge 2>&1 | grep "got:" | cut -d':' -f2 | sed 's| ||g') 27 + set -e 28 + 29 + if [ -n "${VENDOR_SHA256:-}" ]; then 30 + cd - > /dev/null 31 + setKV vendorSha256 ${VENDOR_SHA256} 32 + else 33 + echo "Update failed. VENDOR_SHA256 is empty." 34 + exit 1 35 + fi
+35
pkgs/applications/networking/cluster/linkerd/update-stable.sh
···
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl gnugrep gnused jq 3 + 4 + set -eu -o pipefail 5 + 6 + cd $(dirname "$0") 7 + 8 + TAG=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} \ 9 + --silent https://api.github.com/repos/linkerd/linkerd2/releases/latest | \ 10 + jq -r '.tag_name') 11 + 12 + VERSION=$(echo ${TAG} | sed 's/^stable-//') 13 + 14 + SHA256=$(nix-prefetch-url --quiet --unpack https://github.com/linkerd/linkerd2/archive/refs/tags/${TAG}.tar.gz) 15 + 16 + setKV () { 17 + sed -i "s|$1 = \".*\"|$1 = \"$2\"|" ./default.nix 18 + } 19 + 20 + setKV version ${VERSION} 21 + setKV sha256 ${SHA256} 22 + setKV vendorSha256 "" # Necessary to force clean build. 23 + 24 + cd ../../../../../ 25 + set +e 26 + VENDOR_SHA256=$(nix-build --no-out-link -A linkerd 2>&1 | grep "got:" | cut -d':' -f2 | sed 's| ||g') 27 + set -e 28 + 29 + if [ -n "${VENDOR_SHA256:-}" ]; then 30 + cd - > /dev/null 31 + setKV vendorSha256 ${VENDOR_SHA256} 32 + else 33 + echo "Update failed. VENDOR_SHA256 is empty." 34 + exit 1 35 + fi
+2 -2
pkgs/applications/networking/maestral-qt/default.nix
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "maestral-qt"; 9 - version = "1.4.8"; 10 disabled = python3.pkgs.pythonOlder "3.6"; 11 12 src = fetchFromGitHub { 13 owner = "SamSchott"; 14 repo = "maestral-qt"; 15 rev = "v${version}"; 16 - sha256 = "sha256-lP6ASWizIQC3TkkIOHS6cBbgLNoGrSx/sThtl9bMjys="; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "maestral-qt"; 9 + version = "1.5.0"; 10 disabled = python3.pkgs.pythonOlder "3.6"; 11 12 src = fetchFromGitHub { 13 owner = "SamSchott"; 14 repo = "maestral-qt"; 15 rev = "v${version}"; 16 + sha256 = "sha256-JY7AkTnrH/92IfUx/ujK7jMF3zwLsnEE9+/At4UnTNw="; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [
+4 -5
pkgs/applications/networking/testssl/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "testssl.sh"; 6 - version = "3.0.5"; 7 8 src = fetchFromGitHub { 9 owner = "drwetter"; 10 repo = pname; 11 - rev = version; 12 - sha256 = "sha256-p2jPpPHtOOmv0CCsXOECgMT9sqa4ZykcJwuGOSkYLaY="; 13 }; 14 15 nativeBuildInputs = [ makeWrapper ]; 16 buildInputs = [ 17 - coreutils # for pwd and printf 18 dnsutils # for dig 19 nettools # for hostname 20 openssl # for openssl ··· 24 25 postPatch = '' 26 substituteInPlace testssl.sh \ 27 - --replace /bin/pwd pwd \ 28 --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" \ 29 --replace PROG_NAME=\"\$\(basename\ \"\$0\"\)\" PROG_NAME=\"testssl.sh\" 30 '';
··· 3 4 stdenv.mkDerivation rec { 5 pname = "testssl.sh"; 6 + version = "3.0.6"; 7 8 src = fetchFromGitHub { 9 owner = "drwetter"; 10 repo = pname; 11 + rev = "v${version}"; 12 + sha256 = "016qpsb4dv9qb3ab3hmvk4vzf4ipr3xgmzv2cx46pxxsj0gnigd8"; 13 }; 14 15 nativeBuildInputs = [ makeWrapper ]; 16 buildInputs = [ 17 + coreutils # for printf 18 dnsutils # for dig 19 nettools # for hostname 20 openssl # for openssl ··· 24 25 postPatch = '' 26 substituteInPlace testssl.sh \ 27 --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" \ 28 --replace PROG_NAME=\"\$\(basename\ \"\$0\"\)\" PROG_NAME=\"testssl.sh\" 29 '';
+2 -2
pkgs/applications/science/robotics/mavproxy/default.nix
··· 3 4 buildPythonApplication rec { 5 pname = "MAVProxy"; 6 - version = "1.8.42"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "787f29f10d2cb7572206f874a255949d0da9a4e2ffd2bc28b94b78bb73cf05d8"; 11 }; 12 13 postPatch = ''
··· 3 4 buildPythonApplication rec { 5 pname = "MAVProxy"; 6 + version = "1.8.43"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "685e595dc8ccf354a62b354b5ef4b1f9558c4b76b1216a093dd1cc1fae37dd27"; 11 }; 12 13 postPatch = ''
+2 -2
pkgs/data/fonts/sudo/default.nix
··· 1 { lib, fetchzip }: 2 3 let 4 - version = "0.55.2"; 5 in fetchzip { 6 name = "sudo-font-${version}"; 7 url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip"; 8 - sha256 = "0r7w58r80yblyzlh6qb57pmafxb3frg1iny644bfr3p64j4cbzzb"; 9 10 postFetch = '' 11 mkdir -p $out/share/fonts/
··· 1 { lib, fetchzip }: 2 3 let 4 + version = "0.60"; 5 in fetchzip { 6 name = "sudo-font-${version}"; 7 url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip"; 8 + sha256 = "1zhl9yhx0dzkzc31i60lmcrizq8f3rkc7dbng5fal6iy8dwhnkmg"; 9 10 postFetch = '' 11 mkdir -p $out/share/fonts/
+2 -2
pkgs/data/themes/venta/default.nix
··· 9 10 stdenv.mkDerivation rec { 11 pname = "venta"; 12 - version = "0.7"; 13 14 src = fetchFromGitHub { 15 owner = "darkomarko42"; 16 repo = pname; 17 rev = version; 18 - sha256 = "0vgm65mb8qd6nbkkinmqb1hldksfgd6281l58y28jc5q4244l9wp"; 19 }; 20 21 buildInputs = [
··· 9 10 stdenv.mkDerivation rec { 11 pname = "venta"; 12 + version = "0.7.1"; 13 14 src = fetchFromGitHub { 15 owner = "darkomarko42"; 16 repo = pname; 17 rev = version; 18 + sha256 = "14ckkvyarq1xmf48fh47by5h3jnkmksj2n4y6zvx3aw7pfg2jc51"; 19 }; 20 21 buildInputs = [
+2 -2
pkgs/development/interpreters/supercollider/default.nix
··· 9 in 10 mkDerivation rec { 11 pname = "supercollider"; 12 - version = "3.12.0"; 13 14 src = fetchurl { 15 url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2"; 16 - sha256 = "sha256-RgCL50pyjNgy+H+Crvfgds86pmTao2FS+IF3gRHu5NM="; 17 }; 18 19 hardeningDisable = [ "stackprotector" ];
··· 9 in 10 mkDerivation rec { 11 pname = "supercollider"; 12 + version = "3.12.1"; 13 14 src = fetchurl { 15 url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2"; 16 + sha256 = "sha256-neYId2hJRAMx4+ZFm+5TzYuUbMRfa9icyqm2UYac/Cs="; 17 }; 18 19 hardeningDisable = [ "stackprotector" ];
+3 -3
pkgs/development/libraries/libvterm-neovim/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitHub 3 , perl 4 , libtool ··· 16 sha256 = "0r6yimzbkgrsi9aaxwvxahai2lzgjd1ysblr6m6by5w459853q3n"; 17 }; 18 19 - buildInputs = [ perl ]; 20 - nativeBuildInputs = [ libtool ]; 21 22 makeFlags = [ "PREFIX=$(out)" ] 23 ++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
··· 1 + { lib 2 + , stdenv 3 , fetchFromGitHub 4 , perl 5 , libtool ··· 17 sha256 = "0r6yimzbkgrsi9aaxwvxahai2lzgjd1ysblr6m6by5w459853q3n"; 18 }; 19 20 + nativeBuildInputs = [ perl libtool ]; 21 22 makeFlags = [ "PREFIX=$(out)" ] 23 ++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
+3 -1
pkgs/development/libraries/py3c/default.nix
··· 11 sha256 = "04i2z7hrig78clc59q3i1z2hh24g7z1bfvxznlzxv00d4s57nhpi"; 12 }; 13 14 - postPatch = lib.optionalString stdenv.cc.isClang '' 15 substituteInPlace test/setup.py \ 16 --replace "'-Werror', " "" 17 '';
··· 11 sha256 = "04i2z7hrig78clc59q3i1z2hh24g7z1bfvxznlzxv00d4s57nhpi"; 12 }; 13 14 + postPatch = '' 15 + # clang and gcc-11 complain about 'register' keywords used by 16 + # python-2.7. Let's avoid blanket -Werror. 17 substituteInPlace test/setup.py \ 18 --replace "'-Werror', " "" 19 '';
+11 -10
pkgs/development/node-packages/default.nix
··· 387 }; 388 389 vega-lite = super.vega-lite.override { 390 - # npx tries to install vega from scratch at vegalite runtime if it 391 - # can't find it. We thus replace it with a direct call to the nix 392 - # derivation. This might not be necessary anymore in future vl 393 - # versions: https://github.com/vega/vega-lite/issues/6863. 394 postInstall = '' 395 - substituteInPlace $out/lib/node_modules/vega-lite/bin/vl2pdf \ 396 - --replace "npx -p vega vg2pdf" "${self.vega-cli}/bin/vg2pdf" 397 - substituteInPlace $out/lib/node_modules/vega-lite/bin/vl2svg \ 398 - --replace "npx -p vega vg2svg" "${self.vega-cli}/bin/vg2svg" 399 - substituteInPlace $out/lib/node_modules/vega-lite/bin/vl2png \ 400 - --replace "npx -p vega vg2png" "${self.vega-cli}/bin/vg2png" 401 ''; 402 }; 403 404 webtorrent-cli = super.webtorrent-cli.override {
··· 387 }; 388 389 vega-lite = super.vega-lite.override { 390 postInstall = '' 391 + cd node_modules 392 + for dep in ${self.vega-cli}/lib/node_modules/vega-cli/node_modules/*; do 393 + if [[ ! -d $dep ]]; then 394 + ln -s "${self.vega-cli}/lib/node_modules/vega-cli/node_modules/$dep" 395 + fi 396 + done 397 ''; 398 + passthru.tests = { 399 + simple-execution = pkgs.callPackage ./package-tests/vega-lite.nix { 400 + inherit (self) vega-lite; 401 + }; 402 + }; 403 }; 404 405 webtorrent-cli = super.webtorrent-cli.override {
+24
pkgs/development/node-packages/package-tests/vega-lite.nix
···
··· 1 + { runCommand, vega-lite }: 2 + 3 + let 4 + inherit (vega-lite) packageName version; 5 + in 6 + 7 + runCommand "${packageName}-tests" { meta.timeout = 60; } 8 + '' 9 + # get version of installed program and compare with package version 10 + claimed_version="$(${vega-lite}/bin/vl2vg --version)" 11 + if [[ "$claimed_version" != "${version}" ]]; then 12 + echo "Error: program version does not match package version ($claimed_version != ${version})" 13 + exit 1 14 + fi 15 + 16 + # run dummy commands 17 + ${vega-lite}/bin/vl2vg --help > /dev/null 18 + ${vega-lite}/bin/vl2svg --help > /dev/null 19 + ${vega-lite}/bin/vl2png --help > /dev/null 20 + ${vega-lite}/bin/vl2pdf --help > /dev/null 21 + 22 + # needed for Nix to register the command as successful 23 + touch $out 24 + ''
+52
pkgs/development/python-modules/asyncclick/default.nix
···
··· 1 + { lib 2 + , anyio 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , setuptools-scm 6 + , pytestCheckHook 7 + , pythonOlder 8 + , trio 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "asyncclick"; 13 + version = "8.0.1.3"; 14 + 15 + disabled = pythonOlder "3.6"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "python-trio"; 19 + repo = pname; 20 + rev = version; 21 + sha256 = "03b8zz8i3aqzxr3ffzb4sxnrcm3gsk9r4hmr0fkml1ahi754bx2r"; 22 + }; 23 + 24 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 + 26 + nativeBuildInputs = [ 27 + setuptools-scm 28 + ]; 29 + 30 + propagatedBuildInputs = [ 31 + anyio 32 + ]; 33 + 34 + checkInputs = [ 35 + pytestCheckHook 36 + trio 37 + ]; 38 + 39 + disabledTests = [ 40 + # RuntimeWarning: coroutine 'Context.invoke' was never awaited 41 + "test_context_invoke_type" 42 + ]; 43 + 44 + pythonImportsCheck = [ "asyncclick" ]; 45 + 46 + meta = with lib; { 47 + description = "Python composable command line utility"; 48 + homepage = "https://github.com/python-trio/asyncclick"; 49 + license = with licenses; [ bsd3 ]; 50 + maintainers = with maintainers; [ fab ]; 51 + }; 52 + }
+4 -5
pkgs/development/python-modules/awscrt/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, cmake, perl, stdenv, gcc10, darwin }: 2 3 buildPythonPackage rec { 4 pname = "awscrt"; 5 - version = "0.12.3"; 6 7 - buildInputs = lib.optionals stdenv.isDarwin 8 - (with darwin.apple_sdk.frameworks; [ CoreFoundation Security ]); 9 10 # Required to suppress -Werror 11 # https://github.com/NixOS/nixpkgs/issues/39687 ··· 23 24 src = fetchPypi { 25 inherit pname version; 26 - sha256 = "441262c36b450286132fde7f110823f7ae7ae909c0f6483a0a2d56150b62f2b5"; 27 }; 28 29 meta = with lib; {
··· 1 + { lib, buildPythonPackage, fetchPypi, cmake, perl, stdenv, gcc10, CoreFoundation, Security }: 2 3 buildPythonPackage rec { 4 pname = "awscrt"; 5 + version = "0.12.4"; 6 7 + buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ]; 8 9 # Required to suppress -Werror 10 # https://github.com/NixOS/nixpkgs/issues/39687 ··· 22 23 src = fetchPypi { 24 inherit pname version; 25 + sha256 = "6ad69336bc5277f501bd7e33f82e11db2665370c7d279496ee39fe2f369baeb2"; 26 }; 27 28 meta = with lib; {
+2 -2
pkgs/development/python-modules/awslambdaric/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "awslambdaric"; 18 - version = "1.2.2"; 19 disabled = isPy27; 20 21 src = fetchFromGitHub { 22 owner = "aws"; 23 repo = "aws-lambda-python-runtime-interface-client"; 24 rev = version; 25 - sha256 = "1r4b4w5xhf6p4vs7yx89kighlqim9f96v2ryknmrnmblgr4kg0h1"; 26 }; 27 28 patches = [
··· 15 16 buildPythonPackage rec { 17 pname = "awslambdaric"; 18 + version = "2.0.0"; 19 disabled = isPy27; 20 21 src = fetchFromGitHub { 22 owner = "aws"; 23 repo = "aws-lambda-python-runtime-interface-client"; 24 rev = version; 25 + sha256 = "1amlaq119mk8fa3fxi3d6vgp83vcd81mbk53jzbixacklmcsp50k"; 26 }; 27 28 patches = [
+2 -2
pkgs/development/python-modules/digitalocean/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "python-digitalocean"; 16 - version = "1.16.0"; 17 18 src = fetchFromGitHub { 19 owner = "koalalorenzo"; 20 repo = pname; 21 rev = "v${version}"; 22 - sha256 = "16fxlfpisj4rcj9dvlifs6bpx42a0sn9b07bnyzwrbhi6nfvkd2g"; 23 }; 24 25 propagatedBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "python-digitalocean"; 16 + version = "1.17.0"; 17 18 src = fetchFromGitHub { 19 owner = "koalalorenzo"; 20 repo = pname; 21 rev = "v${version}"; 22 + sha256 = "1c50ka4y712rr551gq3kdfw7fgfxr4w837sww6yy683yz7m1d1h8"; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/geoip2/default.nix
··· 8 }: 9 10 buildPythonPackage rec { 11 - version = "4.3.0"; 12 pname = "geoip2"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "599914784cea08b50fb50c22ed6a59143b5ff2d027ba782d2d5b6f3668293821"; 18 }; 19 20 patchPhase = ''
··· 8 }: 9 10 buildPythonPackage rec { 11 + version = "4.4.0"; 12 pname = "geoip2"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "f150bed3190d543712a17467208388d31bd8ddb49b2226fba53db8aaedb8ba89"; 18 }; 19 20 patchPhase = ''
+2 -2
pkgs/development/python-modules/idasen/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "idasen"; 15 - version = "0.7.1"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; ··· 21 owner = "newAM"; 22 repo = "idasen"; 23 rev = "v${version}"; 24 - sha256 = "1jdgdby33fd63mnxrfv04dz4fsrikkfmc0ybwwxi816mbkml7n34"; 25 }; 26 27 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "idasen"; 15 + version = "0.8.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; ··· 21 owner = "newAM"; 22 repo = "idasen"; 23 rev = "v${version}"; 24 + sha256 = "09s1409ln1x6sxsls2ndqz3piapbwf880rrhmydfm6y7hqxlmzvy"; 25 }; 26 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/maestral/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "maestral"; 13 - version = "1.4.8"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "SamSchott"; 18 repo = "maestral"; 19 rev = "v${version}"; 20 - sha256 = "sha256-sxPogzQW+P8yrqaaJHrQu7e0ztgwWUI0kLikcmrhYoQ="; 21 }; 22 23 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "maestral"; 13 + version = "1.5.0"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "SamSchott"; 18 repo = "maestral"; 19 rev = "v${version}"; 20 + sha256 = "sha256-OMqCwJTsg4RMK138cKDYz+iQV0HvelGTZfE4m+UkSzE="; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/monkeyhex/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "monkeyhex"; 9 - version = "1.7.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "5ba913df664c34f3ce53916c83872fddf750adc78a0b0ecdd316ac3e728bb019"; 14 }; 15 16 propagatedBuildInputs = [ future ];
··· 6 7 buildPythonPackage rec { 8 pname = "monkeyhex"; 9 + version = "1.7.2"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "e2add1f7f1f620be9ccec0618342e6a9e47de50e0d2252628bffd452bfd3762b"; 14 }; 15 16 propagatedBuildInputs = [ future ];
+2 -2
pkgs/development/python-modules/msal/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "msal"; 12 - version = "1.14.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - sha256 = "0d389ef5db19ca8a30ae88fe05ba633a4623d3202d90f8dfcc81973dc28ee834"; 17 }; 18 19 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "msal"; 12 + version = "1.15.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "00d3cc77c3bcd8e2accaf178aa58a1d036918faa9c0f3039772cc16a470bdacc"; 17 }; 18 19 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/nltk/default.nix
··· 6 }: 7 8 buildPythonPackage rec { 9 - version = "3.6.2"; 10 pname = "nltk"; 11 12 src = fetchPypi { 13 inherit pname version; 14 extension = "zip"; 15 - sha256 = "57d556abed621ab9be225cc6d2df1edce17572efb67a3d754630c9f8381503eb"; 16 }; 17 18 propagatedBuildInputs = [
··· 6 }: 7 8 buildPythonPackage rec { 9 + version = "3.6.4"; 10 pname = "nltk"; 11 12 src = fetchPypi { 13 inherit pname version; 14 extension = "zip"; 15 + sha256 = "dd7e8012af25737e6aa7bc26568a319508dca789f13e62afa09798dccc7798b5"; 16 }; 17 18 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pdftotext/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "pdftotext"; 5 - version = "2.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "efbbfb14cf37ed7ab2c71936bae44707dfed6bb3be7ea5214e9c44c8c258c7af"; 10 }; 11 12 buildInputs = [ poppler ];
··· 2 3 buildPythonPackage rec { 4 pname = "pdftotext"; 5 + version = "2.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "a067c121654917ecbe07fbd71c807c34bbdb1ea029e269ddd11925ee7e191d3f"; 10 }; 11 12 buildInputs = [ poppler ];
+2 -2
pkgs/development/python-modules/pyhomematic/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "pyhomematic"; 10 - version = "0.1.74"; 11 12 disabled = !isPy3k; 13 14 src = fetchPypi { 15 inherit pname version; 16 - sha256 = "sha256-Z0226G0eivU+Uo7MShGv9xqcl1QtAmbEzhI1IBjPL5M="; 17 }; 18 19 checkPhase = ''
··· 7 8 buildPythonPackage rec { 9 pname = "pyhomematic"; 10 + version = "0.1.75"; 11 12 disabled = !isPy3k; 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "36b76d7269273888f61db085f3fb47e5516c4d1bd15b2b39a54305cdb6a9a8b8"; 17 }; 18 19 checkPhase = ''
+72
pkgs/development/python-modules/python-kasa/default.nix
···
··· 1 + { lib 2 + , asyncclick 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , fetchpatch 6 + , importlib-metadata 7 + , poetry-core 8 + , pytest-asyncio 9 + , pytest-mock 10 + , pytestCheckHook 11 + , pythonOlder 12 + , voluptuous 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "python-kasa"; 17 + version = "0.4.0"; 18 + format = "pyproject"; 19 + 20 + disabled = pythonOlder "3.7"; 21 + 22 + src = fetchFromGitHub { 23 + owner = pname; 24 + repo = pname; 25 + rev = version; 26 + sha256 = "08blmz5kg826l08pf6yrvl8gc8iz3hfb6wsfqih606dal08kdhdi"; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + poetry-core 31 + ]; 32 + 33 + propagatedBuildInputs = [ 34 + asyncclick 35 + importlib-metadata 36 + ]; 37 + 38 + checkInputs = [ 39 + pytest-asyncio 40 + pytest-mock 41 + pytestCheckHook 42 + voluptuous 43 + ]; 44 + 45 + patches = [ 46 + # Switch to poetry-core, https://github.com/python-kasa/python-kasa/pull/226 47 + (fetchpatch { 48 + name = "switch-to-poetry-core.patch"; 49 + url = "https://github.com/python-kasa/python-kasa/commit/05c2a4a7dedbd60038e177b4d3f5ac5798544d11.patch"; 50 + sha256 = "0cla11yqx88wj2s50s3xxxhv4nz4h3wd9pi12v79778hzdlg58rr"; 51 + }) 52 + ]; 53 + 54 + postPatch = '' 55 + substituteInPlace pyproject.toml \ 56 + --replace 'asyncclick = "^7"' 'asyncclick = "*"' 57 + ''; 58 + 59 + disabledTestPaths = [ 60 + # Skip the examples tests 61 + "kasa/tests/test_readme_examples.py" 62 + ]; 63 + 64 + pythonImportsCheck = [ "kasa" ]; 65 + 66 + meta = with lib; { 67 + description = "Python API for TP-Link Kasa Smarthome products"; 68 + homepage = "https://python-kasa.readthedocs.io/"; 69 + license = licenses.gpl3Plus; 70 + maintainers = with maintainers; [ fab ]; 71 + }; 72 + }
+2 -2
pkgs/development/python-modules/python-osc/default.nix
··· 5 6 buildPythonPackage rec { 7 pname = "python-osc"; 8 - version = "1.7.7"; 9 10 src = fetchPypi { 11 inherit pname version; 12 - sha256 = "4c7d68a7719d9425ab2a4ee9a2b9d5a9f5b66593fb46e20e38f91e1452bea2d2"; 13 }; 14 15 pythonImportsCheck = [ "pythonosc" ];
··· 5 6 buildPythonPackage rec { 7 pname = "python-osc"; 8 + version = "1.8.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 + sha256 = "2f8c187c68d239960fb2eddcb5346a62a9b35e64f2de045b3e5e509f475ca73d"; 13 }; 14 15 pythonImportsCheck = [ "pythonosc" ];
+2 -2
pkgs/development/python-modules/qrcode/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "qrcode"; 13 - version = "7.3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "d72861b65e26b611609f0547f0febe58aed8ae229d6bf4e675834f40742915b3"; 18 }; 19 20 propagatedBuildInputs = [ six pillow pymaging_png setuptools ];
··· 10 11 buildPythonPackage rec { 12 pname = "qrcode"; 13 + version = "7.3.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "375a6ff240ca9bd41adc070428b5dfc1dcfbb0f2507f1ac848f6cded38956578"; 18 }; 19 20 propagatedBuildInputs = [ six pillow pymaging_png setuptools ];
+2 -2
pkgs/development/python-modules/sagemaker/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "sagemaker"; 19 - version = "2.59.4"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - sha256 = "16b325966c1a05413994831ff29e3c7656a4be947a7771541af5935b1d01c024"; 24 }; 25 26 pythonImportsCheck = [
··· 16 17 buildPythonPackage rec { 18 pname = "sagemaker"; 19 + version = "2.59.6"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + sha256 = "4bf7a6c541dbb0d29af9a7fba0159946f67974fbc8e76d2587e601d59f83fd45"; 24 }; 25 26 pythonImportsCheck = [
+34
pkgs/development/tools/analysis/actionlint/default.nix
···
··· 1 + { lib, buildGoModule, fetchFromGitHub, ronn, installShellFiles }: 2 + 3 + buildGoModule rec { 4 + pname = "actionlint"; 5 + version = "1.6.4"; 6 + 7 + subPackages = [ "cmd/actionlint" ]; 8 + 9 + src = fetchFromGitHub { 10 + owner = "rhysd"; 11 + repo = "actionlint"; 12 + rev = "v${version}"; 13 + sha256 = "1516892wikz3zda0la57s8nbm6459pf4vd123rv09s4nivznbmcx"; 14 + }; 15 + 16 + vendorSha256 = "1i7442n621jmc974b73pfz1gyqw74ilpg1zz16yxqpfh5c958m7n"; 17 + 18 + nativeBuildInputs = [ ronn installShellFiles ]; 19 + 20 + postInstall = '' 21 + ronn --roff man/actionlint.1.ronn 22 + installManPage man/actionlint.1 23 + ''; 24 + 25 + ldflags = [ "-s" "-w" "-X github.com/rhysd/actionlint.version=${version}" ]; 26 + 27 + meta = with lib; { 28 + homepage = "https://rhysd.github.io/actionlint/"; 29 + description = "Static checker for GitHub Actions workflow files"; 30 + changelog = "https://github.com/rhysd/actionlint/raw/v${version}/CHANGELOG.md"; 31 + license = licenses.mit; 32 + maintainers = [ maintainers.marsam ]; 33 + }; 34 + }
+2 -2
pkgs/development/tools/misc/circleci-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "circleci-cli"; 5 - version = "0.1.15824"; 6 7 src = fetchFromGitHub { 8 owner = "CircleCI-Public"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-bTRtzjIm5NI89O09hMyiDVL4skkfg1C8/92IEDaIAak="; 12 }; 13 14 vendorSha256 = "sha256-VOPXM062CZ6a6CJGzYTHav1OkyiH7XUHXWrRdGekaGQ=";
··· 2 3 buildGoModule rec { 4 pname = "circleci-cli"; 5 + version = "0.1.15848"; 6 7 src = fetchFromGitHub { 8 owner = "CircleCI-Public"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-JybhHglqMgQzsmloUhVgIcSMPinE9XaUljvcpdQTSx4="; 12 }; 13 14 vendorSha256 = "sha256-VOPXM062CZ6a6CJGzYTHav1OkyiH7XUHXWrRdGekaGQ=";
+3 -3
pkgs/development/tools/ocaml/merlin/4.x.nix
··· 15 }: 16 17 let 18 - merlinVersion = "4.1"; 19 20 hashes = { 21 - "4.1-411" = "9e2e6fc799c93ce1f2c7181645eafa37f64e43ace062b69218e1c29ac459937d"; 22 - "4.1-412" = "fb4caede73bdb8393bd60e31792af74b901ae2d319ac2f2a2252c694d2069d8d"; 23 }; 24 25 ocamlVersionShorthand = lib.concatStrings
··· 15 }: 16 17 let 18 + merlinVersion = "4.3.1"; 19 20 hashes = { 21 + "4.3.1-411" = "0lhxkd1wa8k3fkcnhvzlahx3g519cdi5h7lgs60khqqm8nfvfcr5"; 22 + "4.3.1-412" = "0ah2zbj1hhrrfxp4nhfh47jsbkvm0b30dr7ikjpmvb13wa8h20sr"; 23 }; 24 25 ocamlVersionShorthand = lib.concatStrings
+3 -3
pkgs/development/tools/rust/cargo-msrv/default.nix
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "cargo-msrv"; 14 - version = "0.9.0"; 15 16 src = fetchFromGitHub { 17 owner = "foresterre"; 18 repo = pname; 19 rev = "v${version}"; 20 - sha256 = "sha256-QN9N3o6gnr/pUTvRHxl3Wv42KxFOlRDpIr5pw2vB1x4="; 21 }; 22 23 - cargoSha256 = "sha256-rgiOwkbQLnaREvd5yMmipnVnl5Lqb+g+SHeP0V8XVTQ="; 24 25 passthru = { 26 updateScript = nix-update-script {
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "cargo-msrv"; 14 + version = "0.10.0"; 15 16 src = fetchFromGitHub { 17 owner = "foresterre"; 18 repo = pname; 19 rev = "v${version}"; 20 + sha256 = "sha256-Op800CGzbSGwYvd18ba7Gvw2bVHeBHCQq1pmAMW9CUs="; 21 }; 22 23 + cargoSha256 = "sha256-vguDrmNYtHHR8kA6GElEx8+jVj/V853o0uW6hfg/tlI="; 24 25 passthru = { 26 updateScript = nix-update-script {
+7 -7
pkgs/misc/uboot/0001-configs-rpi-allow-for-bigger-kernels.patch
··· 17 * parameter given to the kernel. So reserving memory from low to high 18 - * satisfies this constraint again. Reserving 1M at 0x02600000-0x02700000 for 19 - * the DTB leaves rest of the free RAM to the initrd starting at 0x02700000. 20 - + * satisfies this constraint again. Reserving 1M at 0x02e00000-0x02f00000 for 21 - + * the DTB leaves rest of the free RAM to the initrd starting at 0x02f00000. 22 * Even with the smallest possible CPU-GPU memory split of the CPU getting 23 - * only 64M, the remaining 25M starting at 0x02700000 should allow quite 24 - * large initrds before they start colliding with U-Boot. 25 - + * only 64M, the remaining 17M starting at 0x02f00000 should allow reasonably 26 + * sized initrds before they start colliding with U-Boot. 27 */ 28 #define ENV_MEM_LAYOUT_SETTINGS \ ··· 33 - "pxefile_addr_r=0x02500000\0" \ 34 - "fdt_addr_r=0x02600000\0" \ 35 - "ramdisk_addr_r=0x02700000\0" 36 - + "scriptaddr=0x02c00000\0" \ 37 - + "pxefile_addr_r=0x02d00000\0" \ 38 - + "fdt_addr_r=0x02e00000\0" \ 39 - + "ramdisk_addr_r=0x02f00000\0" 40 41 #if CONFIG_IS_ENABLED(CMD_MMC) 42 #define BOOT_TARGET_MMC(func) \
··· 17 * parameter given to the kernel. So reserving memory from low to high 18 - * satisfies this constraint again. Reserving 1M at 0x02600000-0x02700000 for 19 - * the DTB leaves rest of the free RAM to the initrd starting at 0x02700000. 20 + + * satisfies this constraint again. Reserving 1M at 0x03700000-0x03800000 for 21 + + * the DTB leaves rest of the free RAM to the initrd starting at 0x03800000. 22 * Even with the smallest possible CPU-GPU memory split of the CPU getting 23 - * only 64M, the remaining 25M starting at 0x02700000 should allow quite 24 - * large initrds before they start colliding with U-Boot. 25 + + * only 64M, the remaining 9M starting at 0x03800000 should allow reasonably 26 + * sized initrds before they start colliding with U-Boot. 27 */ 28 #define ENV_MEM_LAYOUT_SETTINGS \ ··· 33 - "pxefile_addr_r=0x02500000\0" \ 34 - "fdt_addr_r=0x02600000\0" \ 35 - "ramdisk_addr_r=0x02700000\0" 36 + + "scriptaddr=0x03500000\0" \ 37 + + "pxefile_addr_r=0x03600000\0" \ 38 + + "fdt_addr_r=0x03700000\0" \ 39 + + "ramdisk_addr_r=0x03800000\0" 40 41 #if CONFIG_IS_ENABLED(CMD_MMC) 42 #define BOOT_TARGET_MMC(func) \
+2 -2
pkgs/servers/http/lwan/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "lwan"; 5 - version = "0.3"; 6 7 src = fetchFromGitHub { 8 owner = "lpereira"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "1znkcsbxw3r10prqvf2x27w1wmm9kd485pj59c364wlvqdhidwqr"; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "lwan"; 5 + version = "0.4"; 6 7 src = fetchFromGitHub { 8 owner = "lpereira"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-Z8kiuZHLEupCKFrj8guiu9fTG7s+5KiQ6x0pg9iMy0c="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ];
+3 -7
pkgs/servers/nosql/aerospike/default.nix
··· 15 nativeBuildInputs = [ autoconf automake libtool ]; 16 buildInputs = [ openssl zlib ]; 17 18 - NIX_CFLAGS_COMPILE = [ 19 - "-Wno-error=format-truncation" 20 - "-Wno-error=address-of-packed-member" 21 - "-Wno-error=format-overflow" 22 - "-Wno-error=stringop-truncation" 23 - ]; 24 - 25 preBuild = '' 26 patchShebangs build/gen_version 27 substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}' 28 ''; 29 30 installPhase = ''
··· 15 nativeBuildInputs = [ autoconf automake libtool ]; 16 buildInputs = [ openssl zlib ]; 17 18 preBuild = '' 19 patchShebangs build/gen_version 20 substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}' 21 + 22 + # drop blanket -Werror 23 + substituteInPlace make_in/Makefile.in --replace '-Werror' "" 24 ''; 25 26 installPhase = ''
+3 -3
pkgs/tools/admin/drawterm/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "drawterm"; 9 - version = "unstable-2021-08-02"; 10 11 src = fetchgit { 12 url = "git://git.9front.org/plan9front/drawterm"; 13 - rev = "a130d441722ac3f759d2d83b98eb6aef7e84f97e"; 14 - sha256 = "R+W1XMqQqCrMwgX9lHRhxJPG6ZOvtQrU6HUsKfvfrBQ="; 15 }; 16 17 buildInputs = [
··· 6 7 stdenv.mkDerivation rec { 8 pname = "drawterm"; 9 + version = "unstable-2021-10-02"; 10 11 src = fetchgit { 12 url = "git://git.9front.org/plan9front/drawterm"; 13 + rev = "c6f547e1a46ebbf7a290427fe3a0b66932d671a0"; 14 + sha256 = "09v2vk5s23q0islfz273pqy696zhzh3gqi25hadr54lif0511wsl"; 15 }; 16 17 buildInputs = [
+9 -1
pkgs/tools/networking/bandwhich/default.nix
··· 11 sha256 = "014blvrv0kk4gzga86mbk7gd5dl1szajfi972da3lrfznck1w24n"; 12 }; 13 14 - cargoSha256 = "119szaighki565w28la6qg25s3cv8wviqin9f7f9w8x2rif3ipb3"; 15 16 buildInputs = lib.optional stdenv.isDarwin Security; 17 18 # 10 passed; 47 failed https://hydra.nixos.org/build/148943783/nixlog/1 19 doCheck = !stdenv.isDarwin; 20 21 meta = with lib; { 22 description = "A CLI utility for displaying current network utilization";
··· 11 sha256 = "014blvrv0kk4gzga86mbk7gd5dl1szajfi972da3lrfznck1w24n"; 12 }; 13 14 + cargoSha256 = "sha256-Vrd5DIfhUSb3BONaUG8RypmVF+HWrlM0TodlWjOLa/c="; 15 16 buildInputs = lib.optional stdenv.isDarwin Security; 17 18 # 10 passed; 47 failed https://hydra.nixos.org/build/148943783/nixlog/1 19 doCheck = !stdenv.isDarwin; 20 + 21 + # FIXME: remove when the linked-hash-map dependency is bumped upstream 22 + cargoPatches = [ 23 + (fetchpatch { 24 + url = "https://github.com/imsnif/bandwhich/pull/222/commits/be06905de2c4fb91afc22d50bf3cfe5a1e8003f5.patch"; 25 + sha256 = "sha256-FyZ7jUXK7ebXq7q/lvRSe7YdPnpYWKZE3WrSKLMjJeA="; 26 + }) 27 + ]; 28 29 meta = with lib; { 30 description = "A CLI utility for displaying current network utilization";
+2
pkgs/tools/networking/openssh/default.nix
··· 40 41 extraMeta.knownVulnerabilities = [ 42 "CVE-2021-28041" 43 ]; 44 }; 45 ··· 70 71 extraMeta.knownVulnerabilities = [ 72 "CVE-2021-28041" 73 ]; 74 }; 75 }
··· 40 41 extraMeta.knownVulnerabilities = [ 42 "CVE-2021-28041" 43 + "CVE-2021-41617" 44 ]; 45 }; 46 ··· 71 72 extraMeta.knownVulnerabilities = [ 73 "CVE-2021-28041" 74 + "CVE-2021-41617" 75 ]; 76 }; 77 }
+7 -7
pkgs/tools/networking/v2ray/default.nix
··· 3 }: 4 5 let 6 - version = "4.42.1"; 7 8 src = fetchFromGitHub { 9 owner = "v2fly"; 10 repo = "v2ray-core"; 11 rev = "v${version}"; 12 - sha256 = "19xkbkzv9bgj68kmvrxsdqzx40vlyvzl8nn2n19hwwmkrazqgf04"; 13 }; 14 15 - vendorSha256 = "sha256-N1DYV0zSzCepkRMbcQUHqjITvmGahYKNn1uhL+csMSc="; 16 17 assets = { 18 # MIT licensed 19 "geoip.dat" = let 20 - geoipRev = "202109102251"; 21 - geoipSha256 = "0qh8yf0m6sna3z5i2plbgw61q08qcfcx0l1z5bmwxijagf1yb7fa"; 22 in fetchurl { 23 url = "https://github.com/v2fly/geoip/releases/download/${geoipRev}/geoip.dat"; 24 sha256 = geoipSha256; ··· 26 27 # MIT licensed 28 "geosite.dat" = let 29 - geositeRev = "20210910080130"; 30 - geositeSha256 = "0d6bzrs5mhca59j1w73kqw10jqkwic9ywm3jvszpd077qwh64dwn"; 31 in fetchurl { 32 url = "https://github.com/v2fly/domain-list-community/releases/download/${geositeRev}/dlc.dat"; 33 sha256 = geositeSha256;
··· 3 }: 4 5 let 6 + version = "4.43.0"; 7 8 src = fetchFromGitHub { 9 owner = "v2fly"; 10 repo = "v2ray-core"; 11 rev = "v${version}"; 12 + sha256 = "sha256-kOTQQUbaRQBABopU0x36j8Qre+Ko0UecUDNN8dvFni8="; 13 }; 14 15 + vendorSha256 = "sha256-7zSIAKcMwtaTvokKuLJ8orqJc2jGuaw5FglEJadeZ9I="; 16 17 assets = { 18 # MIT licensed 19 "geoip.dat" = let 20 + geoipRev = "202109300030"; 21 + geoipSha256 = "1d2z3ljs0v9rd10cfj8cpiijz3ikkplsymr44f7y90g4dmniwqh0"; 22 in fetchurl { 23 url = "https://github.com/v2fly/geoip/releases/download/${geoipRev}/geoip.dat"; 24 sha256 = geoipSha256; ··· 26 27 # MIT licensed 28 "geosite.dat" = let 29 + geositeRev = "20211001023210"; 30 + geositeSha256 = "02d55i1pdndwvmi4v42hnncjng517s0k06gr3yn5krnj2qfjli2w"; 31 in fetchurl { 32 url = "https://github.com/v2fly/domain-list-community/releases/download/${geositeRev}/dlc.dat"; 33 sha256 = geositeSha256;
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "exploitdb"; 5 - version = "2021-09-30"; 6 7 src = fetchFromGitHub { 8 owner = "offensive-security"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-chGmv6zeiYKNY8oA54FmVU7RGXd+uM6MHfUQXb6YfqE="; 12 }; 13 14 installPhase = ''
··· 2 3 stdenv.mkDerivation rec { 4 pname = "exploitdb"; 5 + version = "2021-10-02"; 6 7 src = fetchFromGitHub { 8 owner = "offensive-security"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-gUjFFxzkHHhNMDAgFmmIAuEACSCn1YXuauvjGAkrK6k="; 12 }; 13 14 installPhase = ''
+1 -1
pkgs/tools/security/metasploit/Gemfile
··· 1 # frozen_string_literal: true 2 source "https://rubygems.org" 3 4 - gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.7"
··· 1 # frozen_string_literal: true 2 source "https://rubygems.org" 3 4 + gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.8"
+11 -11
pkgs/tools/security/metasploit/Gemfile.lock
··· 1 GIT 2 remote: https://github.com/rapid7/metasploit-framework 3 - revision: 6dddd6d372c75acadc183f6a4efdd44e453559b4 4 - ref: refs/tags/6.1.7 5 specs: 6 - metasploit-framework (6.1.7) 7 actionpack (~> 6.0) 8 activerecord (~> 6.0) 9 activesupport (~> 6.0) ··· 31 metasploit-concern 32 metasploit-credential 33 metasploit-model 34 - metasploit-payloads (= 2.0.54) 35 metasploit_data_models 36 - metasploit_payloads-mettle (= 1.0.10) 37 mqtt 38 msgpack 39 nessus_rest ··· 127 arel-helpers (2.12.1) 128 activerecord (>= 3.1.0, < 7) 129 aws-eventstream (1.2.0) 130 - aws-partitions (1.506.0) 131 aws-sdk-core (3.121.1) 132 aws-eventstream (~> 1, >= 1.0.2) 133 aws-partitions (~> 1, >= 1.239.0) ··· 232 activemodel (~> 6.0) 233 activesupport (~> 6.0) 234 railties (~> 6.0) 235 - metasploit-credential (5.0.4) 236 metasploit-concern 237 metasploit-model 238 metasploit_data_models (>= 5.0.0) ··· 246 activemodel (~> 6.0) 247 activesupport (~> 6.0) 248 railties (~> 6.0) 249 - metasploit-payloads (2.0.54) 250 metasploit_data_models (5.0.4) 251 activerecord (~> 6.0) 252 activesupport (~> 6.0) ··· 257 railties (~> 6.0) 258 recog (~> 2.0) 259 webrick 260 - metasploit_payloads-mettle (1.0.10) 261 method_source (1.0.0) 262 mini_portile2 (2.6.1) 263 minitest (5.14.4) ··· 273 network_interface (0.0.2) 274 nexpose (7.3.0) 275 nio4r (2.5.8) 276 - nokogiri (1.12.4) 277 mini_portile2 (~> 2.6.1) 278 racc (~> 1.4) 279 nori (2.6.0) ··· 329 rex-core 330 rex-struct2 331 rex-text 332 - rex-core (0.1.17) 333 rex-encoder (0.1.6) 334 metasm 335 rex-arch
··· 1 GIT 2 remote: https://github.com/rapid7/metasploit-framework 3 + revision: d50b53eafca062b7270a91894e4e9de7a526aa10 4 + ref: refs/tags/6.1.8 5 specs: 6 + metasploit-framework (6.1.8) 7 actionpack (~> 6.0) 8 activerecord (~> 6.0) 9 activesupport (~> 6.0) ··· 31 metasploit-concern 32 metasploit-credential 33 metasploit-model 34 + metasploit-payloads (= 2.0.58) 35 metasploit_data_models 36 + metasploit_payloads-mettle (= 1.0.13) 37 mqtt 38 msgpack 39 nessus_rest ··· 127 arel-helpers (2.12.1) 128 activerecord (>= 3.1.0, < 7) 129 aws-eventstream (1.2.0) 130 + aws-partitions (1.510.0) 131 aws-sdk-core (3.121.1) 132 aws-eventstream (~> 1, >= 1.0.2) 133 aws-partitions (~> 1, >= 1.239.0) ··· 232 activemodel (~> 6.0) 233 activesupport (~> 6.0) 234 railties (~> 6.0) 235 + metasploit-credential (5.0.5) 236 metasploit-concern 237 metasploit-model 238 metasploit_data_models (>= 5.0.0) ··· 246 activemodel (~> 6.0) 247 activesupport (~> 6.0) 248 railties (~> 6.0) 249 + metasploit-payloads (2.0.58) 250 metasploit_data_models (5.0.4) 251 activerecord (~> 6.0) 252 activesupport (~> 6.0) ··· 257 railties (~> 6.0) 258 recog (~> 2.0) 259 webrick 260 + metasploit_payloads-mettle (1.0.13) 261 method_source (1.0.0) 262 mini_portile2 (2.6.1) 263 minitest (5.14.4) ··· 273 network_interface (0.0.2) 274 nexpose (7.3.0) 275 nio4r (2.5.8) 276 + nokogiri (1.12.5) 277 mini_portile2 (~> 2.6.1) 278 racc (~> 1.4) 279 nori (2.6.0) ··· 329 rex-core 330 rex-struct2 331 rex-text 332 + rex-core (0.1.18) 333 rex-encoder (0.1.6) 334 metasm 335 rex-arch
+2 -2
pkgs/tools/security/metasploit/default.nix
··· 14 }; 15 in stdenv.mkDerivation rec { 16 pname = "metasploit-framework"; 17 - version = "6.1.7"; 18 19 src = fetchFromGitHub { 20 owner = "rapid7"; 21 repo = "metasploit-framework"; 22 rev = version; 23 - sha256 = "sha256-UzWNQnDo/o296GGd+C1ImHccOMAXfE55dJDB9hw9B8s="; 24 }; 25 26 nativeBuildInputs = [ makeWrapper ];
··· 14 }; 15 in stdenv.mkDerivation rec { 16 pname = "metasploit-framework"; 17 + version = "6.1.8"; 18 19 src = fetchFromGitHub { 20 owner = "rapid7"; 21 repo = "metasploit-framework"; 22 rev = version; 23 + sha256 = "sha256-KDexgv5rsaOyAJhaiLiU1z0st7ncwIayoqn+fvJnSng="; 24 }; 25 26 nativeBuildInputs = [ makeWrapper ];
+15 -15
pkgs/tools/security/metasploit/gemset.nix
··· 104 platforms = []; 105 source = { 106 remotes = ["https://rubygems.org"]; 107 - sha256 = "1gfp7hqflr5gd3xfvcrwdmx4zzmhr6511bflwkfvrs5rn6n5dacs"; 108 type = "gem"; 109 }; 110 - version = "1.506.0"; 111 }; 112 aws-sdk-core = { 113 groups = ["default"]; ··· 654 platforms = []; 655 source = { 656 remotes = ["https://rubygems.org"]; 657 - sha256 = "1czh3a3bi54l5i7j9jw4p0arf8i3y8pm08w2f995x02rk4f7x5wf"; 658 type = "gem"; 659 }; 660 - version = "5.0.4"; 661 }; 662 metasploit-framework = { 663 groups = ["default"]; 664 platforms = []; 665 source = { 666 fetchSubmodules = false; 667 - rev = "6dddd6d372c75acadc183f6a4efdd44e453559b4"; 668 - sha256 = "1jq77lfgdhchfiwlwz0pq0w1qxwq90nzi7b1x2yqvzp8f118sdak"; 669 type = "git"; 670 url = "https://github.com/rapid7/metasploit-framework"; 671 }; 672 - version = "6.1.7"; 673 }; 674 metasploit-model = { 675 groups = ["default"]; ··· 686 platforms = []; 687 source = { 688 remotes = ["https://rubygems.org"]; 689 - sha256 = "0javwkzhfngjdhz8rn566gli3a0jd1ns6hajim1nwwwiaici2bdc"; 690 type = "gem"; 691 }; 692 - version = "2.0.54"; 693 }; 694 metasploit_data_models = { 695 groups = ["default"]; ··· 706 platforms = []; 707 source = { 708 remotes = ["https://rubygems.org"]; 709 - sha256 = "12mm3bqcirbzn7337zg96w79i6in49z2gmg41cwjywi1p2iawk61"; 710 type = "gem"; 711 }; 712 - version = "1.0.10"; 713 }; 714 method_source = { 715 groups = ["default"]; ··· 857 platforms = []; 858 source = { 859 remotes = ["https://rubygems.org"]; 860 - sha256 = "1sad16idsxayhaaswc3bksii1ydiqyzikl7y0ng35cn7w4g1dv3z"; 861 type = "gem"; 862 }; 863 - version = "1.12.4"; 864 }; 865 nori = { 866 groups = ["default"]; ··· 1127 platforms = []; 1128 source = { 1129 remotes = ["https://rubygems.org"]; 1130 - sha256 = "0b0f9s18d2ax2k1xmwrvr97gxh8gfm79kfibv55fqmv846vgkkvk"; 1131 type = "gem"; 1132 }; 1133 - version = "0.1.17"; 1134 }; 1135 rex-encoder = { 1136 groups = ["default"];
··· 104 platforms = []; 105 source = { 106 remotes = ["https://rubygems.org"]; 107 + sha256 = "1lszcza7k1jc57pivjajz1bdgsg3bxfp60phsidv729yhjw3yzwv"; 108 type = "gem"; 109 }; 110 + version = "1.510.0"; 111 }; 112 aws-sdk-core = { 113 groups = ["default"]; ··· 654 platforms = []; 655 source = { 656 remotes = ["https://rubygems.org"]; 657 + sha256 = "0a17zm8cq71rd8qilxai7s3dzb8n5lzvjfwyxk7slblfcgbsl9np"; 658 type = "gem"; 659 }; 660 + version = "5.0.5"; 661 }; 662 metasploit-framework = { 663 groups = ["default"]; 664 platforms = []; 665 source = { 666 fetchSubmodules = false; 667 + rev = "d50b53eafca062b7270a91894e4e9de7a526aa10"; 668 + sha256 = "0y2aczr7xzm9lar8dh6wp6vjqgfpjjw8hnlq02ra7cbbzs1b2dr8"; 669 type = "git"; 670 url = "https://github.com/rapid7/metasploit-framework"; 671 }; 672 + version = "6.1.8"; 673 }; 674 metasploit-model = { 675 groups = ["default"]; ··· 686 platforms = []; 687 source = { 688 remotes = ["https://rubygems.org"]; 689 + sha256 = "05z0lqa2w6n1nqw3k2s0cxfbqa7bf1p199gccfahjyxjn9xzhcf7"; 690 type = "gem"; 691 }; 692 + version = "2.0.58"; 693 }; 694 metasploit_data_models = { 695 groups = ["default"]; ··· 706 platforms = []; 707 source = { 708 remotes = ["https://rubygems.org"]; 709 + sha256 = "108jm8nz4xs62k33w5frw15xadd17pbmwpczhvcpzh3bf54sihsr"; 710 type = "gem"; 711 }; 712 + version = "1.0.13"; 713 }; 714 method_source = { 715 groups = ["default"]; ··· 857 platforms = []; 858 source = { 859 remotes = ["https://rubygems.org"]; 860 + sha256 = "1v02g7k7cxiwdcahvlxrmizn3avj2q6nsjccgilq1idc89cr081b"; 861 type = "gem"; 862 }; 863 + version = "1.12.5"; 864 }; 865 nori = { 866 groups = ["default"]; ··· 1127 platforms = []; 1128 source = { 1129 remotes = ["https://rubygems.org"]; 1130 + sha256 = "1i3rn2ndf9ijgjfn3c8rpblw8lnqynm2flmfmm6dbfhjyhhawnaz"; 1131 type = "gem"; 1132 }; 1133 + version = "0.1.18"; 1134 }; 1135 rex-encoder = { 1136 groups = ["default"];
+5 -3
pkgs/top-level/all-packages.nix
··· 13462 13463 abuild = callPackage ../development/tools/abuild { }; 13464 13465 adtool = callPackage ../tools/admin/adtool { }; 13466 13467 inherit (callPackage ../development/tools/alloy { ··· 25664 25665 fluxcd = callPackage ../applications/networking/cluster/fluxcd { }; 25666 25667 - linkerd_edge = (callPackage ../applications/networking/cluster/linkerd { }).edge; 25668 - linkerd_stable = (callPackage ../applications/networking/cluster/linkerd { }).stable; 25669 - linkerd = linkerd_stable; 25670 25671 kile-wl = callPackage ../applications/misc/kile-wl { }; 25672
··· 13462 13463 abuild = callPackage ../development/tools/abuild { }; 13464 13465 + actionlint = callPackage ../development/tools/analysis/actionlint { }; 13466 + 13467 adtool = callPackage ../tools/admin/adtool { }; 13468 13469 inherit (callPackage ../development/tools/alloy { ··· 25666 25667 fluxcd = callPackage ../applications/networking/cluster/fluxcd { }; 25668 25669 + linkerd = callPackage ../applications/networking/cluster/linkerd { }; 25670 + linkerd_edge = callPackage ../applications/networking/cluster/linkerd/edge.nix { }; 25671 + linkerd_stable = linkerd; 25672 25673 kile-wl = callPackage ../applications/misc/kile-wl { }; 25674
+7 -1
pkgs/top-level/python-packages.nix
··· 623 624 async-lru = callPackage ../development/python-modules/async-lru { }; 625 626 asynccmd = callPackage ../development/python-modules/asynccmd { }; 627 628 asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { }; ··· 741 742 aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { }; 743 744 - awscrt = callPackage ../development/python-modules/awscrt { }; 745 746 awsiotpythonsdk = callPackage ../development/python-modules/awsiotpythonsdk { }; 747 ··· 5640 python-izone = callPackage ../development/python-modules/python-izone { }; 5641 5642 python-juicenet = callPackage ../development/python-modules/python-juicenet { }; 5643 5644 python-keystoneclient = callPackage ../development/python-modules/python-keystoneclient { }; 5645
··· 623 624 async-lru = callPackage ../development/python-modules/async-lru { }; 625 626 + asyncclick = callPackage ../development/python-modules/asyncclick { }; 627 + 628 asynccmd = callPackage ../development/python-modules/asynccmd { }; 629 630 asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { }; ··· 743 744 aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { }; 745 746 + awscrt = callPackage ../development/python-modules/awscrt { 747 + inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security; 748 + }; 749 750 awsiotpythonsdk = callPackage ../development/python-modules/awsiotpythonsdk { }; 751 ··· 5644 python-izone = callPackage ../development/python-modules/python-izone { }; 5645 5646 python-juicenet = callPackage ../development/python-modules/python-juicenet { }; 5647 + 5648 + python-kasa = callPackage ../development/python-modules/python-kasa { }; 5649 5650 python-keystoneclient = callPackage ../development/python-modules/python-keystoneclient { }; 5651