summary refs log tree commit diff
path: root/pkgs/development/libraries/libsndfile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-12-13 20:19:03 +0000
committerLudovic Courtès <ludo@gnu.org>2009-12-13 20:19:03 +0000
commitc68588082508ab80b3acdaac6bc7fc77b3c2b6a3 (patch)
tree93b2443b2877f3ca29b900d13fd8a4d34b2304bf /pkgs/development/libraries/libsndfile
parent24c117f98d382c9da5b2588f51165971ffd07bfb (diff)
downloadnixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.tar
nixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.tar.gz
nixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.tar.bz2
nixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.tar.lz
nixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.tar.xz
nixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.tar.zst
nixpkgs-c68588082508ab80b3acdaac6bc7fc77b3c2b6a3.zip
libsndfile 1.0.21.
svn path=/nixpkgs/trunk/; revision=18920
Diffstat (limited to 'pkgs/development/libraries/libsndfile')
-rw-r--r--pkgs/development/libraries/libsndfile/default.nix39
1 files changed, 35 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libsndfile/default.nix b/pkgs/development/libraries/libsndfile/default.nix
index 7998606a2fa..84c46399689 100644
--- a/pkgs/development/libraries/libsndfile/default.nix
+++ b/pkgs/development/libraries/libsndfile/default.nix
@@ -1,9 +1,40 @@
 {stdenv, fetchurl}:
 
-stdenv.mkDerivation {
-  name = "libsndfile-1.0.12";
+stdenv.mkDerivation rec {
+  name = "libsndfile-1.0.21";
+
   src = fetchurl {
-    url = http://www.mega-nerd.com/libsndfile/libsndfile-1.0.12.tar.gz;
-    md5 = "03718b7b225b298f41c19620b8906108";
+    url = "http://www.mega-nerd.com/libsndfile/files/${name}.tar.gz";
+    sha256 = "0rzav3g865cr1s036r5pq0vx372g5cgvdkc2dlklgwqzani8743y";
+  };
+
+  meta = {
+    description = "Libsndfile, a C library for reading and writing files containing sampled sound";
+
+    longDescription =
+      '' Libsndfile is a C library for reading and writing files containing
+         sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
+         through one standard library interface.  It is released in source
+         code format under the GNU Lesser General Public License.
+
+         The library was written to compile and run on a Linux system but
+         should compile and run on just about any Unix (including MacOS X).
+         There are also pre-compiled binaries available for 32 and 64 bit
+         windows.
+
+         It was designed to handle both little-endian (such as WAV) and
+         big-endian (such as AIFF) data, and to compile and run correctly on
+         little-endian (such as Intel and DEC/Compaq Alpha) processor systems
+         as well as big-endian processor systems such as Motorola 68k, Power
+         PC, MIPS and SPARC.  Hopefully the design of the library will also
+         make it easy to extend for reading and writing new sound file
+         formats.
+       '';
+
+    homepage = http://www.mega-nerd.com/libsndfile/;
+
+    license = "LGPLv2+";
+
+    maintainers = [ stdenv.lib.maintainers.ludo ];
   };
 }