2 , gobject-introspection
9 python3.pkgs.buildPythonApplication rec {
13 src = fetchFromGitHub {
14 owner = "alexhuntley";
17 hash = "sha256-GjNpaorxkkhZsqrKq4kO5nqF5+4I4tmSc023AZpY8Sw=";
25 propagatedBuildInputs = [
27 (python3.withPackages (p: with p; [
40 (python3.withPackages (p: with p; [
48 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
52 install -D ${lmmath}/share/fonts/opentype/latinmodern-math.otf -t $out/share/fonts/
54 install -D res/com.github.alexhuntley.Plots.metainfo.xml -t $out/share/metainfo/
55 install -D res/com.github.alexhuntley.Plots.desktop -t $out/share/applications/
56 install -D res/com.github.alexhuntley.Plots.svg -t $out/share/icons/hicolor/scalable/apps/
57 install -D res/com.github.alexhuntley.Plots-symbolic.svg -t $out/share/icons/hicolor/symbolic/apps/
59 for lang_dir in help/*; do
60 lang=$(basename "$lang_dir")
61 install -D -t $out/share/help/$lang/plots/ $lang_dir/*
66 description = "Graph plotting app for GNOME";
68 Plots is a graph plotting app for GNOME.
69 Plots makes it easy to visualise mathematical formulae.
70 In addition to basic arithmetic operations, it supports trigonometric, hyperbolic, exponential and logarithmic functions, as well as arbitrary sums and products.
71 It can display polar equations, and both implicit and explicit Cartesian equations.
73 homepage = "https://github.com/alexhuntley/Plots";
74 license = licenses.gpl3Plus;
75 maintainers = with maintainers; [ sund3RRR ];