depot/third_party/nixpkgs/pkgs/development/libraries/id3lib/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

27 lines
678 B
Nix

{ lib, stdenv, fetchurl, libiconv, zlib }:
stdenv.mkDerivation rec {
pname = "id3lib";
version = "3.8.3";
patches = [
./id3lib-3.8.3-gcc43-1.patch
./patch_id3lib_3.8.3_UTF16_writing_bug.diff
];
buildInputs = [ libiconv zlib ];
src = fetchurl {
url = "mirror://sourceforge/id3lib/${pname}-${version}.tar.gz";
sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
};
doCheck = false; # fails to compile
meta = with lib; {
description = "Library for reading, writing, and manipulating ID3v1 and ID3v2 tags";
homepage = "https://id3lib.sourceforge.net";
platforms = platforms.unix;
license = licenses.lgpl2;
};
}