2023-03-24 00:07:29 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenvNoCC
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "singeli";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "unstable-2023-09-12";
|
2023-03-24 00:07:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mlochbaum";
|
|
|
|
repo = "Singeli";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "49a6a90d83992171a2db749e9f7fd400ec65ef2c";
|
|
|
|
hash = "sha256-9Dc6yrrXV6P9s1uwGlXB+ZBquOLejWe41k0TSpJGDgE=";
|
2023-03-24 00:07:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
# The CBQN derivation will build Singeli, here we just provide the source files.
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/dev
|
|
|
|
cp -r $src $out/dev
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mlochbaum/Singeli";
|
|
|
|
description = "A metaprogramming DSL for SIMD";
|
|
|
|
license = licenses.isc;
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres sternenseemann synthetica shnarazk detegr ];
|
2023-03-24 00:07:29 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|