2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2021-06-22 13:21:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnet";
|
|
|
|
version = "2.0.8";
|
2014-12-10 16:11:45 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "gnet";
|
2021-06-22 13:21:29 +00:00
|
|
|
rev = "GNET_${lib.replaceStrings ["."] ["_"] version}";
|
2014-12-10 16:11:45 +00:00
|
|
|
sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ autoconf automake glib libtool ];
|
2014-12-10 16:11:45 +00:00
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-12-10 16:11:45 +00:00
|
|
|
description = "A network library, written in C, object-oriented, and built upon GLib";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://developer.gnome.org/gnet/";
|
2018-08-20 18:28:40 +00:00
|
|
|
license = licenses.lgpl2;
|
2014-12-10 16:11:45 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
}
|