diff options
author | 宋文武 <songwenwu@linuxdeepin.com> | 2014-10-31 09:25:45 +0800 |
---|---|---|
committer | 宋文武 <songwenwu@linuxdeepin.com> | 2014-10-31 09:25:45 +0800 |
commit | 88f5aa4fda21581340f713ed063d2c0a79b7adec (patch) | |
tree | 85127517f53b40835c9b1d87542c660d285c530c /pkgs/development/guile-modules/guile-opengl | |
parent | 5b2b008ea9d3c42d40524bc16e44f82e9cb9bb6c (diff) |
guile-opengl: new package
import from guix/gnu/packages/gl.scm
Diffstat (limited to 'pkgs/development/guile-modules/guile-opengl')
-rw-r--r-- | pkgs/development/guile-modules/guile-opengl/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
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 ]; +} |