2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2019-05-07 23:40:42 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mp3cat";
|
|
|
|
version = "0.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomclegg";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0n6hjg2wgd06m561zc3ib5w2m3pwpf74njv2b2w4sqqh5md2ymfr";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [
|
2019-09-03 18:38:57 +02:00
|
|
|
"PREFIX=${placeholder "out"}"
|
2019-05-07 23:40:42 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
installTargets = [
|
|
|
|
"install_bin"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-07 23:40:42 +02:00
|
|
|
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
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/tomclegg/mp3cat";
|
2019-05-07 23:40:42 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.omnipotententity ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|