summary refs log tree commit diff
path: root/pkgs/development/libraries/libopus/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-11-21 16:20:36 +0100
committerPeter Simons <simons@cryp.to>2012-11-21 16:20:36 +0100
commitf67d5a9a39c658ba38ce4efd3968fb76ed97ac70 (patch)
treefb0a753dab894f13519ea969ad7edcfc19e3b56f /pkgs/development/libraries/libopus/default.nix
parent473ba2212d3b8cc16b5ffb2f5a6367425614357c (diff)
parent9ada368ef842d5bc52d0db0b92ee0217cc213a83 (diff)
downloadnixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.gz
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.bz2
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.lz
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.xz
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.zst
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.zip
Merge branch 'master' into stdenv-updates.
Conflicts have been resolved in:

        pkgs/tools/misc/file/default.nix
        pkgs/top-level/all-packages.nix
        pkgs/top-level/python-packages.nix
Diffstat (limited to 'pkgs/development/libraries/libopus/default.nix')
-rw-r--r--pkgs/development/libraries/libopus/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libopus/default.nix b/pkgs/development/libraries/libopus/default.nix
new file mode 100644
index 000000000000..d4c90ee33fbe
--- /dev/null
+++ b/pkgs/development/libraries/libopus/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, fetchurl, fixedPoint ? false }:
+
+stdenv.mkDerivation rec {
+  name = "libopus-1.0.1";
+  
+  src = fetchurl {
+    url = "http://downloads.xiph.org/releases/opus/opus-1.0.1.tar.gz";
+    sha256 = "1vs133z6c03xi1a7b8bkqxlb6ipwchawwb52z1lgvh1amwy5ryl0";
+  };
+
+  configureFlags = stdenv.lib.optionalString fixedPoint "--enable-fixed-point";
+
+  meta = {
+    description = "Open, royalty-free, highly versatile audio codec";
+    license = "BSD";
+    homepage = http://www.opus-codec.org/;
+  };
+}