summary refs log tree commit diff
path: root/pkgs/development/libraries/libfishsound
diff options
context:
space:
mode:
authorJos van den Oever <jos@vandenoever.info>2020-02-16 23:47:44 +0100
committerJos van den Oever <jos@vandenoever.info>2020-02-16 23:47:44 +0100
commiteb1ffda13c1ddd6a3766461a95eda1c6949aa57b (patch)
tree003f5ad9b23b971523fb259707048d662666c88a /pkgs/development/libraries/libfishsound
parent3990b914c34e9e4503ebdea71e241f91e3bc788c (diff)
downloadnixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.tar
nixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.tar.gz
nixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.tar.bz2
nixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.tar.lz
nixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.tar.xz
nixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.tar.zst
nixpkgs-eb1ffda13c1ddd6a3766461a95eda1c6949aa57b.zip
libfishsound at 1.0.0
Diffstat (limited to 'pkgs/development/libraries/libfishsound')
-rw-r--r--pkgs/development/libraries/libfishsound/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libfishsound/default.nix b/pkgs/development/libraries/libfishsound/default.nix
new file mode 100644
index 00000000000..fae96c8d3f7
--- /dev/null
+++ b/pkgs/development/libraries/libfishsound/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, libvorbis, speex, flac, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  name = "libfishsound-1.0.0";
+
+  src = fetchurl {
+    url = "http://downloads.xiph.org/releases/libfishsound/${name}.tar.gz";
+    sha256 = "1iz7mn6hw2wg8ljaw74f4g2zdj68ib88x4vjxxg3gjgc5z75f2rf";
+  };
+
+  propagatedBuildInputs = [ libvorbis speex flac ];
+
+  nativeBuildInputs = [ pkgconfig ];
+
+  meta = with stdenv.lib; {
+    homepage = https://xiph.org/fishsound/;
+    description = ''libfishsound by itself is designed to handle raw codec streams from a lower level layer such as UDP datagrams. When these codecs are used in files, they are commonly encapsulated in Ogg to produce Ogg FLAC, Speex and Ogg Vorbis files.
+
+libfishsound is a wrapper around the existing codec libraries and provides a consistent, higher-level programming interface. It has been designed for use in a wide variety of applications; it has no direct dependencies on Ogg encapsulation, though it is most commonly used in conjunction with liboggz to decode or encode FLAC, Speex or Vorbis audio tracks in Ogg files, including Ogg Theora and Annodex.
+
+FishSound has been developed and tested on GNU/Linux, Darwin/MacOSX and Win32. It probably also works on other Unix-like systems via GNU autoconf. For Win32: nmake Makefiles, Visual Studio .NET 2003 solution files and Visual C++ 6.0 workspace files are all provided in the source distribution.'';
+    platforms = platforms.unix;
+    license = licenses.bsd3;
+  };
+}