git-annex-remote-googledrive: add missing dependency and refactor (#340108)
This commit is contained in:
commit
d88947e917
@ -6,24 +6,29 @@
|
||||
, gitpython
|
||||
, humanfriendly
|
||||
, tenacity
|
||||
, setuptools
|
||||
, distutils
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-annex-remote-googledrive";
|
||||
version = "1.3.2";
|
||||
format = "setuptools";
|
||||
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,
|
||||
@ -36,7 +41,7 @@ buildPythonApplication rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Git-annex special remote for Google Drive";
|
||||
homepage = "https://pypi.org/project/git-annex-remote-googledrive/";
|
||||
homepage = "https://github.com/Lykos153/git-annex-remote-googledrive";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ gravndal ];
|
||||
mainProgram = "git-annex-remote-googledrive";
|
||||
|
@ -2186,15 +2186,7 @@ with pkgs;
|
||||
humanfriendly;
|
||||
};
|
||||
|
||||
git-annex-remote-googledrive = callPackage ../applications/version-management/git-annex-remote-googledrive {
|
||||
inherit (python3Packages)
|
||||
buildPythonApplication
|
||||
annexremote
|
||||
drivelib
|
||||
gitpython
|
||||
tenacity
|
||||
humanfriendly;
|
||||
};
|
||||
git-annex-remote-googledrive = python3Packages.callPackage ../applications/version-management/git-annex-remote-googledrive { };
|
||||
|
||||
git-annex-remote-rclone = callPackage ../applications/version-management/git-annex-remote-rclone { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user