2021-04-17 00:35:05 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-02-10 20:34:41 +00:00
|
|
|
, fetchFromGitHub
|
2023-08-04 22:07:22 +00:00
|
|
|
, autoreconfHook
|
2021-04-17 00:35:05 +00:00
|
|
|
, guile
|
|
|
|
, pkg-config
|
|
|
|
, texinfo
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-17 00:35:05 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-xcb";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "unstable-2017-05-29";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mwitmer";
|
|
|
|
repo = pname;
|
2023-08-04 22:07:22 +00:00
|
|
|
rev = "db7d5a393cc37a56f66541b3f33938b40c6f35b3";
|
|
|
|
hash = "sha256-zbIsEIPwNJ1YXMZTDw2DfzufC+IZWfcWgZHbuv7bhJs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-17 00:35:05 +00:00
|
|
|
nativeBuildInputs = [
|
2023-08-04 22:07:22 +00:00
|
|
|
autoreconfHook
|
2021-04-17 00:35:05 +00:00
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
texinfo
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-17 00:35:05 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-guile-site-dir=$out/share/guile/site"
|
|
|
|
"--with-guile-site-ccache-dir=$out/share/guile/site"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
makeFlags = [
|
|
|
|
"GUILE_AUTO_COMPILE=0"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
homepage = "https://github.com/mwitmer/guile-xcb";
|
2021-04-17 00:35:05 +00:00
|
|
|
description = "XCB bindings for Guile";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
2023-08-04 22:07:22 +00:00
|
|
|
platforms = guile.meta.platforms;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|