2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnet";
|
|
|
|
version = "2.0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "gnet";
|
2021-07-21 07:28:18 +00:00
|
|
|
rev = "GNET_${lib.replaceStrings ["."] ["_"] version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ autoconf automake glib libtool ];
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A network library, written in C, object-oriented, and built upon GLib";
|
|
|
|
homepage = "https://developer.gnome.org/gnet/";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|