2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-10-25 21:26:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mp3val";
|
2015-10-26 09:01:00 +00:00
|
|
|
version = "0.1.8";
|
|
|
|
|
2015-10-25 21:26:01 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/mp3val/${pname}-${version}-src.tar.gz";
|
2015-10-25 21:26:01 +00:00
|
|
|
sha256 = "17y3646ghr38r620vkrxin3dksxqig5yb3nn4cfv6arm7kz6x8cm";
|
|
|
|
};
|
|
|
|
|
|
|
|
makefile = "Makefile.linux";
|
|
|
|
|
|
|
|
installPhase = ''
|
2015-10-26 17:36:50 +00:00
|
|
|
install -Dv mp3val "$out/bin/mp3val"
|
2015-10-25 21:26:01 +00:00
|
|
|
'';
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "fortify" ];
|
2016-02-10 22:40:16 +00:00
|
|
|
|
2015-10-25 21:26:01 +00:00
|
|
|
meta = {
|
|
|
|
description = "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,
|
2022-12-18 00:39:44 +00:00
|
|
|
MP3val can be run both under Windows and under Linux (or BSD). The most
|
2015-10-25 21:26:01 +00:00
|
|
|
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).
|
|
|
|
'';
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://mp3val.sourceforge.net/index.shtml";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.devhell ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "mp3val";
|
2015-10-25 21:26:01 +00:00
|
|
|
};
|
|
|
|
}
|