guile-xcb: rewrite

This commit is contained in:
AndersonTorres 2021-04-15 12:06:35 -03:00
parent 120f478e42
commit 1da34ac3c4

View file

@ -1,29 +1,36 @@
{ lib, stdenv, fetchurl, pkg-config, guile, texinfo }: { lib
, stdenv
, fetchurl
, guile
, pkg-config
, texinfo
}:
let stdenv.mkDerivation rec {
name = "guile-xcb-${version}"; pname = "guile-xcb";
version = "1.3"; version = "1.3";
in stdenv.mkDerivation {
inherit name;
src = fetchurl { src = fetchurl {
url = "http://www.markwitmer.com/dist/${name}.tar.gz"; url = "http://www.markwitmer.com/dist/${pname}-${version}.tar.gz";
sha256 = "04dvbqdrrs67490gn4gkq9zk8mqy3mkls2818ha4p0ckhh0pm149"; hash = "sha256-iYR6AYSTgUsURAEJTWcdHlc0f8LzEftAIsfonBteuxE=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [
buildInputs = [ guile texinfo ]; pkg-config
];
buildInputs = [
guile
texinfo
];
preConfigure = '' configureFlags = [
configureFlags=" "--with-guile-site-dir=$out/share/guile/site"
--with-guile-site-dir=$out/share/guile/site "--with-guile-site-ccache-dir=$out/share/guile/site"
--with-guile-site-ccache-dir=$out/share/guile/site ];
";
'';
meta = with lib; { meta = with lib; {
description = "XCB bindings for Guile";
homepage = "http://www.markwitmer.com/guile-xcb/guile-xcb.html"; homepage = "http://www.markwitmer.com/guile-xcb/guile-xcb.html";
description = "XCB bindings for Guile";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ vyp ]; maintainers = with maintainers; [ vyp ];
platforms = platforms.linux; platforms = platforms.linux;