mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 04:38:44 +08:00
add matplotplusplus
This commit is contained in:
parent
8dc5b34cc1
commit
e4076219e1
@ -27,4 +27,5 @@
|
||||
v_sim = callPackage ./v_sim {};
|
||||
concurrencpp = callPackage ./concurrencpp { stdenv = gcc13Stdenv; };
|
||||
eigengdb = python3Packages.callPackage ./eigengdb {};
|
||||
matplotplusplus = callPackage ./matplotplusplus {};
|
||||
}
|
||||
|
17
local/pkgs/matplotplusplus/default.nix
Normal file
17
local/pkgs/matplotplusplus/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
stdenv, fetchFromGitHub, cmake,
|
||||
gnuplot, libjpeg, libtiff, zlib, libpng, lapack, blas, fftw, opencv
|
||||
}: stdenv.mkDerivation rec
|
||||
{
|
||||
pname = "matplotplusplus";
|
||||
version = "1.2.0";
|
||||
src = fetchFromGitHub
|
||||
{
|
||||
owner = "alandefreitas";
|
||||
repo = "matplotplusplus";
|
||||
rev = "v${version}";
|
||||
sha256 = "mYXAB1AbCtcd2rEuluJN6hDKE9+AowodjJt2pdyntes=";
|
||||
};
|
||||
buildInputs = [ gnuplot libjpeg libtiff zlib libpng lapack blas fftw opencv ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user