2023-10-09 19:29:22 +00:00
|
|
|
{ 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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fast and Reliable ARQ Protocol";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/skywind3000/kcp";
|
|
|
|
license = licenses.mit;
|
2023-10-19 13:55:26 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2023-10-09 19:29:22 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|