From 7cdf23a1f5dd8963b87f78d898bd42234cc4c631 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 20 Apr 2016 23:04:58 +0800 Subject: [PATCH] aucdtect: init at 0.8.2 A binary distribution of the TA Analyzer that verifies if audio files are in fact lossless. --- pkgs/tools/audio/aucdtect/default.nix | 32 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/tools/audio/aucdtect/default.nix diff --git a/pkgs/tools/audio/aucdtect/default.nix b/pkgs/tools/audio/aucdtect/default.nix new file mode 100644 index 000000000000..244f7b406731 --- /dev/null +++ b/pkgs/tools/audio/aucdtect/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, lib, rpmextract }: + +assert stdenv.isLinux; + +with lib; + +stdenv.mkDerivation rec { + name = "aucdtext-${version}"; + version = "0.8-2"; + + src = fetchurl { + url = "http://www.true-audio.com/ftp/aucdtect-${version}.i586.rpm"; + sha256 = "1lp5f0rq5b5n5il0c64m00gcfskarvgqslpryms9443d200y6mmd"; + }; + + unpackCmd = "${rpmextract}/bin/rpmextract $src"; + + installPhase = '' + mkdir -p $out/bin + install -m755 local/bin/auCDtect $out/bin/aucdtect + ''; + + dontStrip = true; + + meta = with stdenv.lib; { + description = "Verify authenticity of lossless audio files"; + homepage = http://tausoft.org; + license = licenses.unfreeRedistributable; + maintainers = with maintainers; [ peterhoeg ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8132ccd5aa51..d9ad1b5d35e6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16599,6 +16599,8 @@ in mg = callPackage ../applications/editors/mg { }; + aucdtect = callPackage ../tools/audio/aucdtect { }; + togglesg-download = callPackage ../tools/misc/togglesg-download { }; discord = callPackage ../applications/networking/instant-messengers/discord { };