diff options
author | xd1le <elisp.vim@gmail.com> | 2017-09-24 21:03:56 +1000 |
---|---|---|
committer | xd1le <elisp.vim@gmail.com> | 2017-09-24 22:29:29 +1000 |
commit | 3579d7e2b2fb7befcbebc473115c230d3c0781c0 (patch) | |
tree | 8e8e4dd099c87edac6b76791f2d9c541d76926db /pkgs/development/guile-modules/guile-opengl | |
parent | 796b69318f422bf3a3275ca2cc82aff252d972c4 (diff) |
guile-modules: stylistic nix expression changes to modules with sole
maintainer vyp
Diffstat (limited to 'pkgs/development/guile-modules/guile-opengl')
-rw-r--r-- | pkgs/development/guile-modules/guile-opengl/default.nix | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/pkgs/development/guile-modules/guile-opengl/default.nix b/pkgs/development/guile-modules/guile-opengl/default.nix index b67d38020d14..f854c71c240f 100644 --- a/pkgs/development/guile-modules/guile-opengl/default.nix +++ b/pkgs/development/guile-modules/guile-opengl/default.nix @@ -1,15 +1,10 @@ { 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; - maintainers = with maintainers; [ vyp ]; - platforms = platforms.linux; - }; +let + name = "guile-opengl-${version}"; + version = "0.1.0"; +in stdenv.mkDerivation { + inherit name; src = fetchurl { url = "mirror://gnu/guile-opengl/${name}.tar.gz"; @@ -17,4 +12,12 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig guile ]; + + meta = with stdenv.lib; { + description = "Guile bindings for the OpenGL graphics API"; + homepage = "http://gnu.org/s/guile-opengl"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ vyp ]; + platforms = platforms.linux; + }; } |