-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
gpu-screen-recorder{,-gtk}: add passthru.updateScript, update #367552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e39a299
2f3a205
ee02281
9bfb3e7
6fe3a61
f18cf01
110d7b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| { | ||||||
| stdenv, | ||||||
| lib, | ||||||
| fetchurl, | ||||||
| fetchgit, | ||||||
| pkg-config, | ||||||
| addDriverRunpath, | ||||||
| desktop-file-utils, | ||||||
|
|
@@ -19,19 +19,19 @@ | |||||
| wayland, | ||||||
| wrapGAppsHook3, | ||||||
| wrapperDir ? "/run/wrappers/bin", | ||||||
| gitUpdater, | ||||||
| }: | ||||||
|
|
||||||
| stdenv.mkDerivation (finalAttrs: { | ||||||
| stdenv.mkDerivation rec { | ||||||
| pname = "gpu-screen-recorder-gtk"; | ||||||
| version = "5.1.6"; | ||||||
| version = "5.7.0"; | ||||||
|
|
||||||
| src = fetchurl { | ||||||
| url = "https://dec05eba.com/snapshot/gpu-screen-recorder-gtk.git.${finalAttrs.version}.tar.gz"; | ||||||
| hash = "sha256-op5cDILQglVAW/oajc0rdrMC02JZZ8bdER1B1qWPkSk="; | ||||||
| src = fetchgit { | ||||||
| url = "https://repo.dec05eba.com/${pname}"; | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
| tag = version; | ||||||
| hash = "sha256-/s8FCV3hE7Gq1Ad6EhRNTZJwyskV+uRYvjJ43298AOw="; | ||||||
| }; | ||||||
|
|
||||||
| sourceRoot = "."; | ||||||
|
|
||||||
| nativeBuildInputs = [ | ||||||
| desktop-file-utils | ||||||
| pkg-config | ||||||
|
|
@@ -68,13 +68,18 @@ stdenv.mkDerivation (finalAttrs: { | |||||
| }) | ||||||
| ''; | ||||||
|
|
||||||
| passthru.updateScript = gitUpdater { }; | ||||||
|
|
||||||
| meta = { | ||||||
| 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."; | ||||||
| homepage = "https://git.dec05eba.com/gpu-screen-recorder-gtk/about/"; | ||||||
| license = lib.licenses.gpl3Only; | ||||||
| mainProgram = "gpu-screen-recorder-gtk"; | ||||||
| maintainers = with lib.maintainers; [ babbaj ]; | ||||||
| maintainers = with lib.maintainers; [ | ||||||
| babbaj | ||||||
| js6pak | ||||||
| ]; | ||||||
| platforms = [ "x86_64-linux" ]; | ||||||
| }; | ||||||
| }) | ||||||
| } | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://discourse.nixos.org/t/avoid-rec-expresions-in-nixpkgs/8293
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
finalAttrsinstead ofrecforversionhere would lead to #310373. I don't think there is a consensus on the best solution, butrecworks fine here.