-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/git annex remote google #46554
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#{ stdenv, pythonPackages, fetchPypi, rclone, makeWrapper }: | ||
{ stdenv, lib, python3 }: | ||
|
||
python3.pkgs.buildPythonApplication rec { | ||
pname = "git-annex-remote-googledrive"; | ||
version = "0.11.1"; | ||
|
||
src = python3.pkgs.fetchPypi { | ||
inherit pname version; | ||
sha256 = "1vaycxmxhx8g797nzrnkmz5vbmjy4x7x3b7a2xb7yz6grgcxqgld"; | ||
}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By convention we also add a
remark if a python package comes without tests. |
||
|
||
buildInputs = [ ]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove |
||
propagatedBuildInputs = [ python3.pkgs.pydrive python3.pkgs.annexremote python3.pkgs.tenacity ]; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Git annex remote for GoogleDrive"; | ||
license = licenses.lgpl3; | ||
maintainers = with maintainers; [ poelzi ]; | ||
}; | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ stdenv, buildPythonPackage, fetchPypi }: | ||
|
||
buildPythonPackage rec { | ||
pname = "annexremote"; | ||
version = "1.2.0"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "2be77ae9b9edd0d2818ab6dff7070a05aed2fcc1e5065638aa03eba991b67f17"; | ||
}; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/Lykos153/AnnexRemote; | ||
description = "Helper module to easily develop special remotes for git annex"; | ||
license = licenses.gpl3; | ||
maintainers = with maintainers; [ poelzi ]; | ||
}; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ stdenv, buildPythonPackage, fetchPypi, oauth2client, pyyaml, google_api_python_client }: | ||
|
||
buildPythonPackage rec { | ||
pname = "PyDrive"; | ||
version = "1.3.1"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "83890dcc2278081c6e3f6a8da1f8083e25de0bcc8eb7c91374908c5549a20787"; | ||
}; | ||
|
||
propagatedBuildInputs = [ oauth2client pyyaml google_api_python_client ]; | ||
|
||
# does not work due missing secrets file | ||
doCheck = false; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/googledrive/PyDrive; | ||
description = "PyDrive is a wrapper library of google-api-python-client that simplifies many common Google Drive API tasks"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't repeat name of package |
||
license = licenses.asl20; | ||
maintainers = with maintainers; [ poelzi ]; | ||
}; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ stdenv, buildPythonPackage, fetchPypi, pbr, six }: | ||
|
||
buildPythonPackage rec { | ||
pname = "tenacity"; | ||
version = "5.0.2"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "4c10be4f8fbeb1cae24b9315103d8aca3f2b1ef001d455cbb1671d3d79924be6"; | ||
}; | ||
|
||
propagatedBuildInputs = [ pbr six ]; | ||
|
||
# does not work due missing secrets file | ||
doCheck = false; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/jd/tenacity; | ||
description = "Retrying library for Python"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
license = licenses.asl20; | ||
maintainers = with maintainers; [ poelzi ]; | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove