mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
equicord: switch to new tag format
This commit is contained in:
parent
181423e7a8
commit
20d875ff1d
1 changed files with 14 additions and 5 deletions
|
@ -10,18 +10,22 @@
|
|||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "equicord";
|
||||
version = "1.11.4";
|
||||
# Upstream discourages inferring the package version from the package.json found in
|
||||
# the Equicord repository. Dates as tags (and automatic releases) were the compromise
|
||||
# we came to with upstream. Please do not change the version schema (e.g., to semver)
|
||||
# unless upstream changes the tag schema from dates.
|
||||
version = "2025-04-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Equicord";
|
||||
repo = "Equicord";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BjAp+bubpG9tTo8y5LWcTCnpLbiyuY1Q6ZnprgeKoZg=";
|
||||
tag = "${finalAttrs.version}";
|
||||
hash = "sha256-pAuNqPrQBeL2qPIoIvyBl1PrUBz81TrBd5RT15Iuuus=";
|
||||
};
|
||||
|
||||
pnpmDeps = pnpm_9.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-4uCo/pQ4f8k/7DNpCPDAeqfroZ9icFiTwapwS10uWkE=";
|
||||
hash = "sha256-fjfzBy1Z7AUKA53yjjCQ6yasHc5QMaOBtXtXA5fNK5s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -52,7 +56,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^\d{4}-\d{2}-\d{2}$"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "The other cutest Discord client mod";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue