2021-12-06 16:07:01 +00: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 ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
sourceRoot = ".";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
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-26 10:26:21 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
2021-12-06 16:07:01 +00:00
|
|
|
license = lib.licenses.unfree;
|
2022-04-27 09:35:20 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with lib.maintainers; [ p-h ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "LAC";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|