datalad: fix changed hash from upstream (#364015)
[NixPkgs.git] / pkgs / development / python-modules / buienradar / default.nix
blob4ecf5a6abd221fbfdae95d33f771cc93ede67304
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   docopt,
6   pytz,
7   requests,
8   setuptools,
9   vincenty,
10   xmltodict,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "buienradar";
16   version = "1.0.6";
17   format = "setuptools";
19   src = fetchFromGitHub {
20     owner = "mjj4791";
21     repo = "python-buienradar";
22     # https://github.com/mjj4791/python-buienradar/issues/14
23     rev = "6081a860e190eb59c2ea3ebdcb8a50f6133a0b53";
24     hash = "sha256-5bFGPR8StyQTMRcvECdHGC33oAR/9noeCbpwx3DSquQ=";
25   };
27   propagatedBuildInputs = [
28     docopt
29     pytz
30     requests
31     setuptools
32     vincenty
33     xmltodict
34   ];
36   nativeCheckInputs = [ pytestCheckHook ];
38   disabledTests = [
39     # require network connection
40     "test_rain_data"
41     "test_json_data"
42     "test_xml_data"
43   ];
45   pythonImportsCheck = [
46     "buienradar.buienradar"
47     "buienradar.constants"
48   ];
50   meta = with lib; {
51     description = "Library and CLI tools for interacting with buienradar";
52     mainProgram = "buienradar";
53     homepage = "https://github.com/mjj4791/python-buienradar";
54     license = licenses.mit;
55     maintainers = with maintainers; [ dotlambda ];
56   };