From 88f5aa4fda21581340f713ed063d2c0a79b7adec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 31 Oct 2014 09:25:45 +0800 Subject: [PATCH] guile-opengl: new package import from guix/gnu/packages/gl.scm --- .../guile-modules/guile-opengl/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/guile-modules/guile-opengl/default.nix diff --git a/pkgs/development/guile-modules/guile-opengl/default.nix b/pkgs/development/guile-modules/guile-opengl/default.nix new file mode 100644 index 000000000000..4d608f4caa9d --- /dev/null +++ b/pkgs/development/guile-modules/guile-opengl/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, guile }: + +stdenv.mkDerivation rec { + name = "guile-opengl-0.1.0"; + + meta = with stdenv.lib; { + description = "Guile binding for the OpenGL graphics API"; + homepage = "http://gnu.org/s/guile-opengl"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ iyzsong ]; + }; + + src = fetchurl { + url = "mirror://gnu/guile-opengl/${name}.tar.gz"; + sha256 = "13qfx4xh8baryxqrv986l848ygd0piqwm6s2s90pxk9c0m9vklim"; + }; + + nativeBuildInputs = [ pkgconfig guile ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a5b64751567d..05c7b843b665 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4197,6 +4197,8 @@ let guile_ncurses = callPackage ../development/guile-modules/guile-ncurses { }; + guile-opengl = callPackage ../development/guile-modules/guile-opengl { }; + guile-xcb = callPackage ../development/guile-modules/guile-xcb { }; pharo-vm = callPackage_i686 ../development/pharo/vm { };