6 withTarget ? "GENERIC",
9 stdenv.mkDerivation (finalAttrs: {
13 src = fetchFromGitHub {
16 rev = finalAttrs.version;
17 hash = "sha256-peopXTJejgqS/DL4h52h1vVJe6jjWPQb6x/9SPvFl6k=";
20 nativeBuildInputs = [ cmake ];
22 cmakeFlags = [ "-DTARGET=${withTarget}" ];
25 description = "Basic linear algebra subroutines for embedded optimization";
26 homepage = "https://github.com/giaf/blasfeo";
27 changelog = "https://github.com/giaf/blasfeo/blob/${finalAttrs.version}/Changelog.txt";
28 license = lib.licenses.bsd2;
29 maintainers = with lib.maintainers; [ nim65s ];