python3Packages.swisshydrodata: init at 0.0.3

This commit is contained in:
Fabian Affolter 2021-01-17 12:57:30 +01:00
parent aa4a14b7ad
commit df06280b15
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "swisshydrodata";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1adpy6k2bknffzl5rckqpvaqyrvc00d6a4a4541438dqasx61npl";
};
propagatedBuildInputs = [ requests ];
# Tests are not releases at the moment
doCheck = false;
pythonImportsCheck = [ "swisshydrodata" ];
meta = with lib; {
description = "Python client to get data from the Swiss federal Office for Environment FEON";
homepage = "https://github.com/bouni/swisshydrodata";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7413,6 +7413,8 @@ in {
swagger-ui-bundle = callPackage ../development/python-modules/swagger-ui-bundle { };
swisshydrodata = callPackage ../development/python-modules/swisshydrodata { };
swspotify = callPackage ../development/python-modules/swspotify { };
sybil = callPackage ../development/python-modules/sybil { };