Files
nixpkgs/pkgs/by-name/id/id3v2/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
743 B
Nix

{
lib,
stdenv,
fetchurl,
id3lib,
groff,
zlib,
}:
stdenv.mkDerivation rec {
pname = "id3v2";
version = "0.1.12";
src = fetchurl {
url = "mirror://sourceforge/id3v2/${pname}-${version}.tar.gz";
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
};
nativeBuildInputs = [ groff ];
buildInputs = [
id3lib
zlib
];
makeFlags = [ "PREFIX=$(out)" ];
buildFlags = [
"clean"
"all"
];
preInstall = ''
mkdir -p $out/{bin,share/man/man1}
'';
meta = with lib; {
description = "Command line editor for id3v2 tags";
homepage = "https://id3v2.sourceforge.net/";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
mainProgram = "id3v2";
};
}