python313Packages.pysmhi: init at 1.0.0
This commit is contained in:
committed by
Martin Weinelt
parent
410d05c41a
commit
3d5131d8dc
@@ -0,0 +1,49 @@
|
||||
{
|
||||
aiohttp,
|
||||
aresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
freezegun,
|
||||
lib,
|
||||
poetry-core,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmhi";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gjohansson-ST";
|
||||
repo = "pysmhi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-QwL4WkKrp1CWvJQK/H0iua2Eupe3FvZ4WkYV8OtONhI=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pysmhi" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
freezegun
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/gjohansson-ST/pysmhi/releases/tag/${src.tag}";
|
||||
description = "Retrieve open data from SMHI api";
|
||||
homepage = "https://github.com/gjohansson-ST/pysmhi";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -10972,6 +10972,8 @@ self: super: with self; {
|
||||
|
||||
pyskyqremote = callPackage ../development/python-modules/pyskyqremote { };
|
||||
|
||||
pysmhi = callPackage ../development/python-modules/pysmhi { };
|
||||
|
||||
pysolcast = callPackage ../development/python-modules/pysolcast { };
|
||||
|
||||
pystac = callPackage ../development/python-modules/pystac { };
|
||||
|
||||
Reference in New Issue
Block a user