2015-10-25 22:26:01 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mp3val-${version}";
|
2015-10-26 10:01:00 +01:00
|
|
|
version = "0.1.8";
|
|
|
|
|
2015-10-25 22:26:01 +01:00
|
|
|
src = fetchurl {
|
2015-10-26 10:01:00 +01:00
|
|
|
url = "mirror://sourceforge/mp3val/${name}-src.tar.gz";
|
2015-10-25 22:26:01 +01:00
|
|
|
sha256 = "17y3646ghr38r620vkrxin3dksxqig5yb3nn4cfv6arm7kz6x8cm";
|
|
|
|
};
|
|
|
|
|
|
|
|
makefile = "Makefile.linux";
|
|
|
|
|
|
|
|
installPhase = ''
|
2015-10-26 18:36:50 +01:00
|
|
|
install -Dv mp3val "$out/bin/mp3val"
|
2015-10-25 22:26:01 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool for validating and repairing MPEG audio streams";
|
|
|
|
longDescription = ''
|
|
|
|
MP3val is a small, high-speed, free software tool for checking MPEG audio
|
|
|
|
files' integrity. It can be useful for finding corrupted files (e.g.
|
|
|
|
incompletely downloaded, truncated, containing garbage). MP3val is
|
|
|
|
also able to fix most of the problems. Being a multiplatform application,
|
|
|
|
MP3val can be runned both under Windows and under Linux (or BSD). The most
|
|
|
|
common MPEG audio file type is MPEG 1 Layer III (mp3), but MP3val supports
|
|
|
|
also other MPEG versions and layers. The tool is also aware of the most
|
|
|
|
common types of tags (ID3v1, ID3v2, APEv2).
|
|
|
|
'';
|
|
|
|
homepage = http://mp3val.sourceforge.net/index.shtml;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2015-10-26 18:36:50 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-10-25 22:26:01 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.devhell ];
|
|
|
|
};
|
|
|
|
}
|