about summary refs log tree commit diff
path: root/pkgs/development/libraries/libshout/default.nix
diff options
context:
space:
mode:
authorJack Cummings <jack@mudshark.org>2012-10-14 23:48:46 -0700
committerJack Cummings <jack@mudshark.org>2012-10-14 23:48:46 -0700
commit5ded1fb645ff6acd687707e1eb404ff6082f9321 (patch)
treeb7c9687712998d4da53088d4e6b06ac186cc7c4c /pkgs/development/libraries/libshout/default.nix
parent29980e0d547ad814fa252ffec7fd8ce8ab79596d (diff)
- icecast-2.3.3, libshout-2.3.1
Diffstat (limited to 'pkgs/development/libraries/libshout/default.nix')
-rw-r--r--pkgs/development/libraries/libshout/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libshout/default.nix b/pkgs/development/libraries/libshout/default.nix
new file mode 100644
index 0000000000000..45528829cc318
--- /dev/null
+++ b/pkgs/development/libraries/libshout/default.nix
@@ -0,0 +1,30 @@
+{stdenv, fetchurl, pkgconfig 
+, libvorbis, libtheora, speex}:
+
+# need pkgconfig so that libshout installs ${out}/lib/pkgconfig/shout.pc
+
+stdenv.mkDerivation {
+	name = "libshout-2.3.1";
+
+	src = fetchurl {
+		url = "http://downloads.xiph.org/releases/libshout/${name}.tar.gz";
+		sha256 = "cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e";
+	};
+
+  buildInputs = [ libvorbis libtheora speex pkgconfig ];
+
+  meta = {
+    description = "icecast 'c' language bindings";
+
+    longDescription = ''
+      Libshout is a library for communicating with and sending data to an icecast
+      server.  It handles the socket connection, the timing of the data, and prevents
+      bad data from getting to the icecast server.
+    '';
+
+    homepage = http://www.icecast.org;
+    license = stdenv.lib.licenses.gpl2;
+    maintainers = with stdenv.lib.maintainers; [ jcumming ];
+ 
+  };
+}