depot/pkgs/by-name/ff/ffts/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
659 B
Nix

{
stdenv,
lib,
cmake,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "ffts";
version = "0-unstable-2019-03-19";
src = fetchFromGitHub {
owner = "linkotec";
repo = "ffts";
rev = "2c8da4877588e288ff4cd550f14bec2dc7bf668c";
hash = "sha256-Cj0n7fwFAu6+3ojgczL0Unobdx/XzGNFvNVMXdyHXE4=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DENABLE_SHARED=ON" ];
meta = {
description = "The Fastest Fourier Transform in the South";
homepage = "https://github.com/linkotec/ffts";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bgamari ];
platforms = lib.platforms.linux;
};
}