depot/third_party/nixpkgs/pkgs/development/guile-modules/guile-xcb/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
795 B
Nix

{ stdenv, fetchurl, pkgconfig, guile, texinfo }:
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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ guile texinfo ];
preConfigure = ''
configureFlags="
--with-guile-site-dir=$out/share/guile/site
--with-guile-site-ccache-dir=$out/share/guile/site
";
'';
meta = with stdenv.lib; {
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;
};
}