mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 19:00:46 +00:00
python312Packages.nicegui-highcharts: init at 2.0.2
NiceGUI with support for Highcharts https://github.com/zauberzeug/nicegui-highcharts
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user