nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5 libxtst,
6 libxi,
7 libx11,
8 stdenv,
9}:
10buildGoModule rec {
11 pname = "1fps";
12 version = "0.1.17";
13
14 src = fetchFromGitHub {
15 owner = "1fpsvideo";
16 repo = "1fps";
17 tag = "v${version}";
18 hash = "sha256-8dtcW/niwmhVXB2kZdR/RjNg2ArSClL1w4nGI5rP3+Y=";
19 };
20
21 proxyVendor = true;
22
23 vendorHash = "sha256-29x5Lh++NBAsg2O2Vr6pf9iRuVOvow2R5Iqz6twZGXA=";
24
25 buildInputs = [
26 libx11
27 libxtst
28 libxi
29 ];
30
31 meta = {
32 description = "Encrypted Screen Sharing";
33 homepage = "https://1fps.video";
34 license = lib.licenses.fsl11Asl20;
35 maintainers = with lib.maintainers; [ renesat ];
36 mainProgram = "1fps";
37 };
38}