python3Packages.buienradar: init at 1.0.4

+60
+58
pkgs/development/python-modules/buienradar/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , docopt 6 + , pytz 7 + , requests 8 + , setuptools 9 + , vincenty 10 + , xmltodict 11 + , pytestCheckHook 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "buienradar"; 16 + version = "1.0.4"; 17 + 18 + disabled = pythonOlder "3.4"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "mjj4791"; 22 + repo = "python-buienradar"; 23 + rev = version; 24 + sha256 = "1s0m5x7wdvzzsm797lh6531k614ybh7z0cikxjxqw377mivpz4wq"; 25 + }; 26 + 27 + propagatedBuildInputs = [ 28 + docopt 29 + pytz 30 + requests 31 + setuptools 32 + vincenty 33 + xmltodict 34 + ]; 35 + 36 + checkInputs = [ 37 + pytestCheckHook 38 + ]; 39 + 40 + disabledTests = [ 41 + # require network connection 42 + "test_rain_data" 43 + "test_json_data" 44 + "test_xml_data" 45 + ]; 46 + 47 + pythonImportsCheck = [ 48 + "buienradar.buienradar" 49 + "buienradar.constants" 50 + ]; 51 + 52 + meta = with lib; { 53 + description = "Library and CLI tools for interacting with buienradar"; 54 + homepage = "https://github.com/mjj4791/python-buienradar"; 55 + license = licenses.mit; 56 + maintainers = with maintainers; [ dotlambda ]; 57 + }; 58 + }
+2
pkgs/top-level/python-packages.nix
··· 1186 1186 1187 1187 bugzilla = callPackage ../development/python-modules/bugzilla { }; 1188 1188 1189 + buienradar = callPackage ../development/python-modules/buienradar { }; 1190 + 1189 1191 buildbot = callPackage ../development/python-modules/buildbot { }; 1190 1192 1191 1193 buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]);