guile-modules: stylistic nix expression changes to modules with sole

maintainer vyp
This commit is contained in:
xd1le
2017-09-24 22:29:29 +10:00
parent 796b69318f
commit 3579d7e2b2
6 changed files with 110 additions and 105 deletions
@@ -1,18 +1,13 @@
{ 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;
maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
};
let
name = "guile-xcb-${version}";
version = "1.3";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "http://www.markwitmer.com/dist/guile-xcb-1.3.tar.gz";
url = "http://www.markwitmer.com/dist/${name}.tar.gz";
sha256 = "04dvbqdrrs67490gn4gkq9zk8mqy3mkls2818ha4p0ckhh0pm149";
};
@@ -24,4 +19,12 @@ stdenv.mkDerivation {
--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;
};
}