From de31473c422e4ae7d2386319ba3e1d3039546d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20H=C3=BCrlimann?=
Date: Wed, 27 Oct 2021 23:16:06 +0200 Subject: [PATCH] losslessaudiochecker: init at 2.0.5 --- .../audio/losslessaudiochecker/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/audio/losslessaudiochecker/default.nix diff --git a/pkgs/applications/audio/losslessaudiochecker/default.nix b/pkgs/applications/audio/losslessaudiochecker/default.nix new file mode 100644 index 00000000000..551f56a3ce1 --- /dev/null +++ b/pkgs/applications/audio/losslessaudiochecker/default.nix @@ -0,0 +1,29 @@ +{ 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"; + license = lib.licenses.unfree; + platforms = lib.platforms.x86_64; + maintainers = with lib.maintainers; [ p-h ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e5c4d6f174a..5c30b9186c7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25237,6 +25237,8 @@ with pkgs; lollypop = callPackage ../applications/audio/lollypop { }; + losslessaudiochecker = callPackage ../applications/audio/losslessaudiochecker { }; + m32edit = callPackage ../applications/audio/midas/m32edit.nix {}; manim = python3Packages.callPackage ../applications/video/manim {