depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/git-annex-remote-googledrive/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

34 lines
899 B
Nix

{ 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 ];
};
}