Commit 866089f9 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.nicegui-highcharts: 2.0.2 -> 2.1.0

parent 06395294
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -2,30 +2,31 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  poetry-core,
  setuptools,

  # dependencies
  docutils,
  nicegui,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "nicegui-highcharts";
  version = "2.0.2";
  version = "2.1.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "zauberzeug";
    repo = "nicegui-highcharts";
    tag = "v${version}";
    hash = "sha256-r4X4faU7Nlq/FDbIYbTpvnC1w14XskpsNGtkEXtGrFo=";
    hash = "sha256-9COui3gqLZqJSeZyzazxQcOc2oM9Li+dLBoy5VcEKBw=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail '"setuptools>=30.3.0,<50",' ""
      --replace-fail "setuptools>=30.3.0,<50" "setuptools"
  '';

  pythonRelaxDeps = [
@@ -51,6 +52,7 @@ buildPythonPackage rec {
  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 ];
  };