2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, guile, texinfo }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
name = "guile-xcb-${version}";
|
|
|
|
version = "1.3";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.markwitmer.com/dist/${name}.tar.gz";
|
|
|
|
sha256 = "04dvbqdrrs67490gn4gkq9zk8mqy3mkls2818ha4p0ckhh0pm149";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ guile texinfo ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="
|
|
|
|
--with-guile-site-dir=$out/share/guile/site
|
|
|
|
--with-guile-site-ccache-dir=$out/share/guile/site
|
|
|
|
";
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00: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;
|
|
|
|
};
|
|
|
|
}
|