Skip to content

Commit

Permalink
_1fps: init at 0.1.10 (NixOS#333281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Sep 9, 2024
2 parents bcb04b0 + cce070e commit 59c3aa2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,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";
Expand Down
35 changes: 35 additions & 0 deletions pkgs/by-name/_1/_1fps/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit 59c3aa2

Please sign in to comment.