plots: drop (#379516)
This commit is contained in:
@@ -1,74 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
gobject-introspection,
|
||||
libadwaita,
|
||||
wrapGAppsHook4,
|
||||
lmmath,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "plots";
|
||||
version = "0.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexhuntley";
|
||||
repo = "Plots";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GjNpaorxkkhZsqrKq4kO5nqF5+4I4tmSc023AZpY8Sw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
wrapGAppsHook4
|
||||
];
|
||||
buildInputs = [ libadwaita ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pygobject3
|
||||
numpy
|
||||
lark
|
||||
jinja2
|
||||
freetype-py
|
||||
pyopengl
|
||||
pycairo
|
||||
pyglm
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [ pytest ];
|
||||
|
||||
postInstall = ''
|
||||
install -D ${lmmath}/share/fonts/opentype/latinmodern-math.otf -t $out/share/fonts/
|
||||
|
||||
install -D res/com.github.alexhuntley.Plots.metainfo.xml -t $out/share/metainfo/
|
||||
install -D res/com.github.alexhuntley.Plots.desktop -t $out/share/applications/
|
||||
install -D res/com.github.alexhuntley.Plots.svg -t $out/share/icons/hicolor/scalable/apps/
|
||||
install -D res/com.github.alexhuntley.Plots-symbolic.svg -t $out/share/icons/hicolor/symbolic/apps/
|
||||
|
||||
for lang_dir in help/*; do
|
||||
lang=$(basename "$lang_dir")
|
||||
install -D -t $out/share/help/$lang/plots/ $lang_dir/*
|
||||
done
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Graph plotting app for GNOME";
|
||||
mainProgram = "plots";
|
||||
longDescription = ''
|
||||
Plots is a graph plotting app for GNOME.
|
||||
Plots makes it easy to visualise mathematical formulae.
|
||||
In addition to basic arithmetic operations, it supports trigonometric, hyperbolic, exponential and logarithmic functions, as well as arbitrary sums and products.
|
||||
It can display polar equations, and both implicit and explicit Cartesian equations.
|
||||
'';
|
||||
homepage = "https://github.com/alexhuntley/Plots";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ sund3RRR ];
|
||||
};
|
||||
}
|
||||
@@ -1104,6 +1104,7 @@ mapAliases {
|
||||
pipewire_0_2 = throw "pipewire_0_2 has been removed as it is outdated and no longer used"; # Added 2024-07-28
|
||||
pipewire-media-session = throw "pipewire-media-session is no longer maintained and has been removed. Please use Wireplumber instead.";
|
||||
pleroma-otp = throw "'pleroma-otp' has been renamed to/replaced by 'pleroma'"; # Converted to throw 2024-10-17
|
||||
plots = throw "'plots' has been replaced by 'gnome-graphs'"; # Added 2025-02-05
|
||||
pltScheme = racket; # just to be sure
|
||||
poac = cabinpkg; # Added 2025-01-22
|
||||
poretools = throw "poretools has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-03
|
||||
|
||||
Reference in New Issue
Block a user