summary refs log tree commit diff
diff options
context:
space:
mode:
authorlewo <lewo@abesis.fr>2018-04-24 17:58:55 +0200
committerGitHub <noreply@github.com>2018-04-24 17:58:55 +0200
commit18c6c495ea35e6909e989244439a838e204402af (patch)
treefe4e9f4cd068c0e68bd439219326993a5ad2c0a0
parent1f909a8dfc8fa4a55fdfa2720df55bdbb93a0905 (diff)
parent0ada4b37d7728f74f6077f503ced5d0c18c134f7 (diff)
downloadnixpkgs-18c6c495ea35e6909e989244439a838e204402af.tar
nixpkgs-18c6c495ea35e6909e989244439a838e204402af.tar.gz
nixpkgs-18c6c495ea35e6909e989244439a838e204402af.tar.bz2
nixpkgs-18c6c495ea35e6909e989244439a838e204402af.tar.lz
nixpkgs-18c6c495ea35e6909e989244439a838e204402af.tar.xz
nixpkgs-18c6c495ea35e6909e989244439a838e204402af.tar.zst
nixpkgs-18c6c495ea35e6909e989244439a838e204402af.zip
Merge pull request #39171 from nocent/add/bonzomatic
bonzomatic: init at 2018-03-29
-rw-r--r--maintainers/maintainer-list.nix5
-rw-r--r--pkgs/applications/editors/bonzomatic/default.nix30
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 37 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index abc54a4219f..0f05c363a65 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -2675,6 +2675,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..9f1db146448
--- /dev/null
+++ b/pkgs/applications/editors/bonzomatic/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "bonzomatic";
+  version = "2018-03-29";
+
+  src = fetchFromGitHub {
+    owner = "Gargaj";
+    repo = pname;
+    rev = version;
+    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 = [ "i686-linux" "x86_64-linux" ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index eba8440aff4..4a4ebec0480 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -14961,6 +14961,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 { };