Files
nixpkgs/pkgs/by-name/si/simde/package.nix
2026-07-15 14:04:39 -04:00

44 lines
810 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
meson,
ninja,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "simde";
version = "0.8.2";
src = fetchFromGitHub {
owner = "simd-everywhere";
repo = "simde";
rev = "v${finalAttrs.version}";
hash = "sha256-igjDHCpKXy6EbA9Mf6peL4OTVRPYTV0Y2jbgYQuWMT4=";
};
nativeBuildInputs = [
meson
ninja
];
meta = {
homepage = "https://simd-everywhere.github.io";
description = "Implementations of SIMD instruction sets for systems which don't natively support them";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ whiteley ];
platforms = lib.flatten (
with lib.platforms;
[
arm
armv7
aarch64
x86
power
mips
riscv
]
);
};
})