nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 docutils,
5 fetchFromGitHub,
6 nicegui,
7 hatchling,
8}:
9
10buildPythonPackage (finalAttrs: {
11 pname = "nicegui-highcharts";
12 version = "3.2.1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "zauberzeug";
17 repo = "nicegui-highcharts";
18 tag = "v${finalAttrs.version}";
19 hash = "sha256-/lQ2E2kcFjS3FbuOgixAu1E24dzwR/ppT0DRlRjrp6E=";
20 };
21
22 pythonRelaxDeps = [ "docutils" ];
23
24 build-system = [ hatchling ];
25
26 dependencies = [
27 docutils
28 nicegui
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "nicegui_highcharts" ];
35
36 meta = {
37 description = "NiceGUI with support for Highcharts";
38 homepage = "https://github.com/zauberzeug/nicegui-highcharts";
39 changelog = "https://github.com/zauberzeug/nicegui-highcharts/releases/tag/${finalAttrs.src.tag}";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ fab ];
42 };
43})