nixpkgs/pkgs/development/libraries/kcp/default.nix
Red Star Over Earth 5000fb7c47
kcp: init at 1.7
2023-08-26 17:31:47 +08:00

28 lines
547 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; [ rs0vere ];
platforms = platforms.all;
};
}