2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, guile, texinfo }:
|
2014-02-08 02:52:59 +00:00
|
|
|
|
2017-09-24 12:03:56 +01:00
|
|
|
let
|
|
|
|
name = "guile-xcb-${version}";
|
|
|
|
version = "1.3";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2014-02-08 02:52:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-24 12:03:56 +01:00
|
|
|
url = "http://www.markwitmer.com/dist/${name}.tar.gz";
|
2014-02-17 01:48:34 +00:00
|
|
|
sha256 = "04dvbqdrrs67490gn4gkq9zk8mqy3mkls2818ha4p0ckhh0pm149";
|
2014-02-08 02:52:59 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ guile texinfo ];
|
2014-02-08 02:52:59 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="
|
|
|
|
--with-guile-site-dir=$out/share/guile/site
|
|
|
|
--with-guile-site-ccache-dir=$out/share/guile/site
|
|
|
|
";
|
|
|
|
'';
|
2017-09-24 12:03:56 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-24 12:03:56 +01:00
|
|
|
description = "XCB bindings for Guile";
|
|
|
|
homepage = "http://www.markwitmer.com/guile-xcb/guile-xcb.html";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-02-08 02:52:59 +00:00
|
|
|
}
|