gphotos-sync: add recommended package

This commit is contained in:
Ryan Horiguchi 2021-07-25 20:56:50 +02:00
parent e1c735229e
commit 4f91b61192
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3Packages }: { lib, fetchFromGitHub, python3Packages, ffmpeg }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "gphotos-sync"; pname = "gphotos-sync";
@ -19,10 +19,14 @@ python3Packages.buildPythonApplication rec {
pyyaml pyyaml
requests_oauthlib requests_oauthlib
]; ];
buildInputs = [ ffmpeg ];
checkInputs = with python3Packages; [ checkInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
mock mock
]; ];
checkPhase = '' checkPhase = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)