14 src = fetchFromGitHub {
18 hash = "sha256-TRKlX4dNCvD9wBp+JNpmB9J1lt0Eyc0pQ/ucvtiDGto=";
21 sourceRoot = "${src.name}/caddy";
23 vendorHash = "sha256-0tyvb11rBtrTbA+eAV1E5Y2tZeAwtrpONHBOLaVxuaQ=";
25 subPackages = [ "mercure" ];
26 excludedPackages = [ "../cmd/mercure" ];
31 "-X 'github.com/caddyserver/caddy/v2.CustomVersion=Mercure.rocks v${version} Caddy'"
37 updateScript = nix-update-script { };
38 tests.version = testers.testVersion {
39 version = "v${version}";
41 command = "mercure version";
46 description = "Open, easy, fast, reliable and battery-efficient solution for real-time communications";
47 homepage = "https://github.com/dunglas/mercure";
48 changelog = "https://github.com/dunglas/mercure/releases/tag/v${version}";
49 license = licenses.agpl3Only;
50 maintainers = with maintainers; [ gaelreyrol ];
51 platforms = platforms.unix;
52 mainProgram = "mercure";