unflac: init at 1.0

This commit is contained in:
Felipe Silva 2022-10-29 20:52:40 -03:00 committed by ehmry
parent 2d549da5ea
commit a2a777538d
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildGoModule
, fetchFromSourcehut
, ffmpeg
, makeWrapper
}:
buildGoModule rec {
pname = "unflac";
version = "1.0";
src = fetchFromSourcehut {
owner = "~ft";
repo = pname;
rev = version;
sha256 = "1vlwlm895mcvmxaxcid3vfji1zi9wjchz7divm096na4whj35cc4";
};
vendorSha256 = "sha256-QqLjz1X4uVpxhYXb/xIBwuLUhRaqwz2GDUPjBTS4ut0=";
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
wrapProgram $out/bin/unflac --prefix PATH : "${lib.makeBinPath [ffmpeg]}"
'';
meta = with lib; {
description =
"A command line tool for fast frame accurate audio image + cue sheet splitting";
homepage = "https://sr.ht/~ft/unflac/";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ felipeqq2 ];
};
}

View File

@ -1431,6 +1431,8 @@ with pkgs;
ttchat = callPackage ../tools/misc/ttchat { };
unflac = callPackage ../tools/audio/unflac { };
veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { };
ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin {