5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
46 lines
898 B
Nix
46 lines
898 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, guile
|
|
, pkg-config
|
|
, texinfo
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "guile-xcb";
|
|
version = "unstable-2017-05-29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mwitmer";
|
|
repo = pname;
|
|
rev = "db7d5a393cc37a56f66541b3f33938b40c6f35b3";
|
|
hash = "sha256-zbIsEIPwNJ1YXMZTDw2DfzufC+IZWfcWgZHbuv7bhJs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
guile
|
|
texinfo
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-guile-site-dir=$out/share/guile/site"
|
|
"--with-guile-site-ccache-dir=$out/share/guile/site"
|
|
];
|
|
|
|
makeFlags = [
|
|
"GUILE_AUTO_COMPILE=0"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mwitmer/guile-xcb";
|
|
description = "XCB bindings for Guile";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ vyp ];
|
|
platforms = guile.meta.platforms;
|
|
};
|
|
}
|