about summary refs log tree commit diff
path: root/pkgs/by-name/si/simde/package.nix
blob: a16d804054fbb2f631cc6f699eba7b2f8f24f288 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, lib, fetchFromGitHub, meson, ninja }:

stdenv.mkDerivation rec {
  pname = "simde";
  version = "0.8.0";

  src = fetchFromGitHub {
    owner = "simd-everywhere";
    repo = "simde";
    rev = "v${version}";
    hash = "sha256-hQtSxO8Uld6LT6V1ZhR6tbshTK1QTGgyQ99o3jOIbQk=";
  };

  nativeBuildInputs = [ meson ninja ];

  meta = with lib; {
    homepage = "https://simd-everywhere.github.io";
    description = "Implementations of SIMD instruction sets for systems which don't natively support them";
    license = with licenses; [mit];
    maintainers = with maintainers; [ whiteley ];
    platforms = flatten (with platforms; [
      arm
      armv7
      aarch64
      x86
      power
      mips
    ]);
  };
}