Skip to content

Commit

Permalink
gancio: add generic updateScript and update to 1.21.0 (#360430)
Browse files Browse the repository at this point in the history
* gancio: add generic updateScript

* gancio: 1.19.4 -> 1.21.0

* gancioPlugins.telegram-bridge: 1.0.4 -> 1.0.5
  • Loading branch information
jbgi authored Dec 7, 2024
1 parent 1460b3e commit 4fbf61a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pkgs/by-name/ga/gancio/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@
sqlite,

nixosTests,
nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "gancio";
version = "1.19.4";
version = "1.21.0";

src = fetchFromGitLab {
domain = "framagit.org";
owner = "les";
repo = "gancio";
rev = "v${finalAttrs.version}";
hash = "sha256-x8s7eBVmHCY3kAjHjACotCncvZq6OBiLPJGF6hvfawE=";
hash = "sha256-hpOTiGU2DGOeKqggYQhdBZgFBp6S0CAQ2stpr9zzItg=";
};

offlineCache = fetchYarnDeps {
Expand Down Expand Up @@ -69,6 +70,7 @@ stdenv.mkDerivation (finalAttrs: {
tests = {
inherit (nixosTests) gancio;
};
updateScript = nix-update-script { };
};

meta = {
Expand Down
6 changes: 4 additions & 2 deletions pkgs/by-name/ga/gancio/plugin-telegram-bridge/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@
yarnConfigHook,
yarnInstallHook,
nodejs,
nix-update-script,
}:

stdenv.mkDerivation rec {
pname = "gancio-plugin-telegram-bridge";
version = "1.0.4";
version = "1.0.5";

src = fetchFromGitLab {
domain = "framagit.org";
owner = "bcn.convocala";
repo = "gancio-plugin-telegram-bridge";
rev = "v${version}";
hash = "sha256-Da8PxCX1Z1dKJu9AiwdRDfb1r1P2KiZe8BClYB9Rz48=";
hash = "sha256-URiyV7bl8t25NlVJM/gEqPB67TZ4vQdfu4mvHITteSQ=";
};

# upstream doesn't provide a yarn.lock file
Expand All @@ -43,6 +44,7 @@ stdenv.mkDerivation rec {

passthru = {
inherit nodejs;
updateScript = nix-update-script { };
};

meta = {
Expand Down

0 comments on commit 4fbf61a

Please sign in to comment.