Something went wrong. Try again.
lol
Something went wrong. Try again.
844 B · 45 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, aiohttp, buildPythonPackage, fetchPypi, furl, hatchling, pytestCheckHook, pytest-asyncio,}:
buildPythonPackage (finalAttrs: { pname = "mvg"; version = "1.6.0"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-jpk6DUaQYtL7OHDOznhgAp0N8qao0wQI5benfPXwhJI="; };
build-system = [ hatchling ];
dependencies = [ aiohttp furl ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
# tests require network access doCheck = false;
pythonImportsCheck = [ "mvg" ];
meta = { description = "An unofficial interface to timetable information of the Münchner Verkehrsgesellschaft (MVG)"; homepage = "https://github.com/mondbaron/mvg"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})