Skip to content

Commit

Permalink
python312Packages.nicegui-highcharts: init at 2.0.2
Browse files Browse the repository at this point in the history
NiceGUI with support for Highcharts

https://github.com/zauberzeug/nicegui-highcharts
  • Loading branch information
fabaff committed Dec 8, 2024
1 parent 47f7854 commit 610bffc
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
57 changes: 57 additions & 0 deletions pkgs/development/python-modules/nicegui-highcharts/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 610bffc

Please sign in to comment.