nixpkgs/pkgs/development/libraries/gnet/default.nix

25 lines
696 B
Nix
Raw Normal View History

{lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
stdenv.mkDerivation {
2014-12-10 16:11:45 +00:00
name = "gnet-2.0.8";
src = fetchFromGitHub {
owner = "GNOME";
repo = "gnet";
rev = "GNET_2_0_8";
sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ autoconf automake glib libtool ];
2014-12-10 16:11:45 +00:00
preConfigure = "./autogen.sh";
meta = with lib; {
2014-12-10 16:11:45 +00:00
description = "A network library, written in C, object-oriented, and built upon GLib";
homepage = "https://developer.gnome.org/gnet/";
2018-08-20 19:28:40 +01:00
license = licenses.lgpl2;
2014-12-10 16:11:45 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}