python312Packages.nicegui-highcharts: init at 2.0.2

NiceGUI with support for Highcharts

https://github.com/zauberzeug/nicegui-highcharts
This commit is contained in:
Fabian Affolter
2024-10-29 21:51:33 +01:00
parent 9a6c27c1a5
commit 92a5e138d7
2 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
setuptools,
docutils,
nicegui,
pythonOlder,
}:
buildPythonPackage rec {
pname = "nicegui-highcharts";
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "zauberzeug";
repo = "nicegui-highcharts";
rev = "refs/tags/v${version}";
hash = "sha256-r4X4faU7Nlq/FDbIYbTpvnC1w14XskpsNGtkEXtGrFo=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools>=30.3.0,<50",' ""
'';
pythonRelaxDeps = [
"docutils"
"nicegui"
];
build-system = [
poetry-core
setuptools
];
dependencies = [
docutils
nicegui
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "nicegui_highcharts" ];
meta = {
description = "NiceGUI with support for Highcharts";
homepage = "https://github.com/zauberzeug/nicegui-highcharts";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@@ -8971,6 +8971,8 @@ self: super: with self; {
nicegui = callPackage ../development/python-modules/nicegui { };
nicegui-highcharts = callPackage ../development/python-modules/nicegui-highcharts { };
nidaqmx = callPackage ../development/python-modules/nidaqmx { };
nikola = callPackage ../development/python-modules/nikola { };