nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 1.0 kB view raw
1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lib, 6 mashumaro, 7 pytest-aiohttp, 8 pytestCheckHook, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "google-photos-library-api"; 14 version = "1.0.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "allenporter"; 19 repo = "python-google-photos-library-api"; 20 tag = version; 21 hash = "sha256-pmAAvwhr783ih9vpqr5DmT462z3Ug1xwHaz9itu/mt4="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 aiohttp 28 mashumaro 29 ]; 30 31 pythonImportsCheck = [ "google_photos_library_api" ]; 32 33 nativeCheckInputs = [ 34 pytest-aiohttp 35 pytestCheckHook 36 ]; 37 38 __darwinAllowLocalNetworking = true; 39 40 meta = { 41 changelog = "https://github.com/allenporter/python-google-photos-library-api/releases/tag/${version}"; 42 description = "Python client library for Google Photos Library API"; 43 homepage = "https://github.com/allenporter/python-google-photos-library-api"; 44 license = lib.licenses.asl20; 45 maintainers = with lib.maintainers; [ dotlambda ]; 46 }; 47}