Loading pkgs/development/python-modules/pywaze/default.nix 0 → 100644 +56 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , httpx , pytest-asyncio , pytestCheckHook , pythonOlder , respx }: buildPythonPackage rec { pname = "pywaze"; version = "0.3.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "eifinger"; repo = "pywaze"; rev = "refs/tags/v${version}"; hash = "sha256-z/6eSgERHKV/5vjbRWcyrxAMNDIHvM3GUoo3xf+AhNY="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov --cov-report term-missing --cov=src/pywaze " "" ''; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ httpx ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook respx ]; pythonImportsCheck = [ "pywaze" ]; meta = with lib; { description = "Module for calculating WAZE routes and travel times"; homepage = "https://github.com/eifinger/pywaze"; changelog = "https://github.com/eifinger/pywaze/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10788,6 +10788,8 @@ self: super: with self; { pywayland = callPackage ../development/python-modules/pywayland { }; pywaze = callPackage ../development/python-modules/pywaze { }; pywbem = callPackage ../development/python-modules/pywbem { inherit (pkgs) libxml2; }; Loading Loading
pkgs/development/python-modules/pywaze/default.nix 0 → 100644 +56 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , hatchling , httpx , pytest-asyncio , pytestCheckHook , pythonOlder , respx }: buildPythonPackage rec { pname = "pywaze"; version = "0.3.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "eifinger"; repo = "pywaze"; rev = "refs/tags/v${version}"; hash = "sha256-z/6eSgERHKV/5vjbRWcyrxAMNDIHvM3GUoo3xf+AhNY="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov --cov-report term-missing --cov=src/pywaze " "" ''; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ httpx ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook respx ]; pythonImportsCheck = [ "pywaze" ]; meta = with lib; { description = "Module for calculating WAZE routes and travel times"; homepage = "https://github.com/eifinger/pywaze"; changelog = "https://github.com/eifinger/pywaze/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10788,6 +10788,8 @@ self: super: with self; { pywayland = callPackage ../development/python-modules/pywayland { }; pywaze = callPackage ../development/python-modules/pywaze { }; pywbem = callPackage ../development/python-modules/pywbem { inherit (pkgs) libxml2; }; Loading