ja2-stracciatella: 0.17.0 -> 0.21.0
[NixPkgs.git] / pkgs / by-name / bl / blasfeo / package.nix
blobf7b28c0823d952e4292c09efdd953b08e4bcfe02
2   cmake,
3   fetchFromGitHub,
4   lib,
5   stdenv,
6   withTarget ? "GENERIC",
7 }:
9 stdenv.mkDerivation (finalAttrs: {
10   pname = "blasfeo";
11   version = "0.1.4.1";
13   src = fetchFromGitHub {
14     owner = "giaf";
15     repo = "blasfeo";
16     rev = finalAttrs.version;
17     hash = "sha256-peopXTJejgqS/DL4h52h1vVJe6jjWPQb6x/9SPvFl6k=";
18   };
20   nativeBuildInputs = [ cmake ];
22   cmakeFlags = [ "-DTARGET=${withTarget}" ];
24   meta = {
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 ];
30   };