Merge pull request #212262 from Bauke/add-obs-livesplit-one
obs-studio-plugins.obs-livesplit-one: init at 0.2.0
This commit is contained in:
commit
d30f226f18
@ -1621,6 +1621,16 @@
|
||||
githubId = 45811;
|
||||
name = "Svein Ove Aas";
|
||||
};
|
||||
Bauke = {
|
||||
name = "Bauke";
|
||||
email = "me@bauke.xyz";
|
||||
matrix = "@baukexyz:matrix.org";
|
||||
github = "Bauke";
|
||||
githubId = 19501722;
|
||||
keys = [{
|
||||
fingerprint = "C593 27B5 9D0F 2622 23F6 1D03 C1C0 F299 52BC F558";
|
||||
}];
|
||||
};
|
||||
bb010g = {
|
||||
email = "me@bb010g.com";
|
||||
matrix = "@bb010g:matrix.org";
|
||||
|
@ -16,6 +16,8 @@
|
||||
|
||||
obs-hyperion = qt6Packages.callPackage ./obs-hyperion/default.nix { };
|
||||
|
||||
obs-livesplit-one = callPackage ./obs-livesplit-one { };
|
||||
|
||||
obs-move-transition = callPackage ./obs-move-transition.nix { };
|
||||
|
||||
obs-multi-rtmp = qt6Packages.callPackage ./obs-multi-rtmp { };
|
||||
|
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, cmake
|
||||
, fontconfig
|
||||
, obs-studio
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "obs-livesplit-one";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CryZe";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-C1u4z7iQUETM84kf6S6obw+C0ox8J9gMJoVP3/3ZoYw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mQ0TR4DL4bA5u4IL3RY9aLxU5G6qQ5W5xuNadiXGeB0=";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ fontconfig obs-studio ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/lib/obs-plugins/
|
||||
mv $out/lib/libobs_livesplit_one.so $out/lib/obs-plugins/obs-livesplit-one.so
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "OBS Studio plugin for adding LiveSplit One as a source";
|
||||
homepage = "https://github.com/CryZe/obs-livesplit-one";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = [ maintainers.Bauke ];
|
||||
platforms = obs-studio.meta.platforms;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user