depot/third_party/nixpkgs/pkgs/development/python-modules/pyipma/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

36 lines
808 B
Nix

{ 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 ];
};
}