From 1331d642e0af8b58a97ce752dc2dde630e1e2d00 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Mon, 12 Oct 2020 16:27:13 -0300 Subject: [PATCH] zegrapher: init at 3.1.1 --- .../science/math/zegrapher/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/science/math/zegrapher/default.nix diff --git a/pkgs/applications/science/math/zegrapher/default.nix b/pkgs/applications/science/math/zegrapher/default.nix new file mode 100644 index 000000000000..c9eb72cca433 --- /dev/null +++ b/pkgs/applications/science/math/zegrapher/default.nix @@ -0,0 +1,36 @@ +{ stdenv +, 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 + ]; + + meta = with stdenv.lib; { + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 78dd13023808..22cde0081421 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26330,6 +26330,8 @@ in cmake = cmakeCurses; }); + zegrapher = libsForQt5.callPackage ../applications/science/math/zegrapher { }; + ### SCIENCE/MEDICINE aliza = callPackage ../applications/science/medicine/aliza { };