Merge master into staging-next

authored by github-actions[bot] and committed by GitHub e50c762d d41df69d

+84 -49
+1 -1
nixos/modules/services/misc/gitlab.nix
··· 1231 services.dockerRegistry = optionalAttrs cfg.registry.enable { 1232 enable = true; 1233 enableDelete = true; # This must be true, otherwise GitLab won't manage it correctly 1234 - package = cfg.package; 1235 extraConfig = { 1236 auth.token = { 1237 realm = "http${optionalString (cfg.https == true) "s"}://${cfg.host}/jwt/auth";
··· 1231 services.dockerRegistry = optionalAttrs cfg.registry.enable { 1232 enable = true; 1233 enableDelete = true; # This must be true, otherwise GitLab won't manage it correctly 1234 + package = cfg.registry.package; 1235 extraConfig = { 1236 auth.token = { 1237 realm = "http${optionalString (cfg.https == true) "s"}://${cfg.host}/jwt/auth";
+3 -3
pkgs/applications/networking/cluster/karmor/default.nix
··· 2 3 buildGoModule rec { 4 pname = "karmor"; 5 - version = "0.13.1"; 6 7 src = fetchFromGitHub { 8 owner = "kubearmor"; 9 repo = "kubearmor-client"; 10 rev = "v${version}"; 11 - hash = "sha256-HSMyGA4S8VjEA2u4TbmH+qS5ZCsWBg+aTNhAbt4S6yY="; 12 }; 13 14 - vendorHash = "sha256-Rxm96sgdZFKuyQzT76WJHvzEM0tG2rvqnl7+umoFIMY="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 2 3 buildGoModule rec { 4 pname = "karmor"; 5 + version = "0.13.2"; 6 7 src = fetchFromGitHub { 8 owner = "kubearmor"; 9 repo = "kubearmor-client"; 10 rev = "v${version}"; 11 + hash = "sha256-IKvWS1c7u1a3Fm2+uyhhgyuM680ZYiq9Xq2Tg/Y6HJo="; 12 }; 13 14 + vendorHash = "sha256-xBtKKq6oUjazRac1FozRXBNRv1rFXYAulWu0Rs8ETvQ="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+2 -2
pkgs/applications/networking/cluster/pachyderm/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pachyderm"; 5 - version = "2.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "pachyderm"; 9 repo = "pachyderm"; 10 rev = "v${version}"; 11 - hash = "sha256-QWlNDnhcFXfCtX4J0V/hq6nFN0RjzYv29mI2zE2fyFo="; 12 }; 13 14 vendorHash = "sha256-3EG9d4ERaWuHaKFt0KFCOKIgTdrL7HZTO+GSi2RROKY=";
··· 2 3 buildGoModule rec { 4 pname = "pachyderm"; 5 + version = "2.6.1"; 6 7 src = fetchFromGitHub { 8 owner = "pachyderm"; 9 repo = "pachyderm"; 10 rev = "v${version}"; 11 + hash = "sha256-C3qzf/+A1pYTYR3FMtUuqZNU+j8oOHSBLDfyuWYCh5I="; 12 }; 13 14 vendorHash = "sha256-3EG9d4ERaWuHaKFt0KFCOKIgTdrL7HZTO+GSi2RROKY=";
+2 -2
pkgs/applications/networking/flexget/default.nix
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "flexget"; 9 - version = "3.7.2"; 10 format = "pyproject"; 11 12 # Fetch from GitHub in order to use `requirements.in` ··· 14 owner = "Flexget"; 15 repo = "Flexget"; 16 rev = "refs/tags/v${version}"; 17 - hash = "sha256-K71nawQhFYLPRg79rcZKJ+US+3M5JAU0eg+ZiFwB6n8="; 18 }; 19 20 postPatch = ''
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "flexget"; 9 + version = "3.7.4"; 10 format = "pyproject"; 11 12 # Fetch from GitHub in order to use `requirements.in` ··· 14 owner = "Flexget"; 15 repo = "Flexget"; 16 rev = "refs/tags/v${version}"; 17 + hash = "sha256-x5hwuc2yXDw8qWGLRJDH4V4rmvxjBKZaogmv4SxXoz4="; 18 }; 19 20 postPatch = ''
+2 -2
pkgs/applications/science/biology/fastp/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "fastp"; 11 - version = "0.23.3"; 12 13 src = fetchFromGitHub { 14 owner = "OpenGene"; 15 repo = "fastp"; 16 rev = "v${version}"; 17 - sha256 = "sha256-9YHm5LIKJJpMavlWMZXD5ZgTgT5w9eXuXwQVa/prux8="; 18 }; 19 20 buildInputs = [ zlib libdeflate isa-l ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "fastp"; 11 + version = "0.23.4"; 12 13 src = fetchFromGitHub { 14 owner = "OpenGene"; 15 repo = "fastp"; 16 rev = "v${version}"; 17 + sha256 = "sha256-hkCo8CiZNJuVcL9Eg/R7YzM7/FEcGEnovV325oWa7y8="; 18 }; 19 20 buildInputs = [ zlib libdeflate isa-l ];
+57 -16
pkgs/data/misc/v2ray-geoip/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub }: 2 3 - stdenv.mkDerivation rec { 4 - pname = "v2ray-geoip"; 5 - version = "202306010100"; 6 7 - src = fetchFromGitHub { 8 - owner = "v2fly"; 9 - repo = "geoip"; 10 - rev = "d8faa6ba0754c083a89898610942d1d1d978ef7f"; 11 - sha256 = "sha256-Aumk+YPsxZl3F/DQv6w0rE5f5hduLNYApCKQIvRUSIw="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 - install -m 0644 geoip.dat -D $out/share/v2ray/geoip.dat 17 runHook postInstall 18 ''; 19 20 - passthru.updateScript = ./update.sh; 21 22 - meta = with lib; { 23 - description = "GeoIP for V2Ray"; 24 - homepage = "https://github.com/v2fly/geoip"; 25 - license = licenses.cc-by-sa-40; 26 - maintainers = with maintainers; [ nickcao ]; 27 }; 28 }
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + , pkgsBuildBuild 5 + , jq 6 + , moreutils 7 + , dbip-country-lite 8 + }: 9 + 10 + let 11 + generator = pkgsBuildBuild.buildGoModule { 12 + pname = "v2ray-geoip"; 13 + version = "unstable-2023-03-27"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "v2fly"; 17 + repo = "geoip"; 18 + rev = "9321a7f5e301a957228eba44845144b4555b6658"; 19 + hash = "sha256-S30XEgzA9Vrq7I7REfO/WN/PKpcjcI7KZnrL4uw/Chs="; 20 + }; 21 22 + vendorHash = "sha256-bAXeA1pDIUuEvzTLydUIX6S6fm6j7CUQmBG+7xvxUcc="; 23 24 + meta = with lib; { 25 + description = "GeoIP for V2Ray"; 26 + homepage = "https://github.com/v2fly/geoip"; 27 + license = licenses.cc-by-sa-40; 28 + maintainers = with maintainers; [ nickcao ]; 29 + }; 30 + }; 31 + input = { 32 + type = "maxmindMMDB"; 33 + action = "add"; 34 + args = { 35 + uri = dbip-country-lite.mmdb; 36 + }; 37 }; 38 + in 39 + stdenvNoCC.mkDerivation { 40 + inherit (generator) pname src; 41 + inherit (dbip-country-lite) version; 42 + 43 + nativeBuildInputs = [ 44 + jq 45 + moreutils 46 + ]; 47 + 48 + postPatch = '' 49 + jq '.input[0] |= ${builtins.toJSON input}' config.json | sponge config.json 50 + ''; 51 + 52 + buildPhase = '' 53 + runHook preBuild 54 + ${generator}/bin/geoip 55 + runHook postBuild 56 + ''; 57 58 installPhase = '' 59 runHook preInstall 60 + install -Dm444 -t "$out/share/v2ray" output/dat/{cn,geoip-only-cn-private,geoip,private}.dat 61 runHook postInstall 62 ''; 63 64 + passthru.generator = generator; 65 66 + meta = generator.meta // { 67 + inherit (dbip-country-lite.meta) license; 68 }; 69 }
-6
pkgs/data/misc/v2ray-geoip/update.sh
··· 1 - #! /usr/bin/env nix-shell 2 - #! nix-shell -i bash -p common-updater-scripts curl jq 3 - set -euo pipefail 4 - 5 - COMMIT=$(curl "https://api.github.com/repos/v2fly/geoip/commits/release?per_page=1") 6 - update-source-version v2ray-geoip "$(echo $COMMIT | jq -r .commit.message)" --file=pkgs/data/misc/v2ray-geoip/default.nix --rev="$(echo $COMMIT | jq -r .sha)"
···
+2 -2
pkgs/development/python-modules/python-ecobee-api/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "python-ecobee-api"; 9 - version = "0.2.16"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - hash = "sha256-wzL1WylQAFLxWu3lDFqQtLxJbQjse4OX/fbzaaEuvGQ="; 14 }; 15 16 propagatedBuildInputs = [
··· 6 7 buildPythonPackage rec { 8 pname = "python-ecobee-api"; 9 + version = "0.2.17"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + hash = "sha256-lJCbNOQJ8xmMa4V+tSFZx4QasK8ZLfsFavMP9Zge4K4="; 14 }; 15 16 propagatedBuildInputs = [
+3 -3
pkgs/development/tools/ginkgo/default.nix
··· 2 3 buildGoModule rec { 4 pname = "ginkgo"; 5 - version = "2.9.5"; 6 7 src = fetchFromGitHub { 8 owner = "onsi"; 9 repo = "ginkgo"; 10 rev = "v${version}"; 11 - sha256 = "sha256-1Hb8pCvPs/L5UU280XwwEOnQ1CjJjgw0+GdCbtLkIpg="; 12 }; 13 - vendorHash = "sha256-IxyPRUS7aqkfZ+hjtuopCd95dgiTgVdg1thSiTBZArg="; 14 15 # integration tests expect more file changes 16 # types tests are missing CodeLocation
··· 2 3 buildGoModule rec { 4 pname = "ginkgo"; 5 + version = "2.9.7"; 6 7 src = fetchFromGitHub { 8 owner = "onsi"; 9 repo = "ginkgo"; 10 rev = "v${version}"; 11 + sha256 = "sha256-+Wkd0+RSNnJb1ganYGhnRdLZGofTwWtDEN82dhc6HPc="; 12 }; 13 + vendorHash = "sha256-x4IghXr80sDPZhe97Q+04Mfcnvku/S/tNPZ9RSUmiVE="; 14 15 # integration tests expect more file changes 16 # types tests are missing CodeLocation
+3 -3
pkgs/development/tools/misc/act/default.nix
··· 5 6 buildGoModule rec { 7 pname = "act"; 8 - version = "0.2.45"; 9 10 src = fetchFromGitHub { 11 owner = "nektos"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-mp5+hDSZsp46WMCCqVoorKSHeoQY/+ORtj0fNrKsFWI="; 15 }; 16 17 - vendorHash = "sha256-37fHVy4NLhWyk1yD9zSNnZoVVyd2QizzDCDbiNJCBlc="; 18 19 doCheck = false; 20
··· 5 6 buildGoModule rec { 7 pname = "act"; 8 + version = "0.2.46"; 9 10 src = fetchFromGitHub { 11 owner = "nektos"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 + hash = "sha256-74ap3UgAFrt/ZrSMECdL3Mu26/53VWUEAUnqHw3oJDU="; 15 }; 16 17 + vendorHash = "sha256-OYBFaosO1PKoN236pMFauC0ensnoFDlmAKVWd9OwLHU="; 18 19 doCheck = false; 20
+3 -3
pkgs/tools/admin/granted/default.nix
··· 9 10 buildGoModule rec { 11 pname = "granted"; 12 - version = "0.11.1"; 13 14 src = fetchFromGitHub { 15 owner = "common-fate"; 16 repo = pname; 17 rev = "v${version}"; 18 - sha256 = "sha256-m6cFAX8FMyv9H1IKm6meWu2yNEZz4g1Q+h2rRijYJsc="; 19 }; 20 21 - vendorSha256 = "sha256-8BPntTgd7QqO2T3vyWXC1z5yE/ovg3D3iilnislqV30="; 22 23 nativeBuildInputs = [ makeWrapper ]; 24
··· 9 10 buildGoModule rec { 11 pname = "granted"; 12 + version = "0.13.0"; 13 14 src = fetchFromGitHub { 15 owner = "common-fate"; 16 repo = pname; 17 rev = "v${version}"; 18 + sha256 = "sha256-UoU2+RBR6vBLRx5gJsVUswoEtZ8chCn+bSv+k4SCGyU="; 19 }; 20 21 + vendorHash = "sha256-P7HeJUdVlqrTEMVXGlvcCr9ezEmqIw5AX/+xdcFQoH4="; 22 23 nativeBuildInputs = [ makeWrapper ]; 24
+3 -3
pkgs/tools/misc/mcfly/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "mcfly"; 5 - version = "0.8.0"; 6 7 src = fetchFromGitHub { 8 owner = "cantino"; 9 repo = "mcfly"; 10 rev = "v${version}"; 11 - hash = "sha256-qzi21vouUhvpmqxQpYoCnHJDLRU8ZgCvewxblD2BGJc="; 12 }; 13 14 postPatch = '' ··· 17 substituteInPlace mcfly.fish --replace '(command which mcfly)' '${placeholder "out"}/bin/mcfly' 18 ''; 19 20 - cargoHash = "sha256-RHR+qmtnSrJOPkObRrE39EshmDVu53vEvw647ATk+os="; 21 22 meta = with lib; { 23 homepage = "https://github.com/cantino/mcfly";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "mcfly"; 5 + version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "cantino"; 9 repo = "mcfly"; 10 rev = "v${version}"; 11 + hash = "sha256-9muBKJXsXiSxSmLRygGATEbwpiz6B8oTFQIkVMJMWAk="; 12 }; 13 14 postPatch = '' ··· 17 substituteInPlace mcfly.fish --replace '(command which mcfly)' '${placeholder "out"}/bin/mcfly' 18 ''; 19 20 + cargoHash = "sha256-LhIAJ3JI7cp+vzEH5vthefgExPORF6Xnjj3cQkIkhSA="; 21 22 meta = with lib; { 23 homepage = "https://github.com/cantino/mcfly";
+3 -3
pkgs/tools/networking/ooniprobe-cli/default.nix
··· 5 6 buildGoModule rec { 7 pname = "ooniprobe-cli"; 8 - version = "3.17.2"; 9 10 src = fetchFromGitHub { 11 owner = "ooni"; 12 repo = "probe-cli"; 13 rev = "v${version}"; 14 - hash = "sha256-wPvWIeanozLQwgDlU3WR11NYhIpjw04vj7DlnFlacNw="; 15 }; 16 17 - vendorHash = "sha256-r8kyL9gpdDesY8Mbm4lONAhWC4We26Z9uG7QMt1JT9c="; 18 19 subPackages = [ "cmd/ooniprobe" ]; 20
··· 5 6 buildGoModule rec { 7 pname = "ooniprobe-cli"; 8 + version = "3.17.3"; 9 10 src = fetchFromGitHub { 11 owner = "ooni"; 12 repo = "probe-cli"; 13 rev = "v${version}"; 14 + hash = "sha256-kqjTYowAEfJ+um9DQQXIMLVWlEGJ9intbdTSJukSvVc="; 15 }; 16 17 + vendorHash = "sha256-kS5HWiATn2WT6E5gb0Gve83hHJ++xHmPSsgJu/5GqO4="; 18 19 subPackages = [ "cmd/ooniprobe" ]; 20