From 595879fa55449e845ec01eec6f4c83cad56d16ae Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Mon, 5 Apr 2021 16:12:17 +0200 Subject: [PATCH] bonzomatic: 2018-03-29 -> 2021-03-07 In the meantime, bass was removed. Thus, this package is now only licensed under the unlicense. --- .../editors/bonzomatic/default.nix | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/editors/bonzomatic/default.nix b/pkgs/applications/editors/bonzomatic/default.nix index 4b6480639b37..9ccd549693bb 100644 --- a/pkgs/applications/editors/bonzomatic/default.nix +++ b/pkgs/applications/editors/bonzomatic/default.nix @@ -1,29 +1,33 @@ -{ lib, stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }: +{ lib, stdenv, fetchFromGitHub +, cmake, makeWrapper +, alsaLib, fontconfig, mesa_glu, libXcursor, libXinerama, libXrandr, xorg +}: stdenv.mkDerivation rec { pname = "bonzomatic"; - version = "2018-03-29"; + version = "2021-03-07"; src = fetchFromGitHub { owner = "Gargaj"; repo = pname; rev = version; - sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg"; + sha256 = "0gbh7kj7irq2hyvlzjgbs9fcns9kamz7g5p6msv12iw75z9yi330"; }; nativeBuildInputs = [ cmake makeWrapper ]; - buildInputs = [ alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ]; + buildInputs = [ + alsaLib fontconfig mesa_glu + libXcursor libXinerama libXrandr xorg.xinput xorg.libXi xorg.libXext + ]; postFixup = '' - wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib" + wrapProgram $out/bin/bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib" ''; meta = with lib; { - description = "A live-coding tool for writing 2D fragment/pixel shaders"; - license = with licenses; [ - unlicense - unfreeRedistributable # contains libbass.so in repository - ]; + description = "Live shader coding tool and Shader Showdown workhorse"; + homepage = "https://github.com/gargaj/bonzomatic"; + license = licenses.unlicense; maintainers = [ maintainers.ilian ]; platforms = [ "i686-linux" "x86_64-linux" ]; };