diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-10-02 00:22:12 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-10-02 00:22:12 +0000 |
commit | fda26c8476c1684f77bacacf2b5c46b1fbf65b41 (patch) | |
tree | 84752640ad3cf64ba372bdd4aab713c097023281 /pkgs/development/guile-modules | |
parent | 21976d1fbd612f67825473a7a2b05bb1387e5840 (diff) | |
parent | 6b8806dff7a2cd11e37944af1bbb276ceb870199 (diff) | |
download | nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.tar nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.tar.gz nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.tar.bz2 nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.tar.lz nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.tar.xz nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.tar.zst nixlib-fda26c8476c1684f77bacacf2b5c46b1fbf65b41.zip |
Merge branch 'master' into staging
* master: (271 commits) pysmbc: clarify license pysmbc: fix license bazel: 0.5.4 -> 0.6.0 (#29990) googler: init at 3.3 go: declare support for aarch64 firefox-beta-bin: 56.0b5 -> 57.0b4 spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26 gogs: 0.11.19 -> 0.11.29 grafana: 4.5.1 -> 4.5.2 mopidy-iris: 3.4.1 -> 3.4.9 nextcloud: 12.0.2 -> 12.0.3 haskell-json-autotype: jailbreak to fix build within LTS 9.x kore: fix up kore: init at 2.0.0 glusterfs service: fix issues with useRpcbind tig: 2.2.2 -> 2.3.0 haskell-hspec-core: enable test suite again hackage-packages.nix: automatic Haskell package set update librsvg: fix thumbnailer path awscli: 1.11.108 -> 1.11.162 ...
Diffstat (limited to 'pkgs/development/guile-modules')
-rw-r--r-- | pkgs/development/guile-modules/guile-gnome/default.nix | 57 | ||||
-rw-r--r-- | pkgs/development/guile-modules/guile-sdl/default.nix | 9 | ||||
-rw-r--r-- | pkgs/development/guile-modules/guile-sdl2/default.nix | 76 |
3 files changed, 59 insertions, 83 deletions
diff --git a/pkgs/development/guile-modules/guile-gnome/default.nix b/pkgs/development/guile-modules/guile-gnome/default.nix index aae44e2f6d84..12648cab7dc3 100644 --- a/pkgs/development/guile-modules/guile-gnome/default.nix +++ b/pkgs/development/guile-modules/guile-gnome/default.nix @@ -1,58 +1,41 @@ { fetchurl, stdenv, guile, guile-lib, gwrap , pkgconfig, gconf, glib, gnome_vfs, gtk2 , libglade, libgnome, libgnomecanvas, libgnomeui -, pango, guile-cairo, autoconf, automake, texinfo }: +, pango, guile-cairo, texinfo +}: stdenv.mkDerivation rec { - name = "guile-gnome-platform-2.16.4"; + name = "${pname}-${version}"; + pname = "guile-gnome-platform"; + version = "2.16.4"; src = fetchurl { - url = "http://ftp.gnu.org/pub/gnu/guile-gnome/guile-gnome-platform/${name}.tar.gz"; + url = "mirror://gnu/guile-gnome/${pname}/${name}.tar.gz"; sha256 = "adabd48ed5993d8528fd604e0aa0d96ad81a61d06da6cdd68323572ad6c216c3"; }; buildInputs = [ - autoconf - automake - texinfo - guile - gwrap - pkgconfig - gconf - glib - gnome_vfs - gtk2 - libglade - libgnome - libgnomecanvas - libgnomeui - pango - guile-cairo + texinfo guile gwrap pkgconfig gconf glib gnome_vfs gtk2 + libglade libgnome libgnomecanvas libgnomeui pango guile-cairo ] ++ stdenv.lib.optional doCheck guile-lib; - preConfigure = '' - ./autogen.sh - ''; - # The test suite tries to open an X display, which fails. doCheck = false; + GUILE_AUTO_COMPILE = 0; + meta = with stdenv.lib; { description = "GNOME bindings for GNU Guile"; - - longDescription = - '' GNU guile-gnome brings the power of Scheme to your graphical - application. guile-gnome modules support the entire Gnome library - stack: from Pango to GnomeCanvas, Gtk+ to GStreamer, Glade to - GtkSourceView, you will find in guile-gnome a comprehensive - environment for developing modern applications. - ''; - - homepage = http://www.gnu.org/software/guile-gnome/; - + longDescription = '' + GNU guile-gnome brings the power of Scheme to your graphical application. + guile-gnome modules support the entire Gnome library stack: from Pango to + GnomeCanvas, Gtk+ to GStreamer, Glade to GtkSourceView, you will find in + guile-gnome a comprehensive environment for developing modern + applications. + ''; + homepage = "http://www.gnu.org/software/guile-gnome/"; license = licenses.gpl2Plus; - - maintainers = with maintainers; [ taktoa amiloradovsky ]; - platforms = with platforms; linux; + maintainers = with maintainers; [ vyp ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/guile-modules/guile-sdl/default.nix b/pkgs/development/guile-modules/guile-sdl/default.nix index a7f703028bb3..5f887c3a7be6 100644 --- a/pkgs/development/guile-modules/guile-sdl/default.nix +++ b/pkgs/development/guile-modules/guile-sdl/default.nix @@ -3,12 +3,13 @@ }: stdenv.mkDerivation rec { - name = "guile-sdl-${version}"; - version = "0.5.1"; + name = "${pname}-${version}"; + pname = "guile-sdl"; + version = "0.5.2"; src = fetchurl { - url = "mirror://gnu/guile-sdl/${name}.tar.xz"; - sha256 = "126n4rd0ydh6i2s11ari5k85iivradlf12zq13b34shf9k1wn5am"; + url = "mirror://gnu/${pname}/${name}.tar.xz"; + sha256 = "0cjgs012a9922hn6xqwj66w6qmfs3nycnm56hyykx5n3g5p7ag01"; }; nativeBuildInputs = [ pkgconfig guile ]; diff --git a/pkgs/development/guile-modules/guile-sdl2/default.nix b/pkgs/development/guile-modules/guile-sdl2/default.nix index 52dbd89232b7..b20fc162ef3b 100644 --- a/pkgs/development/guile-modules/guile-sdl2/default.nix +++ b/pkgs/development/guile-modules/guile-sdl2/default.nix @@ -1,46 +1,38 @@ -{ stdenv, - SDL2, - SDL2_image, - SDL2_ttf, - SDL2_mixer, - autoconf, - automake, - fetchgit, - guile, - libtool, - pkgconfig - }: -stdenv.mkDerivation rec { - name = "guile-sdl2-${version}"; - version = "0.1.0"; - buildInputs = [ autoconf - automake - SDL2 - SDL2_image - SDL2_ttf - SDL2_mixer - libtool - guile - pkgconfig ]; - src = fetchgit { - url = "git://dthompson.us/guile-sdl2.git"; - rev = "048f80ddb5c6b03b87bba199a99a6f22d911bfff"; - sha256 = "1v7bc2bsddb46qdzq7cyzlw5i2y175kh66mbzbjky85sjfypb084"; +{ stdenv, fetchurl, guile, libtool, pkgconfig +, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer +}: + +let + name = "${pname}-${version}"; + pname = "guile-sdl2"; + version = "0.2.0"; +in stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "https://files.dthompson.us/${pname}/${name}.tar.gz"; + sha256 = "0yq9lsl17cdvj77padvpk3jcw2g6g0pck9jrchc7n2767rrc012b"; }; - preConfigurePhases = [ "bootstrapPhase" ]; - bootstrapPhase = '' - ./bootstrap - ''; - configureFlags = [ "--with-libsdl2-prefix=${SDL2}" - "--with-libsdl2-image-prefix=${SDL2_image}" - "--with-libsdl2-ttf-prefix=${SDL2_ttf}" - "--with-libsdl2-mixer-prefix=${SDL2_mixer}"]; - makeFlags = ["GUILE_AUTO_COMPILE=0"]; - meta = { + + buildInputs = [ + guile libtool pkgconfig + SDL2 SDL2_image SDL2_ttf SDL2_mixer + ]; + + configureFlags = [ + "--with-libsdl2-prefix=${SDL2}" + "--with-libsdl2-image-prefix=${SDL2_image}" + "--with-libsdl2-ttf-prefix=${SDL2_ttf}" + "--with-libsdl2-mixer-prefix=${SDL2_mixer}" + ]; + + makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; + + meta = with stdenv.lib; { description = "Bindings to SDL2 for GNU Guile"; - homepage = https://git.dthompson.us/guile-sdl2.git; - license = stdenv.lib.licenses.gpl3; - maintainers = [ stdenv.lib.maintainers.seppeljordan ]; - platforms = stdenv.lib.platforms.all; + homepage = "https://dthompson.us/projects/guile-sdl2.html"; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ seppeljordan vyp ]; + platforms = platforms.all; }; } |