summary refs log tree commit diff
path: root/pkgs/development/libraries/speexdsp/default.nix
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-04-25 15:04:27 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-04-25 21:27:53 -0700
commit6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb (patch)
tree1044adc36e11fe162468a2cbfeafe18c751cacdf /pkgs/development/libraries/speexdsp/default.nix
parentbcbda5d95b01c40fcb06df45996a402a221b6867 (diff)
downloadnixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.tar
nixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.tar.gz
nixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.tar.bz2
nixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.tar.lz
nixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.tar.xz
nixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.tar.zst
nixpkgs-6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb.zip
speexdsp: Add derivation
Diffstat (limited to 'pkgs/development/libraries/speexdsp/default.nix')
-rw-r--r--pkgs/development/libraries/speexdsp/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/speexdsp/default.nix b/pkgs/development/libraries/speexdsp/default.nix
new file mode 100644
index 00000000000..1a9a6d486f3
--- /dev/null
+++ b/pkgs/development/libraries/speexdsp/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, autoreconfHook, pkgconfig, fftw }:
+
+stdenv.mkDerivation rec {
+  name = "speexdsp-1.2rc3";
+  
+  src = fetchurl {
+    url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz";
+    sha256 = "1wcjyrnwlkayb20zdhp48y260rfyzg925qpjpljd5x9r01h8irja";
+  };
+
+  patches = [ ./build-fix.patch ];
+  
+  nativeBuildInputs = [ autoreconfHook pkgconfig ];
+  buildInputs = [ fftw ];
+
+  configureFlags = [
+    "--with-fft=gpl-fftw3"
+  ];
+
+  meta = with stdenv.lib; {
+    hompage = http://www.speex.org/;
+    description = "an Open Source/Free Software patent-free audio compression format designed for speech";
+    license = licenses.bsd3;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ wkennington ];
+  };
+}