about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/swisshydrodata/default.nix
blob: f4f191d2b423916a33ecfcc345265087f7d7a86c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
  };
}