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

26 lines
752 B
Nix
Raw Normal View History

{lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
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";
};
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 18:28:40 +00:00
license = licenses.lgpl2;
2014-12-10 16:11:45 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}