depot/third_party/nixpkgs/pkgs/development/libraries/kcp/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 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;
};
}