b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
27 lines
539 B
Nix
27 lines
539 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kcp";
|
|
version = "1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "skywind3000";
|
|
repo = "kcp";
|
|
rev = version;
|
|
hash = "sha256-yW40x4T++4rB7hoabGN8qiSN7octyoUYEfE9oDlLxjU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "A Fast and Reliable ARQ Protocol";
|
|
homepage = "https://github.com/skywind3000/kcp";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|