···11-{ fetchurl, stdenv, guile, pkgconfig, cairo, expat, guile_lib }:
11+{ stdenv, fetchurl, pkgconfig, guile, guile-lib, cairo, expat }:
2233stdenv.mkDerivation rec {
44- name = "guile-cairo-1.4.1";
44+ name = "guile-cairo-${version}";
55+ version = "1.4.1";
5667 src = fetchurl {
78 url = "http://download.gna.org/guile-cairo/${name}.tar.gz";
···910 };
10111112 buildInputs = [ guile pkgconfig cairo expat ]
1212- ++ stdenv.lib.optional doCheck guile_lib;
1313+ ++ stdenv.lib.optional doCheck guile-lib;
13141415 doCheck = true;
15161616- meta = {
1717- description = "Guile-Cairo, Cairo bindings for GNU Guile";
1818-1919- longDescription =
2020- '' Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
2121-2222- Guile-Cairo is complete, wrapping almost all of the Cairo API. It
2323- is API stable, providing a firm base on which to do graphics work.
2424- Finally, and importantly, it is pleasant to use. You get a powerful
2525- and well-maintained graphics library with all of the benefits of
2626- Scheme: memory management, exceptions, macros, and a dynamic
2727- programming environment.
2828- '';
2929-3030- license = stdenv.lib.licenses.lgpl3Plus;
3131-3232- homepage = http://home.gna.org/guile-cairo/;
1717+ meta = with stdenv.lib; {
1818+ description = "Cairo bindings for GNU Guile";
1919+ longDescription = ''
2020+ Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
33213434- maintainers = [ ];
3535- platforms = stdenv.lib.platforms.linux;
2222+ Guile-Cairo is complete, wrapping almost all of the Cairo API. It is API
2323+ stable, providing a firm base on which to do graphics work. Finally, and
2424+ importantly, it is pleasant to use. You get a powerful and well
2525+ maintained graphics library with all of the benefits of Scheme: memory
2626+ management, exceptions, macros, and a dynamic programming environment.
2727+ '';
2828+ homepage = "http://home.gna.org/guile-cairo/";
2929+ license = licenses.lgpl3Plus;
3030+ maintainers = with maintainers; [ vyp ];
3131+ platforms = platforms.linux;
3632 };
3733}