depot/third_party/nixpkgs/pkgs/development/libraries/mathgl/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

35 lines
653 B
Nix

{ lib
, stdenv
, fetchurl
, cmake
, zlib
, libpng
, libGL
}:
stdenv.mkDerivation rec {
pname = "mathgl";
version = "8.0.2";
src = fetchurl {
url = "mirror://sourceforge/mathgl/mathgl-${version}.tar.gz";
sha256 = "sha256-cWYJlWhKawooI/Z49sQ4q6ukdKEVJGzfX5sLRgq/ysE=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
zlib
libpng
libGL
];
meta = with lib; {
description = "Library for scientific data visualization";
homepage = "https://mathgl.sourceforge.net/";
license = with licenses; [ gpl3 lgpl3 ];
platforms = platforms.linux;
maintainers = [ maintainers.GabrielDougherty ];
};
}