nixpkgs/pkgs/applications/science/math/sage/openblas-pc.nix

19 lines
408 B
Nix
Raw Normal View History

2018-04-24 23:53:36 +02:00
{ stdenv
, openblasCompat
, writeTextFile
, name
}:
writeTextFile {
name = "openblas-${name}-pc-${openblasCompat.version}";
destination = "/lib/pkgconfig/${name}.pc";
text = ''
Name: ${name}
Version: ${openblasCompat.version}
Description: ${name} for SageMath, provided by the OpenBLAS package.
Cflags: -I${openblasCompat}/include
Libs: -L${openblasCompat}/lib -lopenblas
'';
}