Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
82 lines
1.5 KiB
Nix
82 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitLab,
|
|
meson,
|
|
ninja,
|
|
vala,
|
|
pkg-config,
|
|
gobject-introspection,
|
|
blueprint-compiler,
|
|
itstool,
|
|
wrapGAppsHook4,
|
|
desktop-file-utils,
|
|
shared-mime-info,
|
|
libadwaita,
|
|
libgee,
|
|
nix-update-script,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "gnome-graphs";
|
|
version = "1.8.4";
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "World";
|
|
repo = "Graphs";
|
|
rev = "v${version}";
|
|
hash = "sha256-up4Hv2gndekDQzEnf7kkskDyRGJ/mqEji7dsuLgnUVI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
gobject-introspection
|
|
blueprint-compiler
|
|
itstool
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
shared-mime-info
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
libgee
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
pygobject3
|
|
numpy
|
|
numexpr
|
|
sympy
|
|
scipy
|
|
matplotlib
|
|
];
|
|
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
makeWrapperArgs+=(
|
|
"''${gappsWrapperArgs[@]}"
|
|
--prefix LD_LIBRARY_PATH : $out/lib
|
|
)
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Simple, yet powerful tool that allows you to plot and manipulate your data with ease";
|
|
homepage = "https://apps.gnome.org/Graphs";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "graphs";
|
|
teams = [ lib.teams.gnome-circle ];
|
|
platforms = platforms.linux; # locale.bindtextdomain only available on linux
|
|
};
|
|
}
|