Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-02-22 12:01:31 +00:00 committed by GitHub
commit 0f910f5664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 138 additions and 36 deletions

View file

@ -392,7 +392,7 @@ in
tape = 25;
video = 26;
dialout = 27;
#polkituser = 28; # currently unused, polkitd doesn't need a group
polkituser = 28;
utmp = 29;
# ddclient = 30; # converted to DynamicUser = true
davfs2 = 31;

View file

@ -113,7 +113,7 @@ in
group = "polkituser";
};
users.groups.polkituser = {};
users.groups.polkituser.gid = config.ids.gids.polkituser;
};
}

View file

@ -103,6 +103,16 @@ class ReqHandler(BaseHTTPRequestHandler):
self._send_json_ok(gen_mockuser(username=username, uid=uid, gid=uid, home_directory=f"/home/{username}", snakeoil_pubkey=SNAKEOIL_PUBLIC_KEY))
return
# we need to provide something at the groups endpoint.
# the nss module does segfault if we don't.
elif pu.path == "/computeMetadata/v1/oslogin/groups":
self._send_json_ok({
"posixGroups": [
{"name" : "demo", "gid" : 4294967295}
],
})
return
# authorize endpoint
elif pu.path == "/computeMetadata/v1/oslogin/authorize":
# is user allowed to login?

View file

@ -86,11 +86,11 @@ let
in
stdenv.mkDerivation rec {
pname = "appgate-sdp";
version = "6.0.3";
version = "6.1.2";
src = fetchurl {
url = "https://bin.appgate-sdp.com/${lib.versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb";
sha256 = "sha256-UDyVPoQM78CKVWXgr08An77QTiFVmRNHwQPGaj1jAIM=";
sha256 = "sha256-nTQDQxXWMHkHgKlr7mIlazH7kW3HJqNLrUATo4s0N1g=";
};
# just patch interpreter

View file

@ -1089,6 +1089,15 @@
"spdx": "MIT",
"vendorHash": "sha256-2wPmLpjhG6QgG+BUCO0oIzHjBOWIOYuptgdtSIm9TZw="
},
"talos": {
"hash": "sha256-Uj4UlxPvI80og/wJPtQgyrejXLcfc6R4IJfsXiVNm+Y=",
"homepage": "https://registry.terraform.io/providers/siderolabs/talos",
"owner": "siderolabs",
"repo": "terraform-provider-talos",
"rev": "v0.1.1",
"spdx": "MPL-2.0",
"vendorHash": "sha256-tltQNtTsPoT5CTrKM7vLDVkmmW2FTd6MBubfXZveGxI="
},
"tencentcloud": {
"hash": "sha256-9SuXHKdOmmcYFWgf/WNL5CEYoxCdfOWa1afJ7frJJ20=",
"homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud",

View file

@ -13,7 +13,7 @@
stdenv.mkDerivation rec {
pname = "termius";
version = "7.45.3";
version = "7.56.1";
src = fetchurl {
# find the latest version with
@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
# curl -H 'X-Ubuntu-Series: 16' https://api.snapcraft.io/api/v1/snaps/details/termius-app | jq '.download_url' -r
# and the sha512 with
# curl -H 'X-Ubuntu-Series: 16' https://api.snapcraft.io/api/v1/snaps/details/termius-app | jq '.download_sha512' -r
url = "https://api.snapcraft.io/api/v1/snaps/download/WkTBXwoX81rBe3s3OTt3EiiLKBx2QhuS_123.snap";
sha512 = "1a43ece6ccb0f5a7b29a3ff0c41f27b0d82bd90214cc3d0b88dbd57ecaf2f59c092906e7ed377e3d04f2fc418027f7a0cb7f2e4458ef619663b84b080581c375";
url = "https://api.snapcraft.io/api/v1/snaps/download/WkTBXwoX81rBe3s3OTt3EiiLKBx2QhuS_144.snap";
sha512 = "aad9ab72ad3dcbb897fa99139b83993770c243f49e8784c34ac38603f0d76578374723e756c4f51ea2d0a39f6b9c7738e7ce070a8ddfa11f8cf831260563f6d9";
};
desktopItem = makeDesktopItem {

View file

@ -7,11 +7,11 @@ let
inherit (python3Packages) python pygobject3;
in stdenv.mkDerivation rec {
pname = "gnumeric";
version = "1.12.54";
version = "1.12.55";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "RpBAYv0cSkyTWW0mv2eTLNcvwPjSxaZ8F5GFJ/7oK3Q=";
sha256 = "xpoJzRkLYirMpHa7w9TAPWjXzPWbumG/A2zmCIX5+2U=";
};
configureFlags = [ "--disable-component" ];

View file

@ -5,6 +5,7 @@
, cmake
, extra-cmake-modules
, libvlc
, libv4l
, libX11
, kidletime
, kdelibs4support
@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
buildInputs = [
libvlc
libv4l
libX11
kidletime
qtx11extras

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "goffice";
version = "0.10.54";
version = "0.10.55";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "WDXNnVPmT3UmLAOZZu/fTYj0Vvyx8IeM5NEIgqUK1aA=";
sha256 = "FqIhGRhVpqbA0Gse+OSBzz9SBBplTsltNYFwRboama8=";
};
nativeBuildInputs = [ pkg-config intltool ];

View file

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "libshout";
version = "2.4.5";
version = "2.4.6";
src = fetchurl {
url = "https://downloads.xiph.org/releases/libshout/${pname}-${version}.tar.gz";
sha256 = "sha256-2eVoZopnOZTr4/HrXyvuBuMjal25K40MSH4cD4hqaJA=";
sha256 = "sha256-OcvU8O/f3cl1XYghfkf48tcQj6dn+dWKK6JqFtj3yRA=";
};
outputs = [ "out" "dev" "doc" ];

View file

@ -188,10 +188,12 @@ final: prev: {
graphite-cli = prev."@withgraphite/graphite-cli".override {
name = "graphite-cli";
nativeBuildInputs = [ pkgs.installShellFiles ];
# 'gt completion' auto-detects zshell from environment variables:
# https://github.com/yargs/yargs/blob/2b6ba3139396b2e623aed404293f467f16590039/lib/completion.ts#L45
postInstall = ''
installShellCompletion --cmd gt \
--bash <($out/bin/gt completion) \
--zsh <($out/bin/gt completion)
--zsh <(ZSH_NAME=zsh $out/bin/gt completion)
'';
};
@ -402,7 +404,7 @@ final: prev: {
src = fetchurl {
url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz";
sha512 = "sha512-bS96oZ5oDFXYgoF2l7PJ3Mp1wWWfLOo8B/jAfbA2Pn0Wm5Z/owBHzaMQKS3i1CzVBDWWPVnOohmbJmjvkcHS5w==";
sha512 = "sha512-0jDxgg+DruB1kHVNlcspXQB9au62IFfVg9drkhzXudszHNUAQn0lVuu+T8np0uC2z1nKD5S3qPeCyR8u5YFLnA==";
};
postInstall = with pkgs; ''
wrapProgram "$out/bin/prisma" \

View file

@ -37,8 +37,8 @@ buildDunePackage rec {
minimalOCamlVersion = "4.04";
# atdgen is both a library and executable
nativeBuildInputs = [ perl camlp5 ]
++ lib.optional (lib.versionAtLeast version "1.15" || version == "dev") menhir
nativeBuildInputs = [ perl ]
++ [ (if lib.versionAtLeast version "1.15" || version == "dev" then menhir else camlp5) ]
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen;
buildInputs = [ ncurses ]
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen;

View file

@ -24,7 +24,7 @@
buildPythonPackage rec {
pname = "kubernetes";
version = "25.3.0";
version = "26.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -33,7 +33,7 @@ buildPythonPackage rec {
owner = "kubernetes-client";
repo = "python";
rev = "refs/tags/v${version}";
sha256 = "sha256-LKj9zt9ou3zfPnpOP2MMycby0qqW3dtI4CmW/E6jv0Y=";
sha256 = "sha256-2QkQGZ4Dho2PykH90ijosWWBzhQoCHoWhRL3ruOiDBg=";
};
propagatedBuildInputs = [

View file

@ -13,16 +13,16 @@
buildPythonPackage rec {
pname = "tabula-py";
version = "2.6.0";
format = "setuptools";
version = "2.7.0";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "chezou";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-L/N4TqVHIlwqVeBKlUq5Oz1VW/105Ov6Yicvnn/lxlI=";
hash = "sha256-SV4QLvk7dXtU0/husS5A5mBYvbTejLyO9PpiO2oBtjs=";
};
patches = [

View file

@ -0,0 +1,78 @@
{ lib
, buildPythonPackage
, cmake
, fetchFromGitHub
, pytestCheckHook
, libxcrypt
, pythonOlder
, gtest
, pybind11
, nlohmann_json
}:
let
pog = fetchFromGitHub {
owner = "metthal";
repo = "pog";
rev = "b09bbf9cea573ee62aab7eccda896e37961d16cd";
hash = "sha256-El4WA92t2O/L4wUqH6Xj8w+ANtb6liRwafDhqn8jxjQ=";
};
in
buildPythonPackage rec {
pname = "yaramod";
version = "3.12.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "avast";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-1q+lzNtm8qko9ZAxJjkmPOQjHD5GxB6YyEz0tr+QWGk=";
};
postPatch = ''
rm -r deps/googletest deps/pog/ deps/pybind11/ deps/json/json.hpp
cp -r --no-preserve=all ${pog} deps/pog/
cp -r --no-preserve=all ${nlohmann_json.src}/single_include/nlohmann/json.hpp deps/json/
cp -r --no-preserve=all ${pybind11.src} deps/pybind11/
cp -r --no-preserve=all ${gtest.src} deps/googletest/
'';
dontUseCmakeConfigure = true;
buildInputs = [
libxcrypt
];
nativeBuildInputs = [
cmake
pog
gtest
];
setupPyBuildFlags = [
"--with-unit-tests"
];
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests/"
];
pythonImportsCheck = [
"yaramod"
];
meta = with lib; {
description = "Parsing of YARA rules into AST and building new rulesets in C++";
homepage = "https://github.com/avast/yaramod";
changelog = "https://github.com/avast/yaramod/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ msm ];
};
}

View file

@ -14,19 +14,19 @@
# function correctly.
rustPlatform.buildRustPackage rec {
pname = "prisma-engines";
version = "4.9.0";
version = "4.10.1";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma-engines";
rev = version;
sha256 = "sha256-Nxpv3ibhHTFiO0hqSrT1hqTK9Vb0P8Svu5riufCChwI=";
sha256 = "sha256-TFLwpKh+FsstcpvBfTw7CNcQOGGSNI9qf8WJ6v75uL8=";
};
# Use system openssl.
OPENSSL_NO_VENDOR = 1;
cargoSha256 = "sha256-PiDW7+LrCDfRpQirJlgaYDnGenowbsCmwQz1mbgA08E=";
cargoSha256 = "sha256-EPym9MLwTMGBbJkVMKD/NEc6Vfm7nI4FaDkqy/0B14Q=";
nativeBuildInputs = [ pkg-config git ];

View file

@ -11,9 +11,8 @@ final: prev: let
"11.4" = "082dkk5y34wyvjgj2p5j1d00rk8xaxb9z0mhvz16bd469r1bw2qk";
"11.5" = "sha256-AKRZbke0K59lakhTi8dX2cR2aBuWPZkiQxyKaZTvHrI=";
"11.6" = "sha256-AsLNmAplfuQbXg9zt09tXAuFJ524EtTYsQuUlV1tPkE=";
# maybe fixed by https://github.com/NVIDIA/cuda-samples/pull/133
"11.7" = throw "The tag 11.7 of cuda-samples does not exist";
"11.8" = throw "The tag 11.8 of cuda-samples does not exist";
"11.8" = "sha256-7+1P8+wqTKUGbCUBXGMDO9PkxYr2+PLDx9W2hXtXbuc=";
}.${prev.cudaVersion};
in {

View file

@ -2,17 +2,17 @@
buildGoModule rec {
pname = "aliyun-cli";
version = "3.0.141";
version = "3.0.149";
src = fetchFromGitHub {
rev = "v${version}";
owner = "aliyun";
repo = pname;
fetchSubmodules = true;
sha256 = "sha256-DHUr820X3aUoUE3b22Xrd8JX8aB5arFk1nSWo/UdfPc=";
sha256 = "sha256-F7CC+WawCnPickKSkRqKra9UfO808EDbLvRNBYdp5QU=";
};
vendorSha256 = "sha256-aviRsflpS9/o2B7mpYQE7d9ahLclM+jiVz+cJOlegCY=";
vendorHash = "sha256-GVx0mgpbftyy9Eni3IYFmvWcaGnm5Nuqh4KvGeqhVu4=";
subPackages = [ "main" ];

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "nfpm";
version = "2.25.1";
version = "2.26.0";
src = fetchFromGitHub {
owner = "goreleaser";
repo = pname;
rev = "v${version}";
sha256 = "sha256-J5vAvF22NKMvvaftfVugWYAP6uM6pcyKEPqRDf+J9A4=";
sha256 = "sha256-MRtmfRriHArmzSfSr4Wf3+2wA3sOlHZs2HKQ2d+Bd20=";
};
vendorHash = "sha256-GaESwr7rvDvjQ7zi/LbndiB2lQGmIELTx7wAJitj5kw=";
vendorHash = "sha256-UUpi/6R36g6ofnEmn/qxEeJlzM/INYD4FuvRaBZ6pss=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];

View file

@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "google-guest-oslogin";
version = "20230202.00";
version = "20230217.00";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "guest-oslogin";
rev = version;
sha256 = "sha256-5+8AMm97+GJJYmzKaJ98AtDBwpVXj88d3B8KwZgMpSg=";
sha256 = "sha256-MZpm6JgukqdT8B1qZzKT4tO3LBS8ReoVqRGyY5ykWHw=";
};
postPatch = ''

View file

@ -12589,6 +12589,8 @@ self: super: with self; {
yara-python = callPackage ../development/python-modules/yara-python { };
yaramod = callPackage ../development/python-modules/yaramod { };
yarg = callPackage ../development/python-modules/yarg { };
yark = callPackage ../development/python-modules/yark { };