unflac: init at 1.0
This commit is contained in:
parent
2d549da5ea
commit
a2a777538d
34
pkgs/tools/audio/unflac/default.nix
Normal file
34
pkgs/tools/audio/unflac/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user