571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
28 lines
678 B
Nix
28 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;
|
|
};
|
|
}
|