nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 690 B view raw
1{ 2 stdenv, 3 lib, 4 cmake, 5 fetchFromGitHub, 6}: 7 8stdenv.mkDerivation { 9 pname = "ffts"; 10 version = "0-unstable-2019-03-19"; 11 12 src = fetchFromGitHub { 13 owner = "linkotec"; 14 repo = "ffts"; 15 rev = "2c8da4877588e288ff4cd550f14bec2dc7bf668c"; 16 hash = "sha256-Cj0n7fwFAu6+3ojgczL0Unobdx/XzGNFvNVMXdyHXE4="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 cmakeFlags = [ "-DENABLE_SHARED=ON" ]; 22 23 patches = [ 24 ./cmake4.patch 25 ]; 26 27 meta = { 28 description = "Fastest Fourier Transform in the South"; 29 homepage = "https://github.com/linkotec/ffts"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ bgamari ]; 32 platforms = lib.platforms.linux; 33 }; 34}