Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions pkgs/by-name/go/gologin/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
appimageTools,
lib,
fetchzip,
}:
let
pname = "gologin";
version = "4.0.2";

srcTar = fetchzip {
url = "https://dl.gologin.com/gologin.tar";
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is going to work as the download link isn't version fixed. The hash would break when they update it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

INDEED this is a issue here, they also dont provide any way to download older versions...
I dont see how to solve this, maybe its better to leave this outside nixpkgs

hash = "sha256-y6DpgW9+Zhoh3M3NB39xijEaqfZxUDQ8fWUmw61owDI=";
};
in
appimageTools.wrapType2 {
inherit pname version;

src = "${srcTar}/GoLogin-${version}";

meta = {
description = "Anti-detect browser for managing multiple accounts on a single device.";
homepage = "https://gologin.com/";
mainProgram = "gologin";
license = lib.licenses.unfree;
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
maintainers = with lib.maintainers; [ felipe-9 ];
platforms = lib.platforms.linux;
};
}
Loading