diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/math/zegrapher/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/math/zegrapher/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/math/zegrapher/default.nix b/nixpkgs/pkgs/applications/science/math/zegrapher/default.nix new file mode 100644 index 000000000000..32633eb8015d --- /dev/null +++ b/nixpkgs/pkgs/applications/science/math/zegrapher/default.nix @@ -0,0 +1,36 @@ +{ lib, 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 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 ]; + }; +} |