2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, guile, guile-lib, cairo, expat }:
|
2009-10-06 00:21:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "guile-cairo";
|
2020-12-02 10:37:31 +01:00
|
|
|
version = "1.11.2";
|
2009-10-06 00:21:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://savannah/guile-cairo/${pname}-${version}.tar.gz";
|
2020-12-02 10:37:31 +01:00
|
|
|
sha256 = "0yx0844p61ljd4d3d63qrawiygiw6ks02fwv2cqx7nav5kfd8ck2";
|
2009-10-06 00:21:24 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-28 18:32:57 +02:00
|
|
|
|
2018-08-08 20:29:02 +02:00
|
|
|
buildInputs = [ guile cairo expat ];
|
2018-10-13 15:38:57 +02:00
|
|
|
enableParallelBuilding = true;
|
2009-10-06 00:21:24 +02:00
|
|
|
|
2019-05-18 19:07:56 +02:00
|
|
|
doCheck = false; # Cannot find unit-test module from guile-lib
|
2018-10-13 15:38:57 +02:00
|
|
|
checkInputs = [ guile-lib ];
|
2009-10-06 00:21:24 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-09-24 13:03:56 +02:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.nongnu.org/guile-cairo/";
|
2017-09-24 13:03:56 +02:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
|
|
|
platforms = platforms.linux;
|
2009-10-06 00:21:24 +02:00
|
|
|
};
|
|
|
|
}
|