guile-modules: stylistic nix expression changes to modules with sole

maintainer vyp
This commit is contained in:
xd1le
2017-09-24 22:29:29 +10:00
parent 796b69318f
commit 3579d7e2b2
6 changed files with 110 additions and 105 deletions
@@ -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;
};
}