git-annex-remote-googledrive: rename GitPython

This commit is contained in:
Fabian Affolter 2022-12-05 21:55:47 +01:00
parent 7d3c53e6d1
commit 1700f56597

View file

@ -1,29 +1,38 @@
{ lib { lib
, buildPythonApplication
, fetchPypi
, annexremote , annexremote
, buildPythonApplication
, drivelib , drivelib
, GitPython , fetchPypi
, tenacity , gitpython
, humanfriendly , humanfriendly
, tenacity
}: }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "git-annex-remote-googledrive"; pname = "git-annex-remote-googledrive";
version = "1.3.2"; version = "1.3.2";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0rwjcdvfgzdlfgrn1rrqwwwiqqzyh114qddrbfwd46ld5spry6r1"; sha256 = "0rwjcdvfgzdlfgrn1rrqwwwiqqzyh114qddrbfwd46ld5spry6r1";
}; };
propagatedBuildInputs = [ annexremote drivelib GitPython tenacity humanfriendly ]; propagatedBuildInputs = [
annexremote
drivelib
gitpython
tenacity
humanfriendly
];
# while git-annex does come with a testremote command that *could* be used, # while git-annex does come with a testremote command that *could* be used,
# testing this special remote obviously depends on authenticating with google # testing this special remote obviously depends on authenticating with google
doCheck = false; doCheck = false;
pythonImportsCheck = [ "git_annex_remote_googledrive" ]; pythonImportsCheck = [
"git_annex_remote_googledrive"
];
meta = with lib; { meta = with lib; {
description = "A git-annex special remote for Google Drive"; description = "A git-annex special remote for Google Drive";