about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/guile-modules/guile-xcb/default.nix
blob: 72066313ecaa85373966aa701d46d85dd071e5e1 (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
28
29
30
31
32
33
34
35
36
37
38
{ lib
, stdenv
, fetchurl
, guile
, pkg-config
, texinfo
}:

stdenv.mkDerivation rec {
  pname = "guile-xcb";
  version = "1.3";

  src = fetchurl {
    url = "http://www.markwitmer.com/dist/${pname}-${version}.tar.gz";
    hash = "sha256-iYR6AYSTgUsURAEJTWcdHlc0f8LzEftAIsfonBteuxE=";
  };

  nativeBuildInputs = [
    pkg-config
  ];
  buildInputs = [
    guile
    texinfo
  ];

  configureFlags = [
    "--with-guile-site-dir=$out/share/guile/site"
    "--with-guile-site-ccache-dir=$out/share/guile/site"
  ];

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