summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2020-10-12 16:27:13 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2020-10-12 19:31:34 -0300
commit1331d642e0af8b58a97ce752dc2dde630e1e2d00 (patch)
tree613c9615fe006b5e3a886909bde2550dfa0cbd37 /pkgs
parent9b6fc07d15469c774873e75d9497a1bb00e97338 (diff)
downloadnixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.tar
nixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.tar.gz
nixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.tar.bz2
nixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.tar.lz
nixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.tar.xz
nixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.tar.zst
nixpkgs-1331d642e0af8b58a97ce752dc2dde630e1e2d00.zip
zegrapher: init at 3.1.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/science/math/zegrapher/default.nix36
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/zegrapher/default.nix b/pkgs/applications/science/math/zegrapher/default.nix
new file mode 100644
index 00000000000..c9eb72cca43
--- /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 78dd1302380..22cde008142 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 { };