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-cairo | |
parent | 796b69318f422bf3a3275ca2cc82aff252d972c4 (diff) |
guile-modules: stylistic nix expression changes to modules with sole
maintainer vyp
Diffstat (limited to 'pkgs/development/guile-modules/guile-cairo')
-rw-r--r-- | pkgs/development/guile-modules/guile-cairo/default.nix | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/pkgs/development/guile-modules/guile-cairo/default.nix b/pkgs/development/guile-modules/guile-cairo/default.nix index 574dfad1aac..a41d546e9cf 100644 --- a/pkgs/development/guile-modules/guile-cairo/default.nix +++ b/pkgs/development/guile-modules/guile-cairo/default.nix @@ -1,7 +1,8 @@ -{ fetchurl, stdenv, guile, pkgconfig, cairo, expat, guile-lib }: +{ stdenv, fetchurl, pkgconfig, guile, guile-lib, cairo, expat }: stdenv.mkDerivation rec { - name = "guile-cairo-1.4.1"; + name = "guile-cairo-${version}"; + version = "1.4.1"; src = fetchurl { url = "http://download.gna.org/guile-cairo/${name}.tar.gz"; @@ -13,25 +14,20 @@ stdenv.mkDerivation rec { doCheck = true; - meta = { - description = "Guile-Cairo, Cairo bindings for GNU Guile"; - - longDescription = - '' Guile-Cairo wraps the Cairo graphics library for Guile Scheme. - - Guile-Cairo is complete, wrapping almost all of the Cairo API. It - is API stable, providing a firm base on which to do graphics work. - Finally, and importantly, it is pleasant to use. You get a powerful - and well-maintained graphics library with all of the benefits of - Scheme: memory management, exceptions, macros, and a dynamic - programming environment. - ''; - - license = stdenv.lib.licenses.lgpl3Plus; - - homepage = http://home.gna.org/guile-cairo/; - - maintainers = [ stdenv.lib.maintainers.vyp ]; - platforms = stdenv.lib.platforms.linux; + meta = with stdenv.lib; { + description = "Cairo bindings for GNU Guile"; + longDescription = '' + Guile-Cairo wraps the Cairo graphics library for Guile Scheme. + + Guile-Cairo is complete, wrapping almost all of the Cairo API. It is API + stable, providing a firm base on which to do graphics work. Finally, and + importantly, it is pleasant to use. You get a powerful and well + maintained graphics library with all of the benefits of Scheme: memory + management, exceptions, macros, and a dynamic programming environment. + ''; + homepage = "http://home.gna.org/guile-cairo/"; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ vyp ]; + platforms = platforms.linux; }; } |