mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.buienradar: init at 1.0.4
This commit is contained in:
parent
6e51e12d4a
commit
71f8d097de
58
pkgs/development/python-modules/buienradar/default.nix
Normal file
58
pkgs/development/python-modules/buienradar/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, docopt
|
||||
, pytz
|
||||
, requests
|
||||
, setuptools
|
||||
, vincenty
|
||||
, xmltodict
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "buienradar";
|
||||
version = "1.0.4";
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjj4791";
|
||||
repo = "python-buienradar";
|
||||
rev = version;
|
||||
sha256 = "1s0m5x7wdvzzsm797lh6531k614ybh7z0cikxjxqw377mivpz4wq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
pytz
|
||||
requests
|
||||
setuptools
|
||||
vincenty
|
||||
xmltodict
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# require network connection
|
||||
"test_rain_data"
|
||||
"test_json_data"
|
||||
"test_xml_data"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"buienradar.buienradar"
|
||||
"buienradar.constants"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library and CLI tools for interacting with buienradar";
|
||||
homepage = "https://github.com/mjj4791/python-buienradar";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -1186,6 +1186,8 @@ in {
|
||||
|
||||
bugzilla = callPackage ../development/python-modules/bugzilla { };
|
||||
|
||||
buienradar = callPackage ../development/python-modules/buienradar { };
|
||||
|
||||
buildbot = callPackage ../development/python-modules/buildbot { };
|
||||
|
||||
buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]);
|
||||
|
Loading…
Reference in New Issue
Block a user