1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8buildGoModule rec {
9 pname = "prism";
10 version = "0.1.1";
11
12 src = fetchFromGitHub {
13 owner = "muesli";
14 repo = "prism";
15 tag = "v${version}";
16 hash = "sha256-IRR7Gu+wGUUYyFfhc003QVlEaWCJPmi6XYVUN6Q6+GA=";
17 };
18
19 vendorHash = "sha256-uKtVifw4dxJdVvHxytL+9qjXHEdTyiz8U8n/95MObdY=";
20
21 passthru.updateScript = nix-update-script { };
22
23 meta = {
24 description = "RTMP stream recaster/splitter";
25 homepage = "https://github.com/muesli/prism";
26 changelog = "https://github.com/muesli/prism/releases/tag/v${version}";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ paperdigits ];
29 mainProgram = "prism";
30 };
31}