nixpkgs/pkgs/development/guile-modules/guile-cairo/default.nix

37 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, guile, guile-lib, cairo, expat }:
stdenv.mkDerivation rec {
name = "guile-cairo-${version}";
2018-10-13 15:38:57 +02:00
version = "1.10.0";
src = fetchurl {
2018-10-13 15:38:57 +02:00
url = "mirror://savannah/guile-cairo/${name}.tar.gz";
sha256 = "0p6xrhf2k6n5dybn88050za7h90gnd7534n62l53vsca187pwgdf";
};
nativeBuildInputs = [ pkgconfig ];
2018-08-08 20:29:02 +02:00
buildInputs = [ guile cairo expat ];
2018-10-13 15:38:57 +02:00
enableParallelBuilding = true;
doCheck = true;
2018-10-13 15:38:57 +02:00
checkInputs = [ guile-lib ];
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.
'';
2018-10-13 15:38:57 +02:00
homepage = https://www.nongnu.org/guile-cairo/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
};
}