diff --git a/lib/licenses.nix b/lib/licenses.nix index 67744b499d8a3..302a42e965215 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -547,6 +547,13 @@ lib.mapAttrs mkLicense ({ redistributable = true; }; + fsl11Asl20 = { + fullName = "Functional Source License, Version 1.1, Apache 2.0 Future License"; + url = "https://fsl.software/FSL-1.1-Apache-2.0.template.md"; + free = false; + redistributable = true; + }; + ftl = { spdxId = "FTL"; fullName = "Freetype Project License"; diff --git a/pkgs/by-name/_1/_1fps/package.nix b/pkgs/by-name/_1/_1fps/package.nix new file mode 100644 index 0000000000000..a8ec077491ceb --- /dev/null +++ b/pkgs/by-name/_1/_1fps/package.nix @@ -0,0 +1,35 @@ +{ + lib, + fetchFromGitHub, + buildGoModule, + xorg, +}: +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 + ]; + + meta = { + description = "Encrypted Screen Sharing"; + homepage = "https://1fps.video"; + license = lib.licenses.fsl11Asl20; + maintainers = with lib.maintainers; [ renesat ]; + mainProgram = "1fps"; + }; +}