2021-11-10 01:00:10 +00:00
|
|
|
{ lib, stdenv, fetchurl, libiconv, zlib }:
|
2006-02-02 14:12:31 +00:00
|
|
|
|
2021-06-20 14:15:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "id3lib";
|
|
|
|
version = "3.8.3";
|
2010-08-29 15:53:42 +00:00
|
|
|
|
2016-01-20 12:08:28 +00:00
|
|
|
patches = [
|
|
|
|
./id3lib-3.8.3-gcc43-1.patch
|
|
|
|
./patch_id3lib_3.8.3_UTF16_writing_bug.diff
|
|
|
|
];
|
2013-08-27 02:56:31 +00:00
|
|
|
|
2021-11-10 01:00:10 +00:00
|
|
|
buildInputs = [ libiconv zlib ];
|
2018-04-25 03:20:18 +00:00
|
|
|
|
2006-02-02 14:12:31 +00:00
|
|
|
src = fetchurl {
|
2021-06-20 14:15:21 +00:00
|
|
|
url = "mirror://sourceforge/id3lib/${pname}-${version}.tar.gz";
|
2014-10-12 14:13:21 +00:00
|
|
|
sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
|
2006-02-02 14:12:31 +00:00
|
|
|
};
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
doCheck = false; # fails to compile
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-12 21:33:05 +00:00
|
|
|
description = "Library for reading, writing, and manipulating ID3v1 and ID3v2 tags";
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://id3lib.sourceforge.net";
|
2018-10-12 21:33:05 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.lgpl2;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2006-02-02 14:12:31 +00:00
|
|
|
}
|