From 4959111f304c047af89990a708f12cc5e639505a Mon Sep 17 00:00:00 2001 From: nocent Date: Tue, 17 Apr 2018 23:17:06 +0200 Subject: [PATCH] bonzomatic: init at 2018-03-29 --- maintainers/maintainer-list.nix | 5 +++ .../editors/bonzomatic/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 38 insertions(+) create mode 100644 pkgs/applications/editors/bonzomatic/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 839458dbfc9..8e9b0ef337e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2650,6 +2650,11 @@ github = "nmattia"; name = "Nicolas Mattia"; }; + nocent = { + email = "nocent@protonmail.ch"; + github = "nocent"; + name = "nocent"; + }; nocoolnametom = { email = "nocoolnametom@gmail.com"; github = "nocoolnametom"; diff --git a/pkgs/applications/editors/bonzomatic/default.nix b/pkgs/applications/editors/bonzomatic/default.nix new file mode 100644 index 00000000000..57aa381e68c --- /dev/null +++ b/pkgs/applications/editors/bonzomatic/default.nix @@ -0,0 +1,31 @@ +{ 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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6b0423de0f4..c26500c3d19 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14943,6 +14943,8 @@ with pkgs; ffmpeg = ffmpeg_2; }; + bonzomatic = callPackage ../applications/editors/bonzomatic { }; + brackets = callPackage ../applications/editors/brackets { gconf = gnome3.gconf; }; notmuch-bower = callPackage ../applications/networking/mailreaders/notmuch-bower { };