ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / swisshydrodata / default.nix
blobf9464382c4c0848d6af58295f7e6d0a2e2474828
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , requests
6 , requests-mock
7 }:
9 buildPythonPackage rec {
10   pname = "swisshydrodata";
11   version = "0.1.0";
13   src = fetchFromGitHub {
14     owner = "Bouni";
15     repo = pname;
16     rev = version;
17     sha256 = "1rdgfc6zg5j3fvrpbqs9vc3n5m66r5yljawyl7nmrqd5lwq1lqak";
18   };
20   propagatedBuildInputs = [
21     requests
22   ];
24   checkInputs = [
25     pytestCheckHook
26     requests-mock
27   ];
29   pythonImportsCheck = [ "swisshydrodata" ];
31   meta = with lib; {
32     description = "Python client to get data from the Swiss federal Office for Environment FEON";
33     homepage = "https://github.com/bouni/swisshydrodata";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };