nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{stdenv, fetchurl, zlib}:
2
3stdenv.mkDerivation {
4 name = "id3lib-3.8.3";
5
6 patches = [
7 ./id3lib-3.8.3-gcc43-1.patch
8 ./patch_id3lib_3.8.3_UTF16_writing_bug.diff
9 ];
10
11 buildInputs = [ zlib ];
12
13 src = fetchurl {
14 url = "mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz";
15 sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
16 };
17
18 doCheck = false; # fails to compile
19
20 meta = with stdenv.lib; {
21 description = "Library for reading, writing, and manipulating ID3v1 and ID3v2 tags";
22 homepage = "http://id3lib.sourceforge.net";
23 platforms = platforms.unix;
24 license = licenses.lgpl2;
25 };
26}