mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
gamenetworkingsockets: init at 1.2.0
This commit is contained in:
parent
82fd153465
commit
7ce707f760
32
pkgs/development/libraries/gamenetworkingsockets/default.nix
Normal file
32
pkgs/development/libraries/gamenetworkingsockets/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, ninja, go, protobuf, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "GameNetworkingSockets";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ValveSoftware";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1zghyc4liml8gzxflyh5gp6zi11ny6ng5hv9wyqvp32rfx221gc6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja go ];
|
||||
|
||||
cmakeFlags = [ "-G Ninja" ];
|
||||
|
||||
# tmp home for go
|
||||
preBuild = "export HOME=\"$TMPDIR\"";
|
||||
|
||||
buildInputs = [ protobuf openssl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
# build failure is resolved on master, remove at next release
|
||||
broken = stdenv.isDarwin;
|
||||
description = "GameNetworkingSockets is a basic transport layer for games";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
inherit (src.meta) homepage;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
@ -13254,6 +13254,8 @@ in
|
||||
|
||||
funambol = callPackage ../development/libraries/funambol { };
|
||||
|
||||
gamenetworkingsockets = callPackage ../development/libraries/gamenetworkingsockets { };
|
||||
|
||||
gamin = callPackage ../development/libraries/gamin { };
|
||||
fam = gamin; # added 2018-04-25
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user