nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, glib, libtool }:
2
3stdenv.mkDerivation {
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 nativeBuildInputs = [ pkgconfig ];
13 buildInputs = [ autoconf automake glib libtool ];
14
15 preConfigure = "./autogen.sh";
16
17 meta = with stdenv.lib; {
18 description = "A network library, written in C, object-oriented, and built upon GLib";
19 homepage = "https://developer.gnome.org/gnet/";
20 license = licenses.lgpl2;
21 platforms = platforms.linux;
22 maintainers = with maintainers; [ pSub ];
23 };
24}