pkgs: Add vdo.ninja

This commit is contained in:
traxys 2025-08-28 18:55:29 +02:00
parent 0ec4db33ea
commit becc3b4b7a
2 changed files with 32 additions and 0 deletions

View file

@ -24,6 +24,7 @@
msbt = pkgs.python3.pkgs.callPackage ./msbt.nix { };
msbt-python = pkgs.python3.withPackages (_: [ msbt ]);
bars-to-bwav = pkgs.callPackage ./bars-to-bwav.nix { };
vdo-ninja = pkgs.callPackage ./vdo-ninja.nix { };
};
};
}

31
pkgs/vdo-ninja.nix Normal file
View file

@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "vdo-ninja";
version = "28.0";
src = fetchFromGitHub {
owner = "steveseguin";
repo = "vdo.ninja";
rev = "v${version}";
hash = "sha256-XkZ+ImjeLk+1Byl+ZFZ1l1Zy8vonfKK1GWhq8q7eDDo=";
};
installPhase = ''
mkdir -p $out/share/www
mv * $out/share/www
'';
meta = {
description = "VDO.Ninja is a powerful tool that lets you bring remote video feeds into OBS or other studio software via WebRTC";
homepage = "https://github.com/steveseguin/vdo.ninja";
license = lib.licenses.agpl3Plus; # FIXME: nix-init did not find a license
maintainers = with lib.maintainers; [ traxys ];
mainProgram = "vdo-ninja";
platforms = lib.platforms.all;
};
}