2023-05-24 13:37:59 +00:00
|
|
|
{ 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=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib
|
|
|
|
libpng
|
|
|
|
libGL
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for scientific data visualization";
|
2023-05-24 13:37:59 +00:00
|
|
|
homepage = "https://mathgl.sourceforge.net/";
|
|
|
|
license = with licenses; [ gpl3 lgpl3 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.GabrielDougherty ];
|
|
|
|
};
|
|
|
|
}
|