nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitLab,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "fcast-client";
9 version = "0.1.0-unstable-2024-05-23";
10
11 src = fetchFromGitLab {
12 domain = "gitlab.futo.org";
13 owner = "videostreaming";
14 repo = "fcast";
15 rev = "cc07f95d2315406fcacf67cb3abb98efff5df5d9";
16 hash = "sha256-vsD4xgrC5KbnZT6hPX3fi3M/CH39LtoRfa6nYD0iFew=";
17 };
18
19 sourceRoot = "${src.name}/clients/terminal";
20
21 cargoHash = "sha256-yzsAe+fr1yX8RBJPtXSr/R7W0iJpeF3JW3E4ius+8nU=";
22
23 meta = {
24 description = "FCast Client Terminal, a terminal open-source media streaming client";
25 homepage = "https://fcast.org/";
26 license = lib.licenses.gpl3;
27 longDescription = ''
28 FCast is a protocol designed for wireless streaming of audio and video
29 content between devices. Unlike alternative protocols like Chromecast and
30 AirPlay, FCast is an open source protocol that allows for custom receiver
31 implementations, enabling third-party developers to create their own
32 receiver devices or integrate the FCast protocol into their own apps.
33 '';
34 mainProgram = "fcast";
35 maintainers = with lib.maintainers; [ drupol ];
36 platforms = lib.platforms.linux;
37 };
38}