nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 60 lines 1.0 kB view raw
1{ lib 2, aiohttp 3, aioresponses 4, buildPythonPackage 5, click 6, dateparser 7, fetchFromGitHub 8, marshmallow-dataclass 9, poetry-core 10, pyjwt 11, pythonOlder 12, pytest-asyncio 13, pytestCheckHook 14, tabulate 15}: 16 17buildPythonPackage rec { 18 pname = "renault-api"; 19 version = "0.1.11"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchFromGitHub { 25 owner = "hacf-fr"; 26 repo = pname; 27 rev = "v${version}"; 28 sha256 = "sha256-71UFVXfww3wgSO2qoRCuV80+33B91Bjl2+nuuCbQRLg="; 29 }; 30 31 nativeBuildInputs = [ 32 poetry-core 33 ]; 34 35 propagatedBuildInputs = [ 36 aiohttp 37 click 38 dateparser 39 marshmallow-dataclass 40 pyjwt 41 tabulate 42 ]; 43 44 checkInputs = [ 45 aioresponses 46 pytest-asyncio 47 pytestCheckHook 48 ]; 49 50 pythonImportsCheck = [ 51 "renault_api" 52 ]; 53 54 meta = with lib; { 55 description = "Python library to interact with the Renault API"; 56 homepage = "https://github.com/hacf-fr/renault-api"; 57 license = licenses.mit; 58 maintainers = with maintainers; [ fab ]; 59 }; 60}