2024-10-10 01:29:47 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
boost,
|
|
|
|
fetchFromGitHub,
|
|
|
|
qt5,
|
|
|
|
stdenv,
|
|
|
|
}:
|
2020-10-12 19:27:13 +00:00
|
|
|
|
2024-10-10 01:19:15 +00:00
|
|
|
let
|
|
|
|
inherit (qt5) qmake wrapQtAppsHook;
|
|
|
|
in
|
2024-10-10 01:29:47 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-10-12 19:27:13 +00:00
|
|
|
pname = "zegrapher";
|
|
|
|
version = "3.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AdelKS";
|
|
|
|
repo = "ZeGrapher";
|
2024-10-10 01:29:47 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-OSQXm0gDI1zM2MBM4iiY43dthJcAZJkprklolsNMEvk=";
|
2020-10-12 19:27:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2024-10-10 01:29:47 +00:00
|
|
|
|
2020-10-12 19:27:13 +00:00
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
];
|
|
|
|
|
2024-10-10 01:29:47 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://zegrapher.com/en/";
|
2020-10-12 19:27:13 +00:00
|
|
|
description = "Open source math plotter";
|
|
|
|
longDescription = ''
|
|
|
|
An open source, free and easy to use math plotter. It can plot functions,
|
|
|
|
sequences, parametric equations and data on the plane.
|
|
|
|
'';
|
2024-10-10 01:29:47 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
mainProgram = "ZeGrapher";
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-10-12 19:27:13 +00:00
|
|
|
};
|
2024-10-10 01:29:47 +00:00
|
|
|
})
|