nixpkgs/pkgs/development/guile-modules/guile-xcb/default.nix

32 lines
795 B
Nix
Raw Normal View History

2014-02-08 03:52:59 +01:00
{ stdenv, fetchurl, pkgconfig, guile, texinfo }:
let
name = "guile-xcb-${version}";
version = "1.3";
in stdenv.mkDerivation {
inherit name;
2014-02-08 03:52:59 +01:00
src = fetchurl {
url = "http://www.markwitmer.com/dist/${name}.tar.gz";
2014-02-17 02:48:34 +01:00
sha256 = "04dvbqdrrs67490gn4gkq9zk8mqy3mkls2818ha4p0ckhh0pm149";
2014-02-08 03:52:59 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ guile texinfo ];
2014-02-08 03:52:59 +01:00
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;
};
2014-02-08 03:52:59 +01:00
}