diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2012-09-25 20:01:29 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2012-09-25 20:01:56 +0200 |
commit | 664ee28936392202ce0656db9d57a3fb24e8e931 (patch) | |
tree | d17ab3b42b54de06d12aa6358d7b1d70f7828ded /pkgs/development/libraries/libopus | |
parent | 839f124ba1152034560a3e08ff50ef54cf42eb84 (diff) | |
download | nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.tar nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.tar.gz nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.tar.bz2 nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.tar.lz nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.tar.xz nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.tar.zst nixlib-664ee28936392202ce0656db9d57a3fb24e8e931.zip |
Adding libopus
I still don't know any program that can use it.
Diffstat (limited to 'pkgs/development/libraries/libopus')
-rw-r--r-- | pkgs/development/libraries/libopus/default.nix | 18 |
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/; + }; +} |