Something went wrong. Try again.
lol
Something went wrong. Try again.
773 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, requests, xmltodict,}:
buildPythonPackage (finalAttrs: { pname = "meteoalertapi"; version = "0.3.1"; format = "setuptools";
src = fetchFromGitHub { owner = "rolfberkenbosch"; repo = "meteoalert-api"; tag = "v${finalAttrs.version}"; hash = "sha256-Imb4DVcNB3QiVSCLCI+eKpfl73aMn4NIItQVf7p0H+E="; };
propagatedBuildInputs = [ requests xmltodict ];
# Tests require network access doCheck = false;
pythonImportsCheck = [ "meteoalertapi" ];
meta = { description = "Python wrapper for MeteoAlarm.org"; homepage = "https://github.com/rolfberkenbosch/meteoalert-api"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; };})