3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/audio/aucdtect/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

31 lines
729 B
Nix

{ stdenv, fetchurl, lib, rpmextract }:
with lib;
stdenv.mkDerivation rec {
pname = "aucdtext";
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;
};
}