nixpkgs/pkgs/by-name/ze/zegrapher/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
925 B
Nix
Raw Normal View History

{
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
stdenv.mkDerivation (finalAttrs: {
2020-10-12 19:27:13 +00:00
pname = "zegrapher";
version = "3.1.1";
src = fetchFromGitHub {
owner = "AdelKS";
repo = "ZeGrapher";
rev = "v${finalAttrs.version}";
hash = "sha256-OSQXm0gDI1zM2MBM4iiY43dthJcAZJkprklolsNMEvk=";
2020-10-12 19:27:13 +00:00
};
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
2020-10-12 19:27:13 +00:00
buildInputs = [
boost
];
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.
'';
license = lib.licenses.gpl3Plus;
mainProgram = "ZeGrapher";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
2020-10-12 19:27:13 +00:00
};
})