summary refs log tree commit diff
path: root/pkgs/development/guile-modules/guile-xcb/default.nix
blob: fc02ab305a384e5fc9fbace74c2801df964438c6 (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;
    maintainers = with maintainers; [ iyzsong ];
  };

  src = fetchurl {
    url = "http://www.markwitmer.com/dist/guile-xcb-1.3.tar.gz";
    sha256 = "04dvbqdrrs67490gn4gkq9zk8mqy3mkls2818ha4p0ckhh0pm149";
  };

  buildInputs = [ pkgconfig guile texinfo ];

  preConfigure = ''
    configureFlags="
      --with-guile-site-dir=$out/share/guile/site
      --with-guile-site-ccache-dir=$out/share/guile/site
    ";
  '';
}