mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
9e9996ad1a
Adding package mp3cat, a command line mp3 utility which will concatenate multiple mp3 files, and keep only the audio frames, discarding headers and so on.
35 lines
838 B
Nix
35 lines
838 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mp3cat";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomclegg";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0n6hjg2wgd06m561zc3ib5w2m3pwpf74njv2b2w4sqqh5md2ymfr";
|
|
};
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder ''out''}"
|
|
];
|
|
|
|
installTargets = [
|
|
"install_bin"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A 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.gpl2;
|
|
maintainers = [ maintainers.omnipotententity ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|