2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2020-10-12 21:27:13 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, qmake
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, boost }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zegrapher";
|
|
|
|
version = "3.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AdelKS";
|
|
|
|
repo = "ZeGrapher";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-OSQXm0gDI1zM2MBM4iiY43dthJcAZJkprklolsNMEvk=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-12 21:27:13 +02:00
|
|
|
homepage = "https://zegrapher.com/";
|
|
|
|
description = "An 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.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|