at 24.05-pre 25 lines 752 B view raw
1{lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }: 2 3stdenv.mkDerivation rec { 4 pname = "gnet"; 5 version = "2.0.8"; 6 src = fetchFromGitHub { 7 owner = "GNOME"; 8 repo = "gnet"; 9 rev = "GNET_${lib.replaceStrings ["."] ["_"] version}"; 10 sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87"; 11 }; 12 13 nativeBuildInputs = [ pkg-config autoconf automake ]; 14 buildInputs = [ glib libtool ]; 15 16 preConfigure = "./autogen.sh"; 17 18 meta = with lib; { 19 description = "A 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 ]; 24 }; 25}