Diff: https://github.com/zauberzeug/nicegui-highcharts/compare/v3.0.0...v3.1.0 Changelog: https://github.com/zauberzeug/nicegui-highcharts/releases/tag/v3.1.0
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
poetry-core,
|
|
setuptools,
|
|
|
|
# dependencies
|
|
docutils,
|
|
nicegui,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nicegui-highcharts";
|
|
version = "3.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zauberzeug";
|
|
repo = "nicegui-highcharts";
|
|
tag = "v${version}";
|
|
hash = "sha256-xfZtEAwHIbSI55V9GR9E1c2bbC+RQFiBW9zZ1f3e+vk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|