2021-04-15 16:06:35 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-02-06 12:36:36 +00:00
|
|
|
, fetchFromGitHub
|
2021-04-15 16:06:35 +01:00
|
|
|
, guile
|
|
|
|
, pkg-config
|
|
|
|
, texinfo
|
|
|
|
}:
|
2014-02-08 02:52:59 +00:00
|
|
|
|
2021-04-15 16:06:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-xcb";
|
2017-09-24 12:03:56 +01:00
|
|
|
version = "1.3";
|
2014-02-08 02:52:59 +00:00
|
|
|
|
2022-02-06 12:36:36 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mwitmer";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-8iaYil2wiqnu9p7Gj93GE5akta1A0zqyApRwHct5RSs=";
|
2014-02-08 02:52:59 +00:00
|
|
|
};
|
|
|
|
|
2021-04-15 16:06:35 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
texinfo
|
|
|
|
];
|
2014-02-08 02:52:59 +00:00
|
|
|
|
2021-04-15 16:06:35 +01:00
|
|
|
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; {
|
2022-02-06 12:36:36 +00:00
|
|
|
homepage = "https://github.com/mwitmer/guile-xcb";
|
2021-04-15 16:06:35 +01:00
|
|
|
description = "XCB bindings for Guile";
|
2017-09-24 12:03:56 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2014-02-08 02:52:59 +00:00
|
|
|
}
|