Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
4611d043 2564b3d9

+228 -239
+3 -3
pkgs/applications/editors/android-studio/common.nix
··· 214 214 # source-code itself). 215 215 platforms = [ "x86_64-linux" ]; 216 216 maintainers = with maintainers; rec { 217 - stable = [ meutraa ]; 218 - beta = [ meutraa ]; 219 - canary = [ meutraa ]; 217 + stable = [ meutraa fabianhjr ]; 218 + beta = [ meutraa fabianhjr ]; 219 + canary = [ meutraa fabianhjr ]; 220 220 dev = canary; 221 221 }."${channel}"; 222 222 };
+2 -2
pkgs/applications/editors/android-studio/default.nix
··· 9 9 inherit buildFHSUserEnv; 10 10 }; 11 11 stableVersion = { 12 - version = "2020.3.1.24"; # "Android Studio Arctic Fox (2020.3.1)" 13 - sha256Hash = "0k8jcq8vpjayvwm9wqcrjhnp7dly0h4bb8nxspck5zmi8q2ar67l"; 12 + version = "2020.3.1.25"; # "Android Studio Arctic Fox (2020.3.1)" 13 + sha256Hash = "10gpwb130bzp6a9g958cjqcb2gsm0vdgm08nm5xy45xdh54nxjfg"; 14 14 }; 15 15 betaVersion = { 16 16 version = "2021.1.1.14"; # "Android Studio Bumblebee (2021.1.1) Beta 1"
+2 -2
pkgs/applications/misc/themechanger/default.nix
··· 15 15 16 16 python3Packages.buildPythonApplication rec { 17 17 pname = "themechanger"; 18 - version = "0.10.1"; 18 + version = "0.10.2"; 19 19 format = "other"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "ALEX11BR"; 23 23 repo = "ThemeChanger"; 24 24 rev = "v${version}"; 25 - sha256 = "1bxxn5bmdwaxfvyh6z2rxklwnxgvv6kh5y9m8r1k7d0n4msx1x2h"; 25 + sha256 = "00z1npm3lpvf0wc9z2v58pc4nxxh8x9m158kxf1k0qlz536jrzqr"; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+9 -9
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 1 1 { 2 2 "stable": { 3 - "version": "94.0.4606.81", 4 - "sha256": "16755mfqxxmvslm9ix060safrnml91ckj5p85960jj5g5hmslwbh", 5 - "sha256bin64": "1d3z5np6b6jax7afak7f0yh76kmmdggdjlrzwyhy8hgrv7c7rsdz", 3 + "version": "95.0.4638.54", 4 + "sha256": "1zb1009gg9962axn2l1krycz7ml20i8z2n3ka2psxpg68pbqivry", 5 + "sha256bin64": "0mf9jfzwz6nkz1yg8lndz1gmsvmdh1rxhqkv0vd9nr04h5x9b41a", 6 6 "deps": { 7 7 "gn": { 8 8 "version": "2021-08-11", ··· 12 12 } 13 13 }, 14 14 "chromedriver": { 15 - "version": "94.0.4606.61", 16 - "sha256_linux": "1l7ls8qqqd9q3a20a459q40jd9djzf67s8qfdmfj44vwgidiw0fj", 17 - "sha256_darwin": "1b43agdd6vw5zarrbbk1sgmdr6n3d9cdl4dcikk304yplh58d49v" 15 + "version": "95.0.4638.17", 16 + "sha256_linux": "0jqq2h3rjancq9gk4w29gcr4b3z4irnkbvcj97fdsnksck9y5h2q", 17 + "sha256_darwin": "0vl73i28xq3z5njg4287j08pb2sfd28amc8hkm4ddq5dgqpim0l8" 18 18 } 19 19 }, 20 20 "beta": { 21 - "version": "95.0.4638.49", 22 - "sha256": "11fiq6p2d99hl166pf39g83pk7m7ibi1zz19wj7qmcc7ql7006jz", 23 - "sha256bin64": "04s81fnr01jq74fpl5n6jg8iw5iw6sdwyz40zja68h1crxh5d6d6", 21 + "version": "95.0.4638.54", 22 + "sha256": "1zb1009gg9962axn2l1krycz7ml20i8z2n3ka2psxpg68pbqivry", 23 + "sha256bin64": "06d0kjnrv8z74icc6nahllxbwn3xxwn0vgc7ss47402zrqig8lch", 24 24 "deps": { 25 25 "gn": { 26 26 "version": "2021-08-11",
+4 -4
pkgs/applications/networking/cluster/fluxcd/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }: 2 2 3 3 let 4 - version = "0.17.2"; 5 - sha256 = "0kcdx4ldnshk4pqq37a7p08xr5cpsjrbrifk9fc3jbiw39m09mhf"; 6 - manifestsSha256 = "1v6md4xh4sq1vmb5a8qvb66l101fq75lmv2s4j2z3walssb5mmgj"; 4 + version = "0.18.3"; 5 + sha256 = "0nvvjc0ml1irn7vxyq4m43qimp128cx8hczk21y5m39i2rg4yzx4"; 6 + manifestsSha256 = "1qgw9ij0b85vvdx03wmbbwanhq1hf69wphy58lsqwf33rdq0bb1m"; 7 7 8 8 manifests = fetchzip { 9 9 url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; ··· 23 23 inherit sha256; 24 24 }; 25 25 26 - vendorSha256 = "sha256-glifJ0V3RwS7E6EWZsCa88m0MK883RhPSXCsAmMggVs="; 26 + vendorSha256 = "0vgi5cnvmc98xa2ibpgvvqlc90hf3gj3v17yqncid596ig3dnqsc"; 27 27 28 28 nativeBuildInputs = [ installShellFiles ]; 29 29
+2 -2
pkgs/applications/networking/cluster/fluxcd/update.sh
··· 20 20 setKV version ${VERSION} 21 21 setKV sha256 ${SHA256} 22 22 setKV manifestsSha256 ${SPEC_SHA256} 23 - setKV vendorSha256 "" 23 + setKV vendorSha256 "0000000000000000000000000000000000000000000000000000" # The same as lib.fakeSha256 24 24 25 25 cd ../../../../../ 26 26 set +e 27 - VENDOR_SHA256=$(nix-build --no-out-link -A fluxcd 2>&1 | grep "got:" | cut -d':' -f2 | sed 's| ||g') 27 + VENDOR_SHA256=$(nix-build --no-out-link -A fluxcd 2>&1 | grep "got:" | cut -d':' -f3) 28 28 set -e 29 29 30 30 cd - > /dev/null
+10 -15
pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix
··· 1 - { lib, stdenv, bitlbee }: 1 + { lib, runCommandLocal, bitlbee }: 2 2 3 3 with lib; 4 4 5 - plugins: 6 - 7 - stdenv.mkDerivation { 8 - inherit bitlbee plugins; 9 - name = "bitlbee-plugins"; 5 + plugins: runCommandLocal "bitlbee-plugins" { 6 + inherit plugins; 10 7 buildInputs = [ bitlbee plugins ]; 11 - phases = [ "installPhase" ]; 12 - installPhase = '' 13 - mkdir -p $out/lib/bitlbee 14 - for plugin in $plugins; do 15 - for thing in $(ls $plugin/lib/bitlbee); do 16 - ln -s $plugin/lib/bitlbee/$thing $out/lib/bitlbee/ 17 - done 8 + } '' 9 + mkdir -p $out/lib/bitlbee 10 + for plugin in $plugins; do 11 + for thing in $(ls $plugin/lib/bitlbee); do 12 + ln -s $plugin/lib/bitlbee/$thing $out/lib/bitlbee/ 18 13 done 19 - ''; 20 - } 14 + done 15 + ''
+1 -1
pkgs/applications/science/electronics/kicad/base.nix
··· 183 183 Just the build products, optionally with the i18n linked in 184 184 the libraries are passed via an env var in the wrapper, default.nix 185 185 ''; 186 - homepage = "https://www.kicad-pcb.org/"; 186 + homepage = "https://www.kicad.org/"; 187 187 license = lib.licenses.agpl3; 188 188 platforms = lib.platforms.all; 189 189 };
+1 -1
pkgs/applications/science/electronics/kicad/default.nix
··· 277 277 then "Open Source Electronics Design Automation suite" 278 278 else "Open Source EDA suite, development build") 279 279 + (if (!with3d) then ", without 3D models" else ""); 280 - homepage = "https://www.kicad-pcb.org/"; 280 + homepage = "https://www.kicad.org/"; 281 281 longDescription = '' 282 282 KiCad is an open source software suite for Electronic Design Automation. 283 283 The Programs handle Schematic Capture, and PCB Layout with Gerber output.
+1 -1
pkgs/desktops/enlightenment/terminology/default.nix
··· 5 5 version = "1.10.0"; 6 6 7 7 src = fetchurl { 8 - url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz"; 8 + url = "https://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz"; 9 9 sha256 = "0imk7cjkcjss3zf4hjwmy54pbizm6l6pq553jcx7bpsnhs56bbsz"; 10 10 }; 11 11
+2 -2
pkgs/development/python-modules/fjaraskupan/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "fjaraskupan"; 12 - version = "1.0.1"; 12 + version = "1.0.2"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.8"; ··· 18 18 owner = "elupus"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "0r6l9cbl41ddg4mhw9g9rly9r7s70sscg1ysb99bsi8z6xml9za3"; 21 + sha256 = "sha256-nUrgV4keJpYRkKZE+udvmPdCW3O3YQTS1ye40IdA7vA="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-kms/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "google-cloud-kms"; 15 - version = "2.9.0"; 15 + version = "2.10.0"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "bedd376807ab3dde08f2d92caa0e4e5ad7c2ccfc7069561e80964b998a0d8f51"; 19 + sha256 = "e34d506596ebb6e285d8500342587e8ec0bd31924f290f1f39cc4ea2e4f1abfb"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
+2 -2
pkgs/development/python-modules/google-cloud-org-policy/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "google-cloud-org-policy"; 5 - version = "1.1.0"; 5 + version = "1.2.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "8ad50ce9145c3b477536752785635295c318b2b123bc9d251020cc1cfe98b131"; 9 + sha256 = "c6811f8bde6019b18f5f0d154078000405af6fd38836713c05cbb9c1512f181a"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ google-api-core proto-plus ];
+2 -2
pkgs/development/python-modules/google-cloud-translate/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "google-cloud-translate"; 17 - version = "3.5.0"; 17 + version = "3.6.0"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "49c91574e04d52fc7c0fade95dd5e6ccb51190ab8b419352d008a617c7799879"; 21 + sha256 = "32c73dd13e64ec16d38462305cef9c0add887e815c312ba5bb3c57077903f2a6"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/millheater/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "millheater"; 13 - version = "0.6.2"; 13 + version = "0.7.3"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "Danielhiversen"; 18 18 repo = "pymill"; 19 19 rev = version; 20 - sha256 = "sha256-CG0hQN4m8EE+j5yUqODJX8/DLTVWS9tSPADSDHl6K9o="; 20 + sha256 = "sha256-WMw07mNvQdrqm5cf3+YWRZsZQ59vOqYSps26scPFpNI="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+156
pkgs/misc/vscode-extensions/_maintainers/update-bin-srcs-lib.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + prefetchExtensionZip() { 4 + declare publisher="${1?}" 5 + declare name="${2?}" 6 + declare version="${3?}" 7 + 8 + 1>&2 echo 9 + 1>&2 echo "------------- Downloading extension ---------------" 10 + 11 + declare extZipStoreName="${publisher}-${name}.zip" 12 + declare extUrl="https://${publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${publisher}/extension/${name}/${version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"; 13 + 1>&2 echo "extUrl='$extUrl'" 14 + declare nixPrefetchArgs=( --name "$extZipStoreName" --print-path "$extUrl" ) 15 + 16 + 1>&2 printf "$ nix-prefetch-url" 17 + 1>&2 printf " %q" "${nixPrefetchArgs[@]}" 18 + 1>&2 printf " 2> /dev/null\n" 19 + declare zipShaWStorePath 20 + zipShaWStorePath=$(nix-prefetch-url "${nixPrefetchArgs[@]}" 2> /dev/null) 21 + 22 + 1>&2 echo "zipShaWStorePath='$zipShaWStorePath'" 23 + echo "$zipShaWStorePath" 24 + } 25 + 26 + 27 + prefetchExtensionUnpacked() { 28 + declare publisher="${1?}" 29 + declare name="${2?}" 30 + declare version="${3?}" 31 + 32 + declare zipShaWStorePath 33 + zipShaWStorePath="$(prefetchExtensionZip "$publisher" "$name" "$version")" 34 + 35 + declare zipStorePath 36 + zipStorePath="$(echo "$zipShaWStorePath" | tail -n1)" 37 + 1>&2 echo "zipStorePath='$zipStorePath'" 38 + 39 + function rm_tmpdir() { 40 + 1>&2 printf "rm -rf -- %q\n" "$tmpDir" 41 + rm -rf -- "$tmpDir" 42 + unset tmpDir 43 + trap - INT TERM HUP EXIT 44 + } 45 + function make_trapped_tmpdir() { 46 + tmpDir=$(mktemp -d) 47 + trap rm_tmpdir INT TERM HUP EXIT 48 + } 49 + 50 + 1>&2 echo 51 + 1>&2 echo "------------- Unpacking extension ---------------" 52 + 53 + make_trapped_tmpdir 54 + declare unzipArgs=( -q -d "$tmpDir" "$zipStorePath" ) 55 + 1>&2 printf "$ unzip" 56 + 1>&2 printf " %q" "${unzipArgs[@]}" 57 + 1>&2 printf "\n" 58 + unzip "${unzipArgs[@]}" 59 + 60 + declare unpackedStoreName="${publisher}-${name}" 61 + 62 + declare unpackedStorePath 63 + unpackedStorePath="$(nix add-to-store -n "$unpackedStoreName" "$tmpDir")" 64 + declare unpackedSha256 65 + unpackedSha256="$(nix hash-path --base32 --type sha256 "$unpackedStorePath")" 66 + 1>&2 echo "unpackedStorePath='$unpackedStorePath'" 67 + 1>&2 echo "unpackedSha256='$unpackedSha256'" 68 + 69 + rm_tmpdir 70 + 71 + echo "$unpackedSha256" 72 + echo "$unpackedStorePath" 73 + } 74 + 75 + 76 + prefetchExtensionJson() { 77 + declare publisher="${1?}" 78 + declare name="${2?}" 79 + declare version="${3?}" 80 + 81 + declare unpackedShaWStorePath 82 + unpackedShaWStorePath="$(prefetchExtensionUnpacked "$publisher" "$name" "$version")" 83 + 84 + declare unpackedStorePath 85 + unpackedStorePath="$(echo "$unpackedShaWStorePath" | tail -n1)" 86 + 1>&2 echo "unpackedStorePath='$unpackedStorePath'" 87 + 88 + declare jsonShaWStorePath 89 + jsonShaWStorePath=$(nix-prefetch-url --print-path "file://${unpackedStorePath}/extension/package.json" 2> /dev/null) 90 + 91 + 1>&2 echo "jsonShaWStorePath='$jsonShaWStorePath'" 92 + echo "$jsonShaWStorePath" 93 + } 94 + 95 + 96 + formatExtRuntimeDeps() { 97 + declare publisher="${1?}" 98 + declare name="${2?}" 99 + declare version="${3?}" 100 + 101 + declare jsonShaWStorePath 102 + jsonShaWStorePath="$(prefetchExtensionJson "$publisher" "$name" "$version")" 103 + 104 + declare jsonStorePath 105 + jsonStorePath="$(echo "$jsonShaWStorePath" | tail -n1)" 106 + 1>&2 echo "jsonStorePath='$jsonStorePath'" 107 + 108 + declare jqQuery 109 + jqQuery=$(cat <<'EOF' 110 + .runtimeDependencies 111 + | map(select(.platforms[] | in({"linux": null}))) 112 + | map(select(.architectures[] | in({"x86_64": null}))) 113 + | .[] | { 114 + (.id + "__" + (.architectures[0]) + "-" + (.platforms[0])): 115 + {installPath, binaries, urls: [.url, .fallbackUrl] | map(select(. != null))} 116 + } 117 + EOF 118 + ) 119 + 120 + 1>&2 printf "$ cat %q | jq '%s'\n" "$jsonStorePath" "$jqQuery" 121 + cat "$jsonStorePath" | jq "$jqQuery" 122 + } 123 + 124 + 125 + computeExtRtDepChecksum() { 126 + declare rtDepJsonObject="${1?}" 127 + declare url 128 + url="$(echo "$rtDepJsonObject" | jq -j '.[].urls[0]')" 129 + declare sha256 130 + 1>&2 printf "$ nix-prefetch-url '%s'\n" "$url" 131 + sha256="$(nix-prefetch-url "$url")" 132 + 1>&2 echo "$sha256" 133 + echo "$sha256" 134 + } 135 + 136 + 137 + computeAndAttachExtRtDepsChecksums() { 138 + while read -r rtDepJsonObject; do 139 + declare sha256 140 + sha256="$(computeExtRtDepChecksum "$rtDepJsonObject")" 141 + echo "$rtDepJsonObject" | jq --arg sha256 "$sha256" '.[].sha256 = $sha256' 142 + done < <(cat - | jq -c '.') 143 + } 144 + 145 + 146 + jqStreamToJson() { 147 + cat - | jq --slurp '. | add' 148 + } 149 + 150 + 151 + jsonToNix() { 152 + # TODO: Replacing this non functional stuff with a proper json to nix 153 + # implementation would allow us to produce a 'rt-deps-bin-srcs.nix' file instead. 154 + false 155 + cat - | sed -E -e 's/": /" = /g' -e 's/,$/;/g' -e 's/ }$/ };/g' -e 's/ ]$/ ];/g' 156 + }
+6 -10
pkgs/misc/vscode-extensions/ms-dotnettools-csharp/default.nix
··· 18 18 rtDepsBinSrcs = builtins.mapAttrs (k: v: 19 19 let 20 20 # E.g: "OmniSharp-x86_64-linux" 21 - kSplit = builtins.split "(-)" k; 21 + kSplit = builtins.split "(__)" k; 22 22 name = builtins.elemAt kSplit 0; 23 - arch = builtins.elemAt kSplit 2; 24 - platform = builtins.elemAt kSplit 4; 23 + system = builtins.elemAt kSplit 2; 25 24 in 26 25 { 27 - inherit name arch platform; 26 + inherit name system; 28 27 installPath = v.installPath; 29 28 binaries = v.binaries; 30 29 bin-src = fetchurl { ··· 35 34 ) 36 35 rtDepsSrcsFromJson; 37 36 38 - arch = "x86_64"; 39 - platform = "linux"; 40 - 41 37 rtDepBinSrcByName = bSrcName: 42 - rtDepsBinSrcs."${bSrcName}-${arch}-${platform}"; 38 + rtDepsBinSrcs."${bSrcName}__${stdenv.targetPlatform.system}"; 43 39 44 40 omnisharp = rtDepBinSrcByName "OmniSharp"; 45 41 vsdbg = rtDepBinSrcByName "Debugger"; ··· 50 46 mktplcRef = { 51 47 name = "csharp"; 52 48 publisher = "ms-dotnettools"; 53 - version = "1.23.2"; 54 - sha256 = "0ydaiy8jfd1bj50bqiaz5wbl7r6qwmbz9b29bydimq0rdjgapaar"; 49 + version = "1.23.15"; 50 + sha256 = "0b74jr45zl7lzirjgj8s2lbf3viy9pbwlgjh055rcwmy77wcml1x"; 55 51 }; 56 52 57 53 nativeBuildInputs = [
+12 -13
pkgs/misc/vscode-extensions/ms-dotnettools-csharp/rt-deps-bin-srcs.json
··· 1 1 { 2 - "OmniSharp-x86_64-linux": { 3 - "installPath": ".omnisharp/1.37.1", 2 + "OmniSharp__x86_64-linux": { 3 + "installPath": ".omnisharp/1.37.15", 4 4 "binaries": [ 5 5 "./mono.linux-x86_64", 6 6 "./run" 7 7 ], 8 8 "urls": [ 9 - "https://download.visualstudio.microsoft.com/download/pr/46933d64-075c-4f9f-b205-da4a839e2e3c/4bba2c3f40106056b53721c164ff86fa/omnisharp-linux-x64-1.37.1.zip", 10 - "https://roslynomnisharp.blob.core.windows.net/releases/1.37.1/omnisharp-linux-x64-1.37.1.zip" 9 + "https://download.visualstudio.microsoft.com/download/pr/4fbf71ce-5375-4ca9-b70d-8024ba1b9e0a/b96375395e639233d546a4937be3bd32/omnisharp-linux-x64-1.37.15.zip", 10 + "https://roslynomnisharp.blob.core.windows.net/releases/1.37.15/omnisharp-linux-x64-1.37.15.zip" 11 11 ], 12 - "sha256": "0yzxkbq0fyq2bv0s7qmycxl0w54lla0vykg1a5lpv9j38k062vvz" 12 + "sha256": "0pchywkxy8niq0i6gq2r43cmf58blfhhj8w8zyibf0m9h09h165s" 13 13 }, 14 - "Debugger-x86_64-linux": { 14 + "Debugger__x86_64-linux": { 15 15 "installPath": ".debugger", 16 16 "binaries": [ 17 17 "./vsdbg-ui", 18 18 "./vsdbg" 19 19 ], 20 20 "urls": [ 21 - "https://download.visualstudio.microsoft.com/download/pr/292d2e01-fb93-455f-a6b3-76cddad4f1ef/2e9b8bc5431d8f6c56025e76eaabbdff/coreclr-debug-linux-x64.zip", 22 - "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-22-2/coreclr-debug-linux-x64.zip" 21 + "https://download.visualstudio.microsoft.com/download/pr/49f44239-bd47-4fb5-91be-4c91d7638fff/dd019b4c839f458596e26bfcfe6a3e7f/coreclr-debug-linux-x64.zip", 22 + "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-23-14/coreclr-debug-linux-x64.zip" 23 23 ], 24 - "sha256": "1lhyjq6g6lc1b4n4z57g0ssr5msqgsmrl8yli8j9ah5s3jq1lrda" 24 + "sha256": "0c5y0035sa07bl3m3iiqccqd92xjwpcfjrqhmi5xligk40q2i2gk" 25 25 }, 26 - "Razor-x86_64-linux": { 26 + "Razor__x86_64-linux": { 27 27 "installPath": ".razor", 28 28 "binaries": [ 29 29 "./rzls" 30 30 ], 31 31 "urls": [ 32 - "https://download.visualstudio.microsoft.com/download/pr/757f5246-2b09-43fe-9a8d-840cfd15092b/2b6d8eee0470acf725c1c7a09f8b6475/razorlanguageserver-linux-x64-6.0.0-alpha.1.20418.9.zip", 33 - "https://razorvscodetest.blob.core.windows.net/languageserver/RazorLanguageServer-linux-x64-6.0.0-alpha.1.20418.9.zip" 32 + "https://download.visualstudio.microsoft.com/download/pr/b8678010-2cd7-4201-a5e7-ba57920607d5/b846e9c7d7afdba54a72fae1dcb6c42c/razorlanguageserver-linux-x64-6.0.0-preview.5.21358.6.zip" 34 33 ], 35 - "sha256": "1hksxq867anb9h040497phszq64f6krg4a46w0xqrm6crj8znqr5" 34 + "sha256": "0gb36nlb7fgcv03a0awna1qyrsky6ys5gkpsmvxc5j35f1yq337b" 36 35 } 37 36 }
+2 -6
pkgs/misc/vscode-extensions/ms-dotnettools-csharp/update-bin-srcs
··· 6 6 scriptDir=$(cd "$(dirname "$0")"; pwd) 7 7 1>&2 echo "scriptDir='$scriptDir'" 8 8 9 - . "$scriptDir/update-bin-srcs-lib.sh" 9 + . "$scriptDir/../_maintainers/update-bin-srcs-lib.sh" 10 10 11 11 declare extPublisher="ms-dotnettools" 12 12 declare extName="csharp" 13 - declare defaultExtVersion="1.23.2" 13 + declare defaultExtVersion="1.23.15" 14 14 declare extVersion="${1:-$defaultExtVersion}" 15 15 16 16 formatExtRuntimeDeps \ ··· 19 19 | jqStreamToJson \ 20 20 | tee "$scriptDir/rt-deps-bin-srcs.json" \ 21 21 | jq '.' 22 - 23 - # TODO: Unfortunatly no simple json to nix implementation available. 24 - # This would allow us to dump to './rt-deps-bin-srcs.nix' instead. 25 - # jsonToNix
-154
pkgs/misc/vscode-extensions/ms-dotnettools-csharp/update-bin-srcs-lib.sh
··· 1 - #!/usr/bin/env bash 2 - 3 - prefetchExtensionZip() { 4 - declare publisher="${1?}" 5 - declare name="${2?}" 6 - declare version="${3?}" 7 - 8 - 1>&2 echo 9 - 1>&2 echo "------------- Downloading extension ---------------" 10 - 11 - declare extZipStoreName="${publisher}-${name}.zip" 12 - declare extUrl="https://${publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${publisher}/extension/${name}/${version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"; 13 - 1>&2 echo "extUrl='$extUrl'" 14 - declare nixPrefetchArgs=( --name "$extZipStoreName" --print-path "$extUrl" ) 15 - 16 - 1>&2 printf "$ nix-prefetch-url" 17 - 1>&2 printf " %q" "${nixPrefetchArgs[@]}" 18 - 1>&2 printf " 2> /dev/null\n" 19 - declare zipShaWStorePath 20 - zipShaWStorePath=$(nix-prefetch-url "${nixPrefetchArgs[@]}" 2> /dev/null) 21 - 22 - 1>&2 echo "zipShaWStorePath='$zipShaWStorePath'" 23 - echo "$zipShaWStorePath" 24 - } 25 - 26 - 27 - prefetchExtensionUnpacked() { 28 - declare publisher="${1?}" 29 - declare name="${2?}" 30 - declare version="${3?}" 31 - 32 - declare zipShaWStorePath 33 - zipShaWStorePath="$(prefetchExtensionZip "$publisher" "$name" "$version")" 34 - 35 - declare zipStorePath 36 - zipStorePath="$(echo "$zipShaWStorePath" | tail -n1)" 37 - 1>&2 echo "zipStorePath='$zipStorePath'" 38 - 39 - function rm_tmpdir() { 40 - 1>&2 printf "rm -rf -- %q\n" "$tmpDir" 41 - rm -rf -- "$tmpDir" 42 - unset tmpDir 43 - trap - INT TERM HUP EXIT 44 - } 45 - function make_trapped_tmpdir() { 46 - tmpDir=$(mktemp -d) 47 - trap rm_tmpdir INT TERM HUP EXIT 48 - } 49 - 50 - 1>&2 echo 51 - 1>&2 echo "------------- Unpacking extension ---------------" 52 - 53 - make_trapped_tmpdir 54 - declare unzipArgs=( -q -d "$tmpDir" "$zipStorePath" ) 55 - 1>&2 printf "$ unzip" 56 - 1>&2 printf " %q" "${unzipArgs[@]}" 57 - 1>&2 printf "\n" 58 - unzip "${unzipArgs[@]}" 59 - 60 - declare unpackedStoreName="${publisher}-${name}" 61 - 62 - declare unpackedStorePath 63 - unpackedStorePath="$(nix add-to-store -n "$unpackedStoreName" "$tmpDir")" 64 - declare unpackedSha256 65 - unpackedSha256="$(nix hash-path --base32 --type sha256 "$unpackedStorePath")" 66 - 1>&2 echo "unpackedStorePath='$unpackedStorePath'" 67 - 1>&2 echo "unpackedSha256='$unpackedSha256'" 68 - 69 - rm_tmpdir 70 - 71 - echo "$unpackedSha256" 72 - echo "$unpackedStorePath" 73 - } 74 - 75 - 76 - prefetchExtensionJson() { 77 - declare publisher="${1?}" 78 - declare name="${2?}" 79 - declare version="${3?}" 80 - 81 - declare unpackedShaWStorePath 82 - unpackedShaWStorePath="$(prefetchExtensionUnpacked "$publisher" "$name" "$version")" 83 - 84 - declare unpackedStorePath 85 - unpackedStorePath="$(echo "$unpackedShaWStorePath" | tail -n1)" 86 - 1>&2 echo "unpackedStorePath='$unpackedStorePath'" 87 - 88 - declare jsonShaWStorePath 89 - jsonShaWStorePath=$(nix-prefetch-url --print-path "file://${unpackedStorePath}/extension/package.json" 2> /dev/null) 90 - 91 - 1>&2 echo "jsonShaWStorePath='$jsonShaWStorePath'" 92 - echo "$jsonShaWStorePath" 93 - } 94 - 95 - 96 - formatExtRuntimeDeps() { 97 - declare publisher="${1?}" 98 - declare name="${2?}" 99 - declare version="${3?}" 100 - 101 - declare jsonShaWStorePath 102 - jsonShaWStorePath="$(prefetchExtensionJson "$publisher" "$name" "$version")" 103 - 104 - declare jsonStorePath 105 - jsonStorePath="$(echo "$jsonShaWStorePath" | tail -n1)" 106 - 1>&2 echo "jsonStorePath='$jsonStorePath'" 107 - 108 - declare jqQuery 109 - jqQuery=$(cat <<'EOF' 110 - .runtimeDependencies \ 111 - | map(select(.platforms[] | in({"linux": null}))) \ 112 - | map(select(.architectures[] | in({"x86_64": null}))) \ 113 - | .[] | {(.id + "-" + (.architectures[0]) + "-" + (.platforms[0])): \ 114 - {installPath, binaries, urls: [.url, .fallbackUrl]}} 115 - EOF 116 - ) 117 - 118 - 1>&2 printf "$ cat %q | jq '%s'\n" "$jsonStorePath" "$jqQuery" 119 - cat "$jsonStorePath" | jq "$jqQuery" 120 - } 121 - 122 - 123 - computeExtRtDepChecksum() { 124 - declare rtDepJsonObject="${1?}" 125 - declare url 126 - url="$(echo "$rtDepJsonObject" | jq -j '.[].urls[0]')" 127 - declare sha256 128 - 1>&2 printf "$ nix-prefetch-url '%s'\n" "$url" 129 - sha256="$(nix-prefetch-url "$url")" 130 - 1>&2 echo "$sha256" 131 - echo "$sha256" 132 - } 133 - 134 - 135 - computeAndAttachExtRtDepsChecksums() { 136 - while read -r rtDepJsonObject; do 137 - declare sha256 138 - sha256="$(computeExtRtDepChecksum "$rtDepJsonObject")" 139 - echo "$rtDepJsonObject" | jq --arg sha256 "$sha256" '.[].sha256 = $sha256' 140 - done < <(cat - | jq -c '.') 141 - } 142 - 143 - 144 - jqStreamToJson() { 145 - cat - | jq --slurp '. | add' 146 - } 147 - 148 - 149 - jsonToNix() { 150 - # TODO: Replacing this non functional stuff with a proper json to nix 151 - # implementation would allow us to produce a 'rt-deps-bin-srcs.nix' file instead. 152 - false 153 - cat - | sed -E -e 's/": /" = /g' -e 's/,$/;/g' -e 's/ }$/ };/g' -e 's/ ]$/ ];/g' 154 - }
+3 -3
pkgs/tools/admin/procs/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "procs"; 5 - version = "0.11.9"; 5 + version = "0.11.10"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "dalance"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-zqRjMCyFT7knI1/zH+RF1pA/OKaDhJZLLjWJhfmqopE="; 11 + sha256 = "sha256-kt1qv4x48qXzlqvV2nfFXkYzgeC4m+rA7NA+coznNno="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-W/ZMDbHC1VsllTSxCt77n4eb8Xgfj9YNx5NG5u+D+qA="; 14 + cargoSha256 = "sha256-itncLfIjNwwAO393gZ5xyRnig/N0JEovBQvOIAC4e9g="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+4 -3
pkgs/tools/system/btop/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 3 2 , stdenv 3 + , fetchFromGitHub 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "btop"; 8 - version = "1.0.16"; 8 + version = "1.0.18"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "aristocratos"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-navmEd77+LOvCpjPe6dReOYGO1wGRO3OGIv8mC05Kec="; 14 + sha256 = "sha256-TUrCSpwbUP28COHAAFIdR5Kw18I35nBkiKU62IHCN4o="; 15 15 }; 16 16 17 17 installFlags = [ "PREFIX=$(out)" ]; ··· 19 19 meta = with lib; { 20 20 description = "A monitor of resources"; 21 21 homepage = "https://github.com/aristocratos/btop"; 22 + changelog = "https://github.com/aristocratos/btop/blob/v${version}/CHANGELOG.md"; 22 23 license = licenses.asl20; 23 24 platforms = platforms.linux; 24 25 maintainers = with maintainers; [ rmcgibbo ];