Merge pull request #118602 from oxzi/bonzomatic-2021-03-07

authored by

Sandro and committed by
GitHub
eba751cb ec2157bc

+14 -10
+14 -10
pkgs/applications/editors/bonzomatic/default.nix
··· 1 - { lib, stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }: 2 3 stdenv.mkDerivation rec { 4 pname = "bonzomatic"; 5 - version = "2018-03-29"; 6 7 src = fetchFromGitHub { 8 owner = "Gargaj"; 9 repo = pname; 10 rev = version; 11 - sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg"; 12 }; 13 14 nativeBuildInputs = [ cmake makeWrapper ]; 15 - buildInputs = [ alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ]; 16 17 postFixup = '' 18 - wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib" 19 ''; 20 21 meta = with lib; { 22 - description = "A live-coding tool for writing 2D fragment/pixel shaders"; 23 - license = with licenses; [ 24 - unlicense 25 - unfreeRedistributable # contains libbass.so in repository 26 - ]; 27 maintainers = [ maintainers.ilian ]; 28 platforms = [ "i686-linux" "x86_64-linux" ]; 29 };
··· 1 + { lib, stdenv, fetchFromGitHub 2 + , cmake, makeWrapper 3 + , alsaLib, fontconfig, mesa_glu, libXcursor, libXinerama, libXrandr, xorg 4 + }: 5 6 stdenv.mkDerivation rec { 7 pname = "bonzomatic"; 8 + version = "2021-03-07"; 9 10 src = fetchFromGitHub { 11 owner = "Gargaj"; 12 repo = pname; 13 rev = version; 14 + sha256 = "0gbh7kj7irq2hyvlzjgbs9fcns9kamz7g5p6msv12iw75z9yi330"; 15 }; 16 17 nativeBuildInputs = [ cmake makeWrapper ]; 18 + buildInputs = [ 19 + alsaLib fontconfig mesa_glu 20 + libXcursor libXinerama libXrandr xorg.xinput xorg.libXi xorg.libXext 21 + ]; 22 23 postFixup = '' 24 + wrapProgram $out/bin/bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib" 25 ''; 26 27 meta = with lib; { 28 + description = "Live shader coding tool and Shader Showdown workhorse"; 29 + homepage = "https://github.com/gargaj/bonzomatic"; 30 + license = licenses.unlicense; 31 maintainers = [ maintainers.ilian ]; 32 platforms = [ "i686-linux" "x86_64-linux" ]; 33 };