Files
2026-10-09 07:00:29 +00:00

47 lines
1015 B
Nix

{
lib,
buildPythonPackage,
docutils,
fetchFromGitHub,
nicegui,
hatchling,
pyprojectVersionPatchHook,
}:
buildPythonPackage (finalAttrs: {
pname = "nicegui-highcharts";
version = "3.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zauberzeug";
repo = "nicegui-highcharts";
tag = "v${finalAttrs.version}";
hash = "sha256-K8WfrMxpQ33VYdPM4NijC+Iz1m3/TdqOLfJfqinwkb0=";
};
pythonRelaxDeps = [ "docutils" ];
build-system = [ hatchling ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
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";
changelog = "https://github.com/zauberzeug/nicegui-highcharts/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})