nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 948 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 httpx, 7 pytest-asyncio, 8 pytest-cov-stub, 9 pytestCheckHook, 10 pythonOlder, 11 respx, 12}: 13 14buildPythonPackage rec { 15 pname = "pywaze"; 16 version = "1.1.1"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.11"; 20 21 src = fetchFromGitHub { 22 owner = "eifinger"; 23 repo = "pywaze"; 24 tag = "v${version}"; 25 hash = "sha256-INjVspha4AbxKPMQtL/4BUavFisrQXUGofZ3nuz39UU="; 26 }; 27 28 build-system = [ hatchling ]; 29 30 dependencies = [ httpx ]; 31 32 nativeCheckInputs = [ 33 pytest-asyncio 34 pytest-cov-stub 35 pytestCheckHook 36 respx 37 ]; 38 39 pythonImportsCheck = [ "pywaze" ]; 40 41 meta = { 42 description = "Module for calculating WAZE routes and travel times"; 43 homepage = "https://github.com/eifinger/pywaze"; 44 changelog = "https://github.com/eifinger/pywaze/releases/tag/v${version}"; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ fab ]; 47 }; 48}