diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-09-04 21:21:09 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2019-09-04 21:21:09 +0800 |
commit | dfea236a489be641e7f59fdb9cfd928c1f641cd2 (patch) | |
tree | 3f3c3058b9349d2d20782c334bc39194ebf14f69 /pkgs/tools/audio/aucdtect | |
parent | 7d5375ebf4cd417465327d7ab453687fd19663c9 (diff) | |
download | nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.tar nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.tar.gz nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.tar.bz2 nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.tar.lz nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.tar.xz nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.tar.zst nixpkgs-dfea236a489be641e7f59fdb9cfd928c1f641cd2.zip |
aucdtect: pname was wrong
Diffstat (limited to 'pkgs/tools/audio/aucdtect')
-rw-r--r-- | pkgs/tools/audio/aucdtect/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/tools/audio/aucdtect/default.nix b/pkgs/tools/audio/aucdtect/default.nix index 21adf3b972a..ad9d5fb8690 100644 --- a/pkgs/tools/audio/aucdtect/default.nix +++ b/pkgs/tools/audio/aucdtect/default.nix @@ -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; |