nixpkgs/pkgs/by-name/si/simde/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
674 B
Nix
Raw Normal View History

2023-11-01 03:28:55 +00:00
{ stdenv, lib, fetchFromGitHub, meson, ninja }:
2023-11-01 00:37:05 +00:00
stdenv.mkDerivation rec {
pname = "simde";
version = "0.7.6";
src = fetchFromGitHub {
owner = "simd-everywhere";
repo = "simde";
rev = "v${version}";
hash = "sha256-pj+zaD5o9XYkTavezcQFzM6ao0IdQP1zjP9L4vcCyEY=";
};
2023-11-01 03:28:55 +00:00
nativeBuildInputs = [ meson ninja ];
2023-11-01 00:37:05 +00:00
meta = with lib; {
homepage = "https://simd-everywhere.github.io";
2023-11-01 03:31:44 +00:00
description = "Implementations of SIMD instruction sets for systems which don't natively support them";
2023-11-01 00:37:05 +00:00
license = with licenses; [mit];
2023-11-01 03:31:11 +00:00
platforms = flatten (with platforms; [
arm
armv7
aarch64
x86
power
mips
]);
2023-11-01 00:37:05 +00:00
};
}