nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 856 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 pkg-config, 6 autoconf, 7 automake, 8 glib, 9 libtool, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "gnet"; 14 version = "2.0.8"; 15 16 src = fetchFromGitLab { 17 domain = "gitlab.gnome.org"; 18 owner = "Archive"; 19 repo = "gnet"; 20 rev = "GNET_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 21 hash = "sha256-B2H8s1JWNrvVR8qn6UFfAaCXQd0zEpNaLUPET99Ex7M="; 22 }; 23 24 nativeBuildInputs = [ 25 pkg-config 26 autoconf 27 automake 28 ]; 29 buildInputs = [ 30 glib 31 libtool 32 ]; 33 34 preConfigure = "./autogen.sh"; 35 36 meta = { 37 description = "Network library, written in C, object-oriented, and built upon GLib"; 38 homepage = "https://gitlab.gnome.org/Archive/gnet"; 39 license = lib.licenses.lgpl2; 40 platforms = lib.platforms.linux; 41 maintainers = with lib.maintainers; [ pSub ]; 42 }; 43})