mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
36 lines
653 B
Nix
36 lines
653 B
Nix
{ 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; {
|
|
description = "Library for scientific data visualization";
|
|
homepage = "https://mathgl.sourceforge.net/";
|
|
license = with licenses; [ gpl3 lgpl3 ];
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.GabrielDougherty ];
|
|
};
|
|
}
|