1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/tools/audio/aucdtect/default.nix
Peter Hoeg 7cdf23a1f5 aucdtect: init at 0.8.2
A binary distribution of the TA Analyzer that verifies if audio files
are in fact lossless.
2016-04-20 23:42:41 +08:00

33 lines
763 B
Nix

{ 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;
};
}