depot/third_party/nixpkgs/pkgs/by-name/vi/violet/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

37 lines
827 B
Nix

{
lib,
cmake,
fetchFromGitHub,
nix-update-script,
stdenv,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "violet";
version = "0.5.0";
src = fetchFromGitHub {
owner = "paullouisageneau";
repo = "violet";
rev = "v${finalAttrs.version}";
hash = "sha256-+cAgcGOMlhDdep8VuqP8DeELbMRXydRsD0xTyHqOuYM=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
passthru = {
updateScript = nix-update-script { };
tests = testers.testVersion { package = finalAttrs.finalPackage; };
};
meta = {
description = "Lightweight STUN/TURN server";
homepage = "https://github.com/paullouisageneau/violet";
license = lib.licenses.gpl2Only;
mainProgram = "violet";
maintainers = with lib.maintainers; [ oluceps ];
platforms = lib.platforms.all;
};
})