nixpkgs/pkgs/applications/version-management/git-annex-remote-googledrive/default.nix
AndersonTorres d994dabace treewide: remove git-and-tools directory
We do not use a "plugin system" for Git addons anymore, and therefore this
directory is no longer useful. Indeed that directory is way more confusing,
given that it includes more than mere Git addons, going from Bitbucket server
command-line tools to complete rewrites of Git in exotic programming languages.

Also, without this directory, the mental load of decision-making reduces a lot.
When anyone is interested in including a new git-related tool, just put it into
pkgs/applications/version-management, without apologies.
2022-12-19 15:05:22 -03:00

44 lines
952 B
Nix

{ lib
, annexremote
, buildPythonApplication
, drivelib
, fetchPypi
, gitpython
, humanfriendly
, tenacity
}:
buildPythonApplication rec {
pname = "git-annex-remote-googledrive";
version = "1.3.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0rwjcdvfgzdlfgrn1rrqwwwiqqzyh114qddrbfwd46ld5spry6r1";
};
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 ];
};
}