1 {lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
3 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
9 rev = "GNET_${lib.replaceStrings ["."] ["_"] version}";
10 sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87";
13 nativeBuildInputs = [ pkg-config autoconf automake ];
14 buildInputs = [ glib libtool ];
16 preConfigure = "./autogen.sh";
19 description = "Network library, written in C, object-oriented, and built upon GLib";
20 homepage = "https://developer.gnome.org/gnet/";
21 license = licenses.lgpl2;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ pSub ];