Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos-infra jitsi prep #297809

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions pkgs/by-name/ji/jitsi-prosody-plugins/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, fetchFromGitHub
, stdenvNoCC
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "jitsi-prosody-plugins";
version = "20240318";

src = fetchFromGitHub {
owner = "jitsi-contrib";
repo = "prosody-plugins";
rev = "v${finalAttrs.version}";
hash = "sha256-ZApx7Z08dr1EFL5eelFG3IrfrAOpg5JqUX6hbodGwuo=";
};

installPhase = ''
runHook preInstall

mkdir -p $out
rm LICENSE README.md */README*.md
rm -r images */docs
cp -r * $out/

runHook postInstall
'';

# nothing todo here
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: to do

(And it would be more useful to document why - which is because it's all just Lua scripts.)

dontBuild = true;
dontConfigure = true;
dontFixup = true;

meta = with lib; {
description = "Prosody plugins for Jitsi";
homepage = "https://github.com/jitsi-contrib/prosody-plugins";
license = lib.licenses.apsl20;
maintainers = with lib.maintainers; [ janik ];
};
})