Skip to content

Commit

Permalink
Merge pull request #68104 from peterhoeg/f/aucdtect
Browse files Browse the repository at this point in the history
aucdtect: pname was wrong
  • Loading branch information
mmahut committed Sep 4, 2019
2 parents 2245bc0 + dfea236 commit 4622046
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkgs/tools/audio/aucdtect/default.nix
Expand Up @@ -3,26 +3,29 @@
with lib;

stdenv.mkDerivation rec {
pname = "aucdtext";
pname = "aucdtect";
version = "0.8-2";

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

unpackCmd = "${rpmextract}/bin/rpmextract $src";

installPhase = ''
mkdir -p $out/bin
install -m755 local/bin/auCDtect $out/bin/aucdtect
runHook preInstall
install -Dm755 local/bin/auCDtect $out/bin/aucdtect
runHook postInstall
'';

dontStrip = true;

meta = with stdenv.lib; {
description = "Verify authenticity of lossless audio files";
homepage = http://tausoft.org;
homepage = "http://tausoft.org";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
Expand Down

0 comments on commit 4622046

Please sign in to comment.