Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.1 KiB
Nix

{
lib,
annexremote,
buildPythonApplication,
drivelib,
fetchPypi,
gitpython,
humanfriendly,
tenacity,
setuptools,
distutils,
}:
buildPythonApplication rec {
pname = "git-annex-remote-googledrive";
version = "1.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "0rwjcdvfgzdlfgrn1rrqwwwiqqzyh114qddrbfwd46ld5spry6r1";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
annexremote
drivelib
gitpython
tenacity
humanfriendly
distutils
];
# while git-annex does come with a testremote command that *could* be used,
# testing this special remote obviously depends on authenticating with google
doCheck = false;
pythonImportsCheck = [
"git_annex_remote_googledrive"
];
meta = with lib; {
description = "Git-annex special remote for Google Drive";
homepage = "https://github.com/Lykos153/git-annex-remote-googledrive";
license = licenses.gpl3Only;
maintainers = with maintainers; [ gravndal ];
mainProgram = "git-annex-remote-googledrive";
};
}