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
commit 50cdd41e93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)