mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 00:49:42 +08:00
8 lines
225 B
Nix
8 lines
225 B
Nix
{ stdenv, src, cmake, pkg-config }: stdenv.mkDerivation
|
|
{
|
|
name = "matplotplusplus";
|
|
inherit src;
|
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DMATPLOTPP_BUILD_EXAMPLES=OFF" ];
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
}
|