32 lines
862 B
Nix
32 lines
862 B
Nix
|
{ stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }:
|
||
|
|
||
|
let
|
||
|
name = "bonzomatic";
|
||
|
in stdenv.mkDerivation {
|
||
|
inherit name;
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
repo = name;
|
||
|
owner = "Gargaj";
|
||
|
rev = "2018-03-29";
|
||
|
sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ cmake makeWrapper alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ];
|
||
|
|
||
|
postFixup = ''
|
||
|
wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib"
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "A live-coding tool for writing 2D fragment/pixel shaders";
|
||
|
license = with licenses; [
|
||
|
unlicense
|
||
|
unfreeRedistributable # contains libbass.so in repository
|
||
|
];
|
||
|
maintainers = [ maintainers.nocent ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|
||
|
|