Skip to content

Commit

Permalink
openasar: add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
jopejoe1 committed Apr 29, 2024
1 parent 96b4a60 commit 64a2421
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/by-name/op/openasar/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, nodejs, bash, asar, unzip }:
{ lib, stdenv, fetchFromGitHub, unstableGitUpdater, nodejs, bash, asar, unzip }:

stdenv.mkDerivation rec {
pname = "openasar";
Expand Down Expand Up @@ -40,6 +40,11 @@ stdenv.mkDerivation rec {

doCheck = false;

passthru.updateScript = unstableGitUpdater {
# Only has a "nightly" tag (untaged version 0.2 is latest) see https://github.com/GooseMod/OpenAsar/commit/8f79dcef9b1f7732421235a392f06e5bd7382659
hardcodeZeroVersion = true;
};

meta = with lib; {
description = "Open-source alternative of Discord desktop's \"app.asar\".";
homepage = "https://openasar.dev";
Expand Down

0 comments on commit 64a2421

Please sign in to comment.