3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/bonzomatic/default.nix

31 lines
905 B
Nix
Raw Normal View History

{ lib, stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }:
2018-04-17 22:17:06 +01:00
stdenv.mkDerivation rec {
pname = "bonzomatic";
version = "2018-03-29";
2018-04-17 22:17:06 +01:00
src = fetchFromGitHub {
owner = "Gargaj";
repo = pname;
rev = version;
2018-04-17 22:17:06 +01:00
sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg";
};
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"
'';
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 ];
platforms = [ "i686-linux" "x86_64-linux" ];
2018-04-17 22:17:06 +01:00
};
}