Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
767 B
Nix
40 lines
767 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
python3,
|
|
enableModTool ? true,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "volk";
|
|
version = "3.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gnuradio";
|
|
repo = "volk";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-9bURoGyjdNoKCcgGvZL9VygQqUQxOrwthp154Was2/s=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cmakeFlags = [ (lib.cmakeBool "ENABLE_MODTOOL" enableModTool) ];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
python3
|
|
python3.pkgs.mako
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://libvolk.org/";
|
|
description = "Vector Optimized Library of Kernels";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|