2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }:
|
2018-04-17 22:17:06 +01:00
|
|
|
|
2018-04-24 16:32:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bonzomatic";
|
|
|
|
version = "2018-03-29";
|
2018-04-17 22:17:06 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gargaj";
|
2018-04-24 16:32:47 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-04-17 22:17:06 +01:00
|
|
|
sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg";
|
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake makeWrapper ];
|
|
|
|
buildInputs = [ alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ];
|
2018-04-17 22:17:06 +01:00
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-17 22:17:06 +01:00
|
|
|
description = "A live-coding tool for writing 2D fragment/pixel shaders";
|
|
|
|
license = with licenses; [
|
|
|
|
unlicense
|
|
|
|
unfreeRedistributable # contains libbass.so in repository
|
|
|
|
];
|
2021-01-13 21:56:40 +00:00
|
|
|
maintainers = [ maintainers.ilian ];
|
2018-04-24 16:32:47 +01:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
2018-04-17 22:17:06 +01:00
|
|
|
};
|
|
|
|
}
|