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
40 lines
876 B
Nix
40 lines
876 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mp3cat";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomclegg";
|
|
repo = "mp3cat";
|
|
rev = version;
|
|
sha256 = "0n6hjg2wgd06m561zc3ib5w2m3pwpf74njv2b2w4sqqh5md2ymfr";
|
|
};
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
installTargets = [
|
|
"install_bin"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Command line program which concatenates MP3 files";
|
|
longDescription = ''
|
|
A command line program which concatenates MP3 files, mp3cat
|
|
only outputs MP3 frames with valid headers, even if there is extra garbage
|
|
in its input stream
|
|
'';
|
|
homepage = "https://github.com/tomclegg/mp3cat";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.omnipotententity ];
|
|
platforms = platforms.all;
|
|
mainProgram = "mp3cat";
|
|
};
|
|
}
|