unflac: init at 1.0

authored by Felipe Silva and committed by ehmry a2a77753 2d549da5

+36
+34
pkgs/tools/audio/unflac/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromSourcehut 4 + , ffmpeg 5 + , makeWrapper 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "unflac"; 10 + version = "1.0"; 11 + 12 + src = fetchFromSourcehut { 13 + owner = "~ft"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "1vlwlm895mcvmxaxcid3vfji1zi9wjchz7divm096na4whj35cc4"; 17 + }; 18 + 19 + vendorSha256 = "sha256-QqLjz1X4uVpxhYXb/xIBwuLUhRaqwz2GDUPjBTS4ut0="; 20 + 21 + nativeBuildInputs = [ makeWrapper ]; 22 + postFixup = '' 23 + wrapProgram $out/bin/unflac --prefix PATH : "${lib.makeBinPath [ffmpeg]}" 24 + ''; 25 + 26 + meta = with lib; { 27 + description = 28 + "A command line tool for fast frame accurate audio image + cue sheet splitting"; 29 + homepage = "https://sr.ht/~ft/unflac/"; 30 + license = licenses.mit; 31 + platforms = platforms.all; 32 + maintainers = with maintainers; [ felipeqq2 ]; 33 + }; 34 + }
+2
pkgs/top-level/all-packages.nix
··· 1431 1432 ttchat = callPackage ../tools/misc/ttchat { }; 1433 1434 veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { }; 1435 1436 ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin {
··· 1431 1432 ttchat = callPackage ../tools/misc/ttchat { }; 1433 1434 + unflac = callPackage ../tools/audio/unflac { }; 1435 + 1436 veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { }; 1437 1438 ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin {