mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
nfft: init at 3.5.3
This commit is contained in:
parent
cd4e4e5106
commit
63fec1a569
52
pkgs/by-name/nf/nfft/package.nix
Normal file
52
pkgs/by-name/nf/nfft/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ autoconf
|
||||
, automake
|
||||
, cunit
|
||||
, fetchFromGitHub
|
||||
, fftw
|
||||
, lib
|
||||
, libtool
|
||||
, llvmPackages
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nfft";
|
||||
version = "3.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NFFT";
|
||||
repo = "nfft";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-HR8ME9PVC+RAv1GIgV2vK6eLU8Wk28+rSzbutThBv3w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
cunit
|
||||
libtool
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
bash bootstrap.sh
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-all"
|
||||
"--enable-openmp"
|
||||
"--enable-portable-binary"
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
|
||||
|
||||
propagatedBuildInputs = [ fftw ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Nonequispaced fast Fourier transform";
|
||||
homepage = "https://www-user.tu-chemnitz.de/~potts/nfft/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ hmenke ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user