gam: 7.21.01 -> 7.43.04
This commit is contained in:
committed by
Michael Daniels
parent
80be5efbf5
commit
d93635edd9
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user