1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 meson,
6 ninja,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "simde";
11 version = "0.8.2";
12
13 src = fetchFromGitHub {
14 owner = "simd-everywhere";
15 repo = "simde";
16 rev = "v${version}";
17 hash = "sha256-igjDHCpKXy6EbA9Mf6peL4OTVRPYTV0Y2jbgYQuWMT4=";
18 };
19
20 nativeBuildInputs = [
21 meson
22 ninja
23 ];
24
25 meta = with lib; {
26 homepage = "https://simd-everywhere.github.io";
27 description = "Implementations of SIMD instruction sets for systems which don't natively support them";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ whiteley ];
30 platforms = flatten (
31 with platforms;
32 [
33 arm
34 armv7
35 aarch64
36 x86
37 power
38 mips
39 riscv
40 ]
41 );
42 };
43}