mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
git-annex-remote-googledrive: init at 1.3.0
This commit is contained in:
parent
f1e9be8dc0
commit
e9f12cd9db
2 changed files with 45 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, annexremote
|
||||
, drivelib
|
||||
, GitPython
|
||||
, tenacity
|
||||
, humanfriendly
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-annex-remote-googledrive";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "118w0fyy6pck8hyj925ym6ak0xxqhkaq2vharnpl9b97nab4mqg8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ annexremote drivelib GitPython tenacity humanfriendly ];
|
||||
|
||||
# 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 = "A git-annex special remote for Google Drive";
|
||||
homepage = "https://pypi.org/project/git-annex-remote-googledrive/";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ gravndal ];
|
||||
};
|
||||
}
|
|
@ -4670,6 +4670,17 @@ in
|
|||
humanfriendly;
|
||||
};
|
||||
|
||||
git-annex-remote-googledrive = callPackage ../applications/version-management/git-and-tools/git-annex-remote-googledrive {
|
||||
inherit (python3Packages)
|
||||
buildPythonApplication
|
||||
fetchPypi
|
||||
annexremote
|
||||
drivelib
|
||||
GitPython
|
||||
tenacity
|
||||
humanfriendly;
|
||||
};
|
||||
|
||||
git-annex-remote-rclone = callPackage ../applications/version-management/git-and-tools/git-annex-remote-rclone { };
|
||||
|
||||
git-annex-utils = callPackage ../applications/version-management/git-and-tools/git-annex-utils { };
|
||||
|
|
Loading…
Reference in a new issue