simde: init at 0.7.6

This commit is contained in:
Matt Whiteley 2023-11-01 00:37:05 +00:00
parent 26ad83bc7b
commit 15f640cc9e

View File

@ -0,0 +1,31 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "simde";
version = "0.7.6";
src = fetchFromGitHub {
owner = "simd-everywhere";
repo = "simde";
rev = "v${version}";
hash = "sha256-pj+zaD5o9XYkTavezcQFzM6ao0IdQP1zjP9L4vcCyEY=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/include
cp -a ${pname} $out/include
install -Dt $out/share/doc/${pname} README.md
runHook postInstall
'';
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];
platforms = platforms.unix;
};
}