Merge pull request #109620 from fabaff/swisshydrodata
This commit is contained in:
commit
458832e973
28
pkgs/development/python-modules/swisshydrodata/default.nix
Normal file
28
pkgs/development/python-modules/swisshydrodata/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -794,7 +794,7 @@
|
|||||||
"supervisord" = ps: with ps; [ ];
|
"supervisord" = ps: with ps; [ ];
|
||||||
"supla" = ps: with ps; [ ]; # missing inputs: asyncpysupla
|
"supla" = ps: with ps; [ ]; # missing inputs: asyncpysupla
|
||||||
"surepetcare" = ps: with ps; [ ]; # missing inputs: surepy
|
"surepetcare" = ps: with ps; [ ]; # missing inputs: surepy
|
||||||
"swiss_hydrological_data" = ps: with ps; [ ]; # missing inputs: swisshydrodata
|
"swiss_hydrological_data" = ps: with ps; [ swisshydrodata ];
|
||||||
"swiss_public_transport" = ps: with ps; [ python-opendata-transport ];
|
"swiss_public_transport" = ps: with ps; [ python-opendata-transport ];
|
||||||
"swisscom" = ps: with ps; [ ];
|
"swisscom" = ps: with ps; [ ];
|
||||||
"switch" = ps: with ps; [ ];
|
"switch" = ps: with ps; [ ];
|
||||||
|
@ -7427,6 +7427,8 @@ in {
|
|||||||
|
|
||||||
swagger-ui-bundle = callPackage ../development/python-modules/swagger-ui-bundle { };
|
swagger-ui-bundle = callPackage ../development/python-modules/swagger-ui-bundle { };
|
||||||
|
|
||||||
|
swisshydrodata = callPackage ../development/python-modules/swisshydrodata { };
|
||||||
|
|
||||||
swspotify = callPackage ../development/python-modules/swspotify { };
|
swspotify = callPackage ../development/python-modules/swspotify { };
|
||||||
|
|
||||||
sybil = callPackage ../development/python-modules/sybil { };
|
sybil = callPackage ../development/python-modules/sybil { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user