dotfiles/home-manager/pkgs/spx-gc.nix

35 lines
799 B
Nix
Raw Permalink Normal View History

2024-05-28 14:38:22 +02:00
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
2023-07-21 22:50:24 +02:00
buildNpmPackage rec {
pname = "spx-gc";
version = "1.1.2";
src = fetchFromGitHub {
owner = "TuomoKu";
repo = "SPX-GC";
rev = "v.${version}";
hash = "sha256-NVppqlQOpOmBtsoDVhaIiHzc360ek273rpr2i9p8WK8=";
};
dontNpmBuild = true;
npmDepsHash = "sha256-TGiurf/vwGV1KBxQXl0gVDNeZZWrW1Yku3fhTmh3nhk=";
postInstall = ''
mkdir -p $out/locales
cp -r $src/locales/* $out/locales
'';
meta = with lib; {
2024-05-28 14:38:22 +02:00
description = "SPX is a graphics control client for live video productions and live streams using CasparCG, OBS, vMix, or similar software";
2023-07-21 22:50:24 +02:00
homepage = "https://github.com/TuomoKu/SPX-GC#npminstall";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "spx";
};
}