ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / vi / violet / package.nix
bloba50d1ad9d68c3830396c52673524f198a8266df2
2   lib,
3   cmake,
4   fetchFromGitHub,
5   nix-update-script,
6   stdenv,
7   testers,
8 }:
10 stdenv.mkDerivation (finalAttrs: {
11   pname = "violet";
12   version = "0.5.1";
14   src = fetchFromGitHub {
15     owner = "paullouisageneau";
16     repo = "violet";
17     rev = "v${finalAttrs.version}";
18     hash = "sha256-Xy6eo0BOKlUb6SN3mU8Nc85cW+I93pKl7N1bXoSOYUI=";
19     fetchSubmodules = true;
20   };
22   nativeBuildInputs = [ cmake ];
24   passthru = {
25     updateScript = nix-update-script { };
26     tests = testers.testVersion { package = finalAttrs.finalPackage; };
27   };
29   meta = {
30     description = "Lightweight STUN/TURN server";
31     homepage = "https://github.com/paullouisageneau/violet";
32     license = lib.licenses.gpl2Only;
33     mainProgram = "violet";
34     maintainers = with lib.maintainers; [ oluceps ];
35     platforms = lib.platforms.all;
36   };