Files
nixpkgs/pkgs/development/python-modules/meteo-lt-pkg/default.nix
T
Robert Schütz aa8225dcfb Revert "python3Packages.meteo-lt-pkg: 0.2.4 -> 0.4.0"
This reverts commit d08dbe1520 because it
broke home-assistant.tests.components.meteo_lt.
2026-03-05 08:09:43 -08:00

50 lines
971 B
Nix

{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "meteo-lt-pkg";
version = "0.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Brunas";
repo = "meteo_lt-pkg";
tag = "v${version}";
hash = "sha256-OjIBgIOSJ65ryIF4D/UUUa1Oq0sPkKnaQEJeviimqhE=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "meteo_lt" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# tests contact api.meteo.lt
"test_get_forecast"
"test_get_nearest_place"
];
meta = {
changelog = "https://github.com/Brunas/meteo_lt-pkg/blob/${src.tag}/CHANGELOG.md";
description = "Meteo.Lt weather forecast package";
homepage = "https://github.com/Brunas/meteo_lt-pkg";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}