guile-gnome: rewrite

This commit is contained in:
AndersonTorres 2021-04-15 11:56:58 -03:00
parent 9d8fa10f60
commit 03ba2b5039

View file

@ -1,7 +1,21 @@
{ fetchurl, lib, stdenv, guile, guile-lib, gwrap { lib
, pkg-config, gconf, glib, gnome_vfs, gtk2 , stdenv
, libglade, libgnome, libgnomecanvas, libgnomeui , fetchurl
, pango, guile-cairo, texinfo , gconf
, glib
, gnome_vfs
, gtk2
, guile
, guile-cairo
, guile-lib
, gwrap
, libglade
, libgnome
, libgnomecanvas
, libgnomeui
, pango
, pkg-config
, texinfo
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -10,20 +24,37 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "mirror://gnu/guile-gnome/${pname}/${pname}-${version}.tar.gz"; url = "mirror://gnu/guile-gnome/${pname}/${pname}-${version}.tar.gz";
sha256 = "adabd48ed5993d8528fd604e0aa0d96ad81a61d06da6cdd68323572ad6c216c3"; hash = "sha256-ravUjtWZPYUo/WBOCqDZatgaYdBtps3WgyNXKtbCFsM=";
}; };
nativeBuildInputs = [
pkg-config
texinfo
];
buildInputs = [ buildInputs = [
texinfo guile gwrap pkg-config gconf glib gnome_vfs gtk2 gconf
libglade libgnome libgnomecanvas libgnomeui pango guile-cairo glib
gnome_vfs
gtk2
guile
guile-cairo
gwrap
libglade
libgnome
libgnomecanvas
libgnomeui
pango
] ++ lib.optional doCheck guile-lib; ] ++ lib.optional doCheck guile-lib;
# The test suite tries to open an X display, which fails. # The test suite tries to open an X display, which fails.
doCheck = false; doCheck = false;
GUILE_AUTO_COMPILE = 0; makeFlags = [
"GUILE_AUTO_COMPILE=0"
];
meta = with lib; { meta = with lib; {
homepage = "https://www.gnu.org/software/guile-gnome/";
description = "GNOME bindings for GNU Guile"; description = "GNOME bindings for GNU Guile";
longDescription = '' longDescription = ''
GNU guile-gnome brings the power of Scheme to your graphical application. GNU guile-gnome brings the power of Scheme to your graphical application.
@ -32,7 +63,6 @@ stdenv.mkDerivation rec {
guile-gnome a comprehensive environment for developing modern guile-gnome a comprehensive environment for developing modern
applications. applications.
''; '';
homepage = "https://www.gnu.org/software/guile-gnome/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ vyp ]; maintainers = with maintainers; [ vyp ];
platforms = platforms.linux; platforms = platforms.linux;