Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / buienradar / default.nix
blob23a19f89f27978a151f2f1e84d457a9dd445128b
1 { lib
2 , buildPythonPackage
3 , pythonOlder
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.5";
17   format = "setuptools";
19   disabled = pythonOlder "3.4";
21   src = fetchFromGitHub {
22     owner = "mjj4791";
23     repo = "python-buienradar";
24     # https://github.com/mjj4791/python-buienradar/issues/14
25     rev = "caa66ea855dbcc7cf6ee13291d9b2ed7ac01ef98";
26     hash = "sha256:0xz03xj5qjayriaah20adh0ycvlvb8jdvgh7w5gm236n64g6krj0";
27   };
29   propagatedBuildInputs = [
30     docopt
31     pytz
32     requests
33     setuptools
34     vincenty
35     xmltodict
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40   ];
42   disabledTests = [
43     # require network connection
44     "test_rain_data"
45     "test_json_data"
46     "test_xml_data"
47   ];
49   pythonImportsCheck = [
50     "buienradar.buienradar"
51     "buienradar.constants"
52   ];
54   meta = with lib; {
55     description = "Library and CLI tools for interacting with buienradar";
56     mainProgram = "buienradar";
57     homepage = "https://github.com/mjj4791/python-buienradar";
58     license = licenses.mit;
59     maintainers = with maintainers; [ dotlambda ];
60   };