summary refs log tree commit diff
diff options
context:
space:
mode:
authordevhell <^@regexmail.net>2015-10-25 21:26:01 +0000
committerdevhell <^@regexmail.net>2015-10-25 21:26:01 +0000
commit6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8 (patch)
tree822a36308adb02f18ef6ac44c7dee7611e200542
parent7477a7cdda2ad9bd016f1f75875c855a7a680a93 (diff)
downloadnixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.tar
nixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.tar.gz
nixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.tar.bz2
nixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.tar.lz
nixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.tar.xz
nixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.tar.zst
nixpkgs-6e1ef1352368d1d5773f3e2b64acb0b9393e4bb8.zip
mp3val: init at 0.1.8
Built and tested locally.
-rw-r--r--pkgs/applications/audio/mp3val/default.nix35
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mp3val/default.nix b/pkgs/applications/audio/mp3val/default.nix
new file mode 100644
index 00000000000..dda24c943fe
--- /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 fb449a5835a..270889fecec 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 { };