Merge master into staging-next
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "gphotos-sync";
|
||||
version = "2.14.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gilesknap";
|
||||
repo = "gphotos-sync";
|
||||
rev = version;
|
||||
sha256 = "0cfmbrdy6w18hb623rjn0a4hnn3n63jw2jlmgn4a2k1sjqhpx3bf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
appdirs
|
||||
attrs
|
||||
exif
|
||||
psutil
|
||||
pyyaml
|
||||
requests_oauthlib
|
||||
];
|
||||
checkInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
mock
|
||||
];
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
|
||||
# patch to skip all tests that do network access
|
||||
cat >>test/test_setup.py <<EOF
|
||||
import pytest, requests
|
||||
requests.Session.__init__ = lambda *args, **kwargs: pytest.skip("no network access")
|
||||
EOF
|
||||
|
||||
pytestCheckPhase
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Photos and Albums backup with Google Photos Library API";
|
||||
homepage = "https://github.com/gilesknap/gphotos-sync";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dnr ];
|
||||
};
|
||||
}
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "wal-g";
|
||||
version = "0.2.19";
|
||||
version = "0.2.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wal-g";
|
||||
repo = "wal-g";
|
||||
rev = "v${version}";
|
||||
sha256 = "030c949cs13x4gnby6apy1adis8d4dlg3gzhhhs991117dxb0i3v";
|
||||
sha256 = "0pinvi2b3vi6lvw3im8w6vcjm1qg2kbf6ydf1h72xjz5933yrjy4";
|
||||
};
|
||||
|
||||
vendorSha256 = "186cqn10fljzjc876byaj1affd8xmi8zvmkfxp9dbzsfxdir4nf7";
|
||||
vendorSha256 = "0qzw0lr0x6kqlpa4kghrfl2271752sr7idk6n4hkhk6q0kghcsnk";
|
||||
|
||||
buildInputs = [ brotli ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user