mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
Merge pull request #127541 from fabaff/pyipma
This commit is contained in:
commit
c5a97e6662
4 changed files with 40 additions and 1 deletions
36
pkgs/development/python-modules/pyipma/default.nix
Normal file
36
pkgs/development/python-modules/pyipma/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -405,7 +405,7 @@
|
|||
"ios" = ps: with ps; [ aiohttp-cors ifaddr zeroconf ];
|
||||
"iota" = ps: with ps; [ ]; # missing inputs: pyota
|
||||
"iperf3" = ps: with ps; [ ]; # missing inputs: iperf3
|
||||
"ipma" = ps: with ps; [ ]; # missing inputs: pyipma
|
||||
"ipma" = ps: with ps; [ pyipma ];
|
||||
"ipp" = ps: with ps; [ pyipp ];
|
||||
"iqvia" = ps: with ps; [ numpy pyiqvia ];
|
||||
"irish_rail_transport" = ps: with ps; [ ]; # missing inputs: pyirishrail
|
||||
|
|
|
@ -474,6 +474,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"intent"
|
||||
"intent_script"
|
||||
"ios"
|
||||
"ipma"
|
||||
"ipp"
|
||||
"iqvia"
|
||||
"islamic_prayer_times"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue