2021-10-27 22:16:06 +01:00
|
|
|
{ lib, stdenv, fetchurl, autoPatchelfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "losslessaudiochecker";
|
|
|
|
version = "2.0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://web.archive.org/web/20211119122205/https://losslessaudiochecker.com/dl/LAC-Linux-64bit.tar.gz";
|
|
|
|
sha256 = "1i1zbl7sqwxwmhw89lgz922l5k85in3y76zb06h8j3zd0lb20wkq";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoPatchelfHook ];
|
|
|
|
|
|
|
|
setSourceRoot = "sourceRoot=$PWD";
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install LAC -D -t $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Utility to check whether audio is truly lossless or not";
|
|
|
|
homepage = "https://losslessaudiochecker.com";
|
2022-06-04 23:19:25 +01:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
2021-10-27 22:16:06 +01:00
|
|
|
license = lib.licenses.unfree;
|
2022-03-22 17:59:05 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2021-10-27 22:16:06 +01:00
|
|
|
maintainers = with lib.maintainers; [ p-h ];
|
|
|
|
};
|
|
|
|
}
|