gam: 7.21.01 -> 7.43.04 (#520536)

This commit is contained in:
Michael Daniels
2026-05-24 19:34:26 +00:00
committed by GitHub
+26 -21
View File
@@ -1,43 +1,48 @@
{
lib,
stdenv,
fetchFromGitHub,
python3,
yubikey-manager,
gitUpdater,
nix-update-script,
cacert,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "gam";
version = "7.21.01";
version = "7.43.04";
pyproject = true;
src = fetchFromGitHub {
owner = "GAM-team";
repo = "GAM";
tag = "v${finalAttrs.version}";
hash = "sha256-Xj9GTNVuRddu3YQtXD/+yM/MNMxXUkfprtIFAm9SnA4=";
hash = "sha256-toAYDYkgBuhHaUbMnhSWPRDkhB5C/a0xQVMPTZj9xXM=";
};
build-system = [ python3.pkgs.hatchling ];
dependencies = with python3.pkgs; [
arrow
chardet
cryptography
distro
filelock
google-api-python-client
google-auth
google-auth-httplib2
google-auth-oauthlib
httplib2
lxml
passlib
pathvalidate
python-dateutil
yubikey-manager
];
dependencies =
with python3.pkgs;
[
arrow
chardet
cryptography
filelock
google-api-python-client
google-auth
google-auth-httplib2
google-auth-oauthlib
httplib2
lxml
passlib
pathvalidate
pysocks
yubikey-manager
]
++ lib.optionals stdenv.hostPlatform.isLinux [
distro
];
# Use XDG-ish dirs for configuration. These would otherwise be in the gam
# package.
@@ -58,7 +63,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
pythonImportsCheck = [ "gam" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
passthru.updateScript = nix-update-script { };
meta = {
description = "Command line management for Google Workspace";