Skip to content

Commit

Permalink
mathgl: init at 8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielDougherty committed Mar 5, 2023
1 parent 8f309d1 commit d189fd7
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5237,6 +5237,12 @@
githubId = 606000;
name = "Gabriel Adomnicai";
};
GabrielDougherty = {
email = "contact@gabrieldougherty.com";
github = "GabrielDougherty";
githubId = 10541219;
name = "Gabriel Dougherty";
};
garaiza-93 = {
email = "araizagustavo93@gmail.com";
github = "garaiza-93";
Expand Down
32 changes: 32 additions & 0 deletions pkgs/development/libraries/mathgl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, stdenv
, fetchurl
, cmake
, zlib
, libpng
, libGL
}:
stdenv.mkDerivation rec {
pname = "mathgl";
version = "8.0.1";

src = fetchurl {
url = "mirror://sourceforge/mathgl/mathgl-${version}.tar.gz";
sha256 = "sha256-yoS/lIDDntMRLpIMFs49jyiYaY9iiW86V3FBKGIqVao=";
};

buildInputs = [
cmake
zlib
libpng
libGL
];

meta = with lib; {
description = "A library for scientific data visualization";
homepage = "https://https://mathgl.sourceforge.net/";
license = with licenses; [ gpl3 lgpl3 ];
platforms = platforms.linux ++ platforms.windows;
maintainers = [ maintainers.GabrielDougherty ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,8 @@ with pkgs;
description = mame.meta.description + " (tools only)";
} (lib.getOutput "tools" mame);

mathgl = callPackage ../development/libraries/mathgl { };

mednafen = callPackage ../applications/emulators/mednafen { };

mednafen-server = callPackage ../applications/emulators/mednafen/server.nix { };
Expand Down

0 comments on commit d189fd7

Please sign in to comment.