Skip to content

surge-downloader: init at 0.12.1 - #488785

Open
ErmitaVulpe wants to merge 2 commits into
NixOS:masterfrom
ErmitaVulpe:init/surge-downloader
Open

surge-downloader: init at 0.12.1#488785
ErmitaVulpe wants to merge 2 commits into
NixOS:masterfrom
ErmitaVulpe:init/surge-downloader

Conversation

@ErmitaVulpe

@ErmitaVulpe ErmitaVulpe commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Added surge, a TUI download manager. Sadly the name surge was already taken so I added it as surge-downloader.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch 2 times, most recently from 2be4619 to 9e16528 Compare February 9, 2026 17:06
@acid-bong

acid-bong commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

and obv squash commits (last two only), new files are supposed to be added in one go

@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from f2093db to a74f56e Compare February 10, 2026 11:25
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` labels Feb 10, 2026
@ErmitaVulpe

Copy link
Copy Markdown
Contributor Author

Hey, Just checking in. I’ve addressed all the previous review comments and re-requested review. Would appreciate a look when you have time

@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from a74f56e to cad29b5 Compare February 24, 2026 11:11
@ErmitaVulpe ErmitaVulpe changed the title surge-downloader: init at 0.5.4 surge-downloader: init at 0.6.8 Feb 24, 2026
@ErmitaVulpe

Copy link
Copy Markdown
Contributor Author

Since it's been a while, I updated the package to 0.6.8 and added a passthru.updateScript

@ErmitaVulpe

Copy link
Copy Markdown
Contributor Author

@acid-bong

@ErmitaVulpe ErmitaVulpe mentioned this pull request Apr 5, 2026
13 tasks
@lukasgierth

Copy link
Copy Markdown

Any progress here?

@ErmitaVulpe

Copy link
Copy Markdown
Contributor Author

The package is done. All I can do is just update the version. Someone with merge permissions needs to press the button. For now you can just use an overlay with this package.nix. Just update its version if you'll do that.

@acid-bong
acid-bong removed their request for review July 22, 2026 05:32
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
Comment thread pkgs/by-name/su/surge-downloader/package.nix
Comment thread pkgs/by-name/su/surge-downloader/package.nix
Comment thread pkgs/by-name/su/surge-downloader/package.nix
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from cad29b5 to 77b56a6 Compare August 27, 2026 10:19
@ErmitaVulpe ErmitaVulpe changed the title surge-downloader: init at 0.6.8 surge-downloader: init at 0.12.1 Aug 27, 2026
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from 77b56a6 to fb57a6e Compare August 27, 2026 10:43
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from fb57a6e to 05021dd Compare August 27, 2026 11:24
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
Comment thread pkgs/by-name/su/surge-downloader/package.nix
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from 05021dd to b2f523d Compare August 27, 2026 12:27

@phanirithvij phanirithvij left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes, final review.

Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from b2f523d to 2dd4b24 Compare August 27, 2026 13:26
Comment thread pkgs/by-name/su/surge-downloader/package.nix Outdated
@ErmitaVulpe

Copy link
Copy Markdown
Contributor Author

Damn good catch. I didn't look into the resulting bin dir. It turns out that that go executable is related to the browser extension. I added subPackages = [ "." ]; to build just the cmd, and got rid of the writableTmpDirAsHomeHook since it was the extensions tests that required it. I assume this is also true for the local server?

@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from 2dd4b24 to 3b0270b Compare August 27, 2026 13:51
@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from 3b0270b to 3d0f968 Compare August 27, 2026 14:26
@phanirithvij

This comment was marked as resolved.

@phanirithvij

phanirithvij commented Aug 27, 2026

Copy link
Copy Markdown
Member

On darwin it is case insensitive, so I think we should skip the installPhase for darwin.

@ErmitaVulpe
ErmitaVulpe force-pushed the init/surge-downloader branch from 3d0f968 to 02353e1 Compare August 28, 2026 08:11
@ErmitaVulpe

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review-gha (85fc054)

Command: nixpkgs-review pr 488785
Commit: 02353e176cab9a64aa76d4192c83e77a7bed9e7a (subsequent changes)
Merge: 290092e9f821ae04c17f4b09a211fd3862192851

Logs: https://github.com/ErmitaVulpe/nixpkgs-review-gha/actions/runs/33156425949/attempts/4


x86_64-linux

✅ 1 package built:
  • surge-downloader

aarch64-linux

✅ 1 package built:
  • surge-downloader

aarch64-darwin (sandbox = true)

✅ 1 package built:
  • surge-downloader

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 28, 2026
Comment on lines +32 to +33
mv $out/bin/Surge $out/bin/surge.tmp
mv $out/bin/surge.tmp $out/bin/surge

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not this ?

Suggested change
mv $out/bin/Surge $out/bin/surge.tmp
mv $out/bin/surge.tmp $out/bin/surge
mv $out/bin/Surge $out/bin/surge

@phanirithvij phanirithvij Aug 29, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants