git.iko.soy/typeable/nixpkgs
on master help sign in
gnet: update from 2.0.7 to 2.0.8
commitbab97e16874bf4cc8d73cae8d79b6232d070b28f authorPascal Wittmann <mail@pascal-wittmann.de> dateWed 10 Dec 2014, 17:11 (12 years ago) parent55d59ee
1 file changed+18−8
pkgs/development/libraries/gnet/default.nix+18−8
pkgs/development/libraries/gnet/default.nix+18−8
@@ -1,12 +1,22 @@
1−{stdenv, fetchurl, pkgconfig, glib}:
2−
3−assert pkgconfig != null && glib != null;
1+{stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, glib, libtool }:
42
53stdenv.mkDerivation {
6− name = "gnet-2.0.7";
7− src = fetchurl {
8− url = http://www.gnetlibrary.org/src/gnet-2.0.7.tar.gz;
9− md5 = "3a7a40411775688fe4c42141ab007048";
4+ name = "gnet-2.0.8";
5+ src = fetchFromGitHub {
6+ owner = "GNOME";
7+ repo = "gnet";
8+ rev = "GNET_2_0_8";
9+ sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87";
10+ };
11+
12+ buildInputs = [ pkgconfig autoconf automake glib libtool ];
13+
14+ preConfigure = "./autogen.sh";
15+
16+ meta = with stdenv.lib; {
17+ description = "A network library, written in C, object-oriented, and built upon GLib";
18+ homepage = https://developer.gnome.org/gnet/;
19+ platforms = platforms.linux;
20+ maintainers = with maintainers; [ pSub ];
1021 };
11− buildInputs = [pkgconfig glib];
1222}