Merge pull request #68104 from peterhoeg/f/aucdtect

aucdtect: pname was wrong
This commit is contained in:
Marek Mahut 2019-09-04 21:23:42 +02:00 committed by GitHub
commit 4622046a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,26 +3,29 @@
with lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "aucdtext"; pname = "aucdtect";
version = "0.8-2"; version = "0.8-2";
src = fetchurl { src = fetchurl {
url = "http://www.true-audio.com/ftp/aucdtect-${version}.i586.rpm"; url = "http://www.true-audio.com/ftp/${pname}-${version}.i586.rpm";
sha256 = "1lp5f0rq5b5n5il0c64m00gcfskarvgqslpryms9443d200y6mmd"; sha256 = "1lp5f0rq5b5n5il0c64m00gcfskarvgqslpryms9443d200y6mmd";
}; };
unpackCmd = "${rpmextract}/bin/rpmextract $src"; unpackCmd = "${rpmextract}/bin/rpmextract $src";
installPhase = '' installPhase = ''
mkdir -p $out/bin runHook preInstall
install -m755 local/bin/auCDtect $out/bin/aucdtect
install -Dm755 local/bin/auCDtect $out/bin/aucdtect
runHook postInstall
''; '';
dontStrip = true; dontStrip = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Verify authenticity of lossless audio files"; description = "Verify authenticity of lossless audio files";
homepage = http://tausoft.org; homepage = "http://tausoft.org";
license = licenses.unfreeRedistributable; license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux; platforms = platforms.linux;