forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#117121 from elohmeier/dwdwfsapi
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, requests | ||
, ciso8601 | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "dwdwfsapi"; | ||
version = "1.0.3"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "sha256-PX1b1msaZH8HKVBo3GU7TOr8Lo7INLjjJBkDHHs6mzk="; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
requests | ||
ciso8601 | ||
]; | ||
|
||
# All tests require network access | ||
doCheck = false; | ||
|
||
pythonImportsCheck = [ "dwdwfsapi" ]; | ||
|
||
meta = with lib; { | ||
description = "Python client to retrieve data provided by DWD via their geoserver WFS API"; | ||
homepage = "https://github.com/stephan192/dwdwfsapi"; | ||
license = with licenses; [ mit ]; | ||
maintainers = with maintainers; [ elohmeier ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters