diff options
author | Emily Trau <13267947+emilytrau@users.noreply.github.com> | 2023-12-02 00:12:07 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 00:12:07 +1100 |
commit | 91050ea1e57e50388fa87a3302ba12d188ef723a (patch) | |
tree | 01edb73498db00f8092989e17155fd446881ea22 /pkgs/by-name/bu | |
parent | ca9b6bc0a755702153910fd8fe7228517957de5d (diff) | |
parent | 69b6e4df0ac1c348a8d8baf599ecd0f54f71817e (diff) | |
download | nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.tar nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.tar.gz nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.tar.bz2 nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.tar.lz nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.tar.xz nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.tar.zst nixlib-91050ea1e57e50388fa87a3302ba12d188ef723a.zip |
Merge pull request #271211 from ehmry/butt
butt: 0.1.39 -> 0.1.40
Diffstat (limited to 'pkgs/by-name/bu')
-rw-r--r-- | pkgs/by-name/bu/butt/package.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/by-name/bu/butt/package.nix b/pkgs/by-name/bu/butt/package.nix new file mode 100644 index 000000000000..6f2e7729797c --- /dev/null +++ b/pkgs/by-name/bu/butt/package.nix @@ -0,0 +1,49 @@ +{ lib, stdenv, fetchurl, pkg-config, fltk13, portaudio, lame, libvorbis, libogg +, flac, libopus, libsamplerate, fdk_aac, dbus, openssl, curl }: + +stdenv.mkDerivation (finalAttrs: { + pname = "butt"; + version = "0.1.40"; + + src = fetchurl { + url = "https://danielnoethen.de/butt/release/${finalAttrs.version}/butt-${finalAttrs.version}.tar.gz"; + hash = "sha256-wag177UIQ6YpBkJ5XQlxYtTdBFFNO5q+BLD/CiUkGoA="; + }; + + postPatch = '' + # remove advertising + substituteInPlace src/FLTK/flgui.cpp \ + --replace 'idata_radio_co_badge, 124, 61, 4,' 'nullptr, 0, 0, 0,' + ''; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + fltk13 + portaudio + lame + libvorbis + libogg + flac + libopus + libsamplerate + fdk_aac + dbus + openssl + curl + ]; + + postInstall = '' + cp -r usr/share $out/ + ''; + + meta = { + changelog = "https://danielnoethen.de/butt/Changelog.html"; + description = + "butt (broadcast using this tool) is an easy to use, multi OS streaming tool"; + homepage = "https://danielnoethen.de/butt/"; + license = lib.licenses.gpl2; + maintainers = with lib.maintainers; [ ehmry ]; + mainProgram = "butt"; + }; +}) |