depot/pkgs/by-name/_1/_1fps/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

37 lines
753 B
Nix

{
lib,
fetchFromGitHub,
buildGoModule,
xorg,
stdenv,
apple-sdk_14,
}:
buildGoModule rec {
pname = "1fps";
version = "0.1.10";
src = fetchFromGitHub {
owner = "1fpsvideo";
repo = "1fps";
rev = "v${version}";
hash = "sha256-3uPGFxEWmKQxQWPmotZI29GykUGQDjtDjFPps4QMs0M=";
};
proxyVendor = true;
vendorHash = "sha256-J3RGQhjpGURmXOwq19BbbNg5ERrUXHnSG5Id6gX7Nug=";
buildInputs = [
xorg.libX11
xorg.libXtst
xorg.libXi
] ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_14;
meta = {
description = "Encrypted Screen Sharing";
homepage = "https://1fps.video";
license = lib.licenses.fsl11Asl20;
maintainers = with lib.maintainers; [ renesat ];
mainProgram = "1fps";
};
}