depot/third_party/nixpkgs/pkgs/applications/audio/losslessaudiochecker/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

30 lines
828 B
Nix

{ 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";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ p-h ];
};
}