summary refs log tree commit diff
path: root/pkgs/development/libraries/fftw
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-24 07:35:30 -0400
committerShea Levy <shea@shealevy.com>2016-08-24 07:35:30 -0400
commit8b9b9fad3145a5460ce390ac1c155a5073b9bf65 (patch)
treed83d54fe8bc58e6977c0cc7f991f0a01d5dc53d3 /pkgs/development/libraries/fftw
parent78b7529ee36603182ae34354d7cbc3dcfc228317 (diff)
downloadnixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.tar
nixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.tar.gz
nixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.tar.bz2
nixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.tar.lz
nixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.tar.xz
nixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.tar.zst
nixpkgs-8b9b9fad3145a5460ce390ac1c155a5073b9bf65.zip
Revert "Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs""
Revert a revert of a merge that shouldn't have been in master but was intentionally in staging.

Next time I'll do this right after the revert instead of so far down the line...

This reverts commit 9adad8612b082bcbae30c81678a04b79a44079a4.
Diffstat (limited to 'pkgs/development/libraries/fftw')
-rw-r--r--pkgs/development/libraries/fftw/default.nix22
1 files changed, 6 insertions, 16 deletions
diff --git a/pkgs/development/libraries/fftw/default.nix b/pkgs/development/libraries/fftw/default.nix
index 68d1e62244c..6e92f2bd384 100644
--- a/pkgs/development/libraries/fftw/default.nix
+++ b/pkgs/development/libraries/fftw/default.nix
@@ -1,34 +1,24 @@
-{ fetchFromGitHub , stdenv, lib, ocaml, perl, indent, transfig, ghostscript, texinfo, libtool, gettext, automake, autoconf, precision ? "double" }:
+{ fetchurl, stdenv, lib, precision ? "double" }:
 
 with lib;
 
 assert elem precision [ "single" "double" "long-double" "quad-precision" ];
 
-let version = "3.3.5-rc1"; in
+let version = "3.3.5"; in
 
 stdenv.mkDerivation rec {
   name = "fftw-${precision}-${version}";
 
-  src = fetchFromGitHub {
-    owner = "FFTW";
-    repo = "fftw3";
-    rev = "fftw-${version}";
-    sha256 = "1gc57xvdqbapq30ylj3fxwkv61la4kzyf7ji0q0xqjwpji2ynqi4";
+  src = fetchurl {
+    url = "ftp://ftp.fftw.org/pub/fftw/fftw-${version}.tar.gz";
+    sha256 = "1kwbx92ps0r7s2mqy7lxbxanslxdzj7dp7r7gmdkzv1j8yqf3kwf";
   };
 
-  nativeBuildInputs = [ ocaml perl indent transfig ghostscript texinfo libtool gettext automake autoconf ];
-
-  # remove the ./configure lines, so we can use nix's configureFlags
-  patchPhase = "sed -e '27,29d' -i bootstrap.sh";
-
-  preConfigurePhases =  "./bootstrap.sh";
-
   outputs = [ "dev" "out" "doc" ]; # it's dev-doc only
   outputBin = "dev"; # fftw-wisdom
 
   configureFlags =
-    [ "--enable-maintainer-mode"
-      "--enable-shared" "--disable-static"
+    [ "--enable-shared" "--disable-static"
       "--enable-threads"
     ]
     ++ optional (precision != "double") "--enable-${precision}"