Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

60 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
setuptools,
# dependencies
docutils,
nicegui,
}:
buildPythonPackage rec {
pname = "nicegui-highcharts";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zauberzeug";
repo = "nicegui-highcharts";
tag = "v${version}";
hash = "sha256-kP7wU0gZRmBtcMFPypkGowSK2s8B2UD8A2XyK87WqEU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools>=30.3.0,<50" "setuptools"
'';
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";
changelog = "https://github.com/zauberzeug/nicegui-highcharts/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}