nixos/packages/matplotplusplus.nix

12 lines
315 B
Nix
Raw Normal View History

2023-09-23 17:33:17 +08:00
{
2024-08-11 18:01:46 +08:00
stdenv, src, cmake, pkg-config,
libjpeg, libtiff, zlib, libpng
2023-10-08 13:33:32 +08:00
}: stdenv.mkDerivation
2023-09-23 17:33:17 +08:00
{
2024-01-23 13:02:19 +08:00
name = "matplotplusplus";
inherit src;
2024-08-11 18:01:46 +08:00
cmakeFlags = [ "-DMATPLOTPP_BUILD_EXAMPLES=OFF" "-DMATPLOTPP_BUILD_TESTS=OFF" ];
buildInputs = [ libjpeg libtiff zlib libpng ];
nativeBuildInputs = [ cmake pkg-config ];
2023-09-23 17:33:17 +08:00
}