mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +03:00
gpu-screen-recorder{,-gtk}: add passthru.updateScript
This commit is contained in:
parent
e39a299931
commit
2f3a205f64
2 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
wayland,
|
wayland,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
wrapperDir ? "/run/wrappers/bin",
|
wrapperDir ? "/run/wrappers/bin",
|
||||||
|
gitUpdater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -68,6 +69,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
})
|
})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { url = "https://repo.dec05eba.com/gpu-screen-recorder-gtk"; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
changelog = "https://git.dec05eba.com/gpu-screen-recorder-gtk/tree/com.dec05eba.gpu_screen_recorder.appdata.xml#n82";
|
changelog = "https://git.dec05eba.com/gpu-screen-recorder-gtk/tree/com.dec05eba.gpu_screen_recorder.appdata.xml#n82";
|
||||||
description = "GTK frontend for gpu-screen-recorder.";
|
description = "GTK frontend for gpu-screen-recorder.";
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
libXrandr,
|
libXrandr,
|
||||||
libXfixes,
|
libXfixes,
|
||||||
wrapperDir ? "/run/wrappers/bin",
|
wrapperDir ? "/run/wrappers/bin",
|
||||||
|
gitUpdater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -82,6 +83,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
--suffix PATH : "$out/bin"
|
--suffix PATH : "$out/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { url = "https://repo.dec05eba.com/gpu-screen-recorder"; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Screen recorder that has minimal impact on system performance by recording a window using the GPU only";
|
description = "Screen recorder that has minimal impact on system performance by recording a window using the GPU only";
|
||||||
homepage = "https://git.dec05eba.com/gpu-screen-recorder/about/";
|
homepage = "https://git.dec05eba.com/gpu-screen-recorder/about/";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue