Skip to content

Commit 2ba5678

Browse files
author
emaryn
committed
obs-studio-plugins.obs-replay-source: refactor
1 parent f2acf15 commit 2ba5678

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pkgs/applications/video/obs-studio/plugins/obs-replay-source.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,27 @@ stdenv.mkDerivation (finalAttrs: {
2020
};
2121

2222
nativeBuildInputs = [ cmake ];
23+
2324
buildInputs = [
2425
libcaption
2526
obs-studio
2627
qtbase
2728
];
2829

2930
postInstall = ''
30-
mkdir -p "$out/lib" "$out/share"
31-
mv "$out/obs-plugins/64bit" "$out/lib/obs-plugins"
32-
rm -rf "$out/obs-plugins"
33-
mv "$out/data" "$out/share/obs"
31+
mkdir -p $out/lib $out/share
32+
mv $out/obs-plugins/64bit $out/lib/obs-plugins
33+
rm -rf $out/obs-plugins
34+
mv $out/data $out/share/obs
3435
'';
3536

3637
dontWrapQtApps = true;
3738

38-
meta = with lib; {
39+
meta = {
3940
description = "Replay source for OBS studio";
4041
homepage = "https://github.com/exeldro/obs-replay-source";
41-
license = licenses.gpl2Only;
42-
platforms = platforms.linux;
43-
maintainers = with maintainers; [ pschmitt ];
42+
license = lib.licenses.gpl2Only;
43+
platforms = lib.platforms.linux;
44+
maintainers = with lib.maintainers; [ pschmitt ];
4445
};
4546
})

0 commit comments

Comments
 (0)