2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchurl, libiconv, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "id3lib";
|
|
|
|
version = "3.8.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
./id3lib-3.8.3-gcc43-1.patch
|
|
|
|
./patch_id3lib_3.8.3_UTF16_writing_bug.diff
|
|
|
|
];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [ libiconv zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/id3lib/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # fails to compile
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for reading, writing, and manipulating ID3v1 and ID3v2 tags";
|
2023-02-22 10:55:15 +00:00
|
|
|
homepage = "https://id3lib.sourceforge.net";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|