Merge pull request #131507 from rhoriguchi/gphotos-sync

gphotos-sync: add recommended package
This commit is contained in:
Sandro
2021-08-11 15:44:02 +02:00
committed by GitHub
+5 -1
View File
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, python3Packages, ffmpeg }:
python3Packages.buildPythonApplication rec {
pname = "gphotos-sync";
@@ -19,10 +19,14 @@ python3Packages.buildPythonApplication rec {
pyyaml
requests_oauthlib
];
buildInputs = [ ffmpeg ];
checkInputs = with python3Packages; [
pytestCheckHook
mock
];
checkPhase = ''
export HOME=$(mktemp -d)