From 6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8 Mon Sep 17 00:00:00 2001 From: devhell <^@regexmail.net> Date: Sun, 25 Oct 2015 21:26:01 +0000 Subject: [PATCH] mp3val: init at 0.1.8 Built and tested locally. --- pkgs/applications/audio/mp3val/default.nix | 35 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/applications/audio/mp3val/default.nix diff --git a/pkgs/applications/audio/mp3val/default.nix b/pkgs/applications/audio/mp3val/default.nix new file mode 100644 index 000000000000..dda24c943fe8 --- /dev/null +++ b/pkgs/applications/audio/mp3val/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + version = "0.1.8"; + name = "mp3val-${version}"; + src = fetchurl { + url = "http://downloads.sourceforge.net/mp3val/${name}-src.tar.gz"; + sha256 = "17y3646ghr38r620vkrxin3dksxqig5yb3nn4cfv6arm7kz6x8cm"; + }; + + makefile = "Makefile.linux"; + + installPhase = '' + mkdir -p $out/bin/ + cp mp3val $out/bin/ + ''; + + 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; + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.devhell ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb449a5835ae..270889fecec6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12253,6 +12253,8 @@ let mp3splt = callPackage ../applications/audio/mp3splt { }; + mp3val = callPackage ../applications/audio/mp3val { }; + mpc123 = callPackage ../applications/audio/mpc123 { }; mpg123 = callPackage ../applications/audio/mpg123 { };