Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, beautifulsoup4, lxml, hatchling, requests, tzdata, buildPythonPackage, fetchFromGitHub,}:
buildPythonPackage rec { pname = "lhpapi"; version = "1.0.11"; pyproject = true;
src = fetchFromGitHub { owner = "stephan192"; repo = "lhpapi"; tag = "v${version}"; hash = "sha256-tz1/+NTg8wI0mWcPfM1zk7EheUwShv8eCoYA7wAb/lM="; };
dependencies = [ beautifulsoup4 lxml requests tzdata ];
build-system = [ hatchling ];
pythonImportsCheck = [ "lhpapi" ];
meta = { description = "API to retrieve data from the Länderübergreifendes Hochwasser Portal (LHP)"; homepage = "https://github.com/stephan192/lhpapi"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ _9R ]; };}