summary refs log tree commit diff
path: root/pkgs/development/guile-modules/guile-xcb/default.nix
blob: 92d17fbe0db2c0aca462d2b80dd16e87da702bb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, pkgconfig, guile, texinfo }:

stdenv.mkDerivation {
  name = "guile-xcb-1.3";

  meta = with stdenv.lib; {
    description = "XCB bindings for Guile";
    homepage    = "http://www.markwitmer.com/guile-xcb/guile-xcb.html";
    license     = licenses.gpl3Plus;
    platforms   = platforms.linux;
  };

  src = fetchurl {
    url = "http://www.markwitmer.com/dist/guile-xcb-1.3.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
    ";
  '';
}