mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #61107 from OmnipotentEntity/mp3cat-0.5
mp3cat init at 0.5
This commit is contained in:
commit
bc61a27025
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/audio/mp3cat/default.nix
Normal file
34
pkgs/tools/audio/mp3cat/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -1689,6 +1689,8 @@ in
|
|||
|
||||
mp3blaster = callPackage ../applications/audio/mp3blaster { };
|
||||
|
||||
mp3cat = callPackage ../tools/audio/mp3cat {};
|
||||
|
||||
mp3fs = callPackage ../tools/filesystems/mp3fs { };
|
||||
|
||||
mpdas = callPackage ../tools/audio/mpdas { };
|
||||
|
|
Loading…
Reference in a new issue