python3Packages.pyipma: init at 2.1.5

This commit is contained in:
Fabian Affolter 2021-06-20 11:30:29 +02:00
parent 9770439689
commit f09a1ac2b6
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, geopy
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyipma";
version = "2.1.5";
disabled = pythonOlder "3.7";
# Request for GitHub releases, https://github.com/dgomes/pyipma/issues/10
src = fetchPypi {
inherit pname version;
sha256 = "0hq5dasqpsn64x2sf6a28hdmysygmcdq4in6s08w97jfvwc6xmym";
};
propagatedBuildInputs = [
aiohttp
geopy
];
# Project has no tests included in the PyPI releases
doCheck = false;
pythonImportsCheck = [ "pyipma" ];
meta = with lib; {
description = "Python library to retrieve information from Instituto Português do Mar e Atmosfera";
homepage = "https://github.com/dgomes/pyipma";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5965,6 +5965,8 @@ in {
pyintesishome = callPackage ../development/python-modules/pyintesishome { };
pyipma = callPackage ../development/python-modules/pyipma { };
pyipp = callPackage ../development/python-modules/pyipp { };
pyiqvia = callPackage ../development/python-modules/pyiqvia { };