From b4aa3fab876491888ea335dc9c342d6cfbd0b995 Mon Sep 17 00:00:00 2001 From: Dimitar Nestorov <8790386+dimitarnestorov@users.noreply.github.com> Date: Tue, 13 Feb 2024 07:26:30 +0200 Subject: [PATCH 1/4] maintainers: add DimitarNestorov --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3ed0af81fc6d..5bf7b2af21fb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4800,6 +4800,11 @@ githubId = 32810399; name = "Diffumist"; }; + DimitarNestorov = { + name = "Dimitar Nestorov"; + github = "DimitarNestorov"; + githubId = 8790386; + }; diogotcorreia = { name = "Diogo Correia"; email = "me@diogotc.com"; From 46bdb36ebba2a5d224c22c4e786df3f3fc25946d Mon Sep 17 00:00:00 2001 From: Dimitar Nestorov <8790386+dimitarnestorov@users.noreply.github.com> Date: Tue, 13 Feb 2024 07:26:30 +0200 Subject: [PATCH 2/4] yarn-berry: add DimitarNestorov to maintainers --- pkgs/development/tools/yarn-berry/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/yarn-berry/default.nix b/pkgs/development/tools/yarn-berry/default.nix index d52d6d27e880..642fd8fb8230 100644 --- a/pkgs/development/tools/yarn-berry/default.nix +++ b/pkgs/development/tools/yarn-berry/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { homepage = "https://yarnpkg.com/"; description = "Fast, reliable, and secure dependency management."; license = licenses.bsd2; - maintainers = with maintainers; [ ryota-ka thehedgeh0g ]; + maintainers = with maintainers; [ ryota-ka thehedgeh0g DimitarNestorov ]; platforms = platforms.unix; mainProgram = "yarn"; }; From 3492680c7307336670aa778f4ff796459d4f24a6 Mon Sep 17 00:00:00 2001 From: Dimitar Nestorov <8790386+dimitarnestorov@users.noreply.github.com> Date: Tue, 13 Feb 2024 07:26:30 +0200 Subject: [PATCH 3/4] yarn-berry: add update script --- pkgs/development/tools/yarn-berry/default.nix | 2 ++ pkgs/development/tools/yarn-berry/update.sh | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 pkgs/development/tools/yarn-berry/update.sh diff --git a/pkgs/development/tools/yarn-berry/default.nix b/pkgs/development/tools/yarn-berry/default.nix index 642fd8fb8230..799b693642e5 100644 --- a/pkgs/development/tools/yarn-berry/default.nix +++ b/pkgs/development/tools/yarn-berry/default.nix @@ -33,6 +33,8 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = ./update.sh; + meta = with lib; { homepage = "https://yarnpkg.com/"; description = "Fast, reliable, and secure dependency management."; diff --git a/pkgs/development/tools/yarn-berry/update.sh b/pkgs/development/tools/yarn-berry/update.sh new file mode 100755 index 000000000000..5ce8bc02c957 --- /dev/null +++ b/pkgs/development/tools/yarn-berry/update.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p common-updater-scripts curl jq + +set -eou pipefail + +payload=$(jq -cn --rawfile query /dev/stdin '{"query": $query}' < Date: Tue, 13 Feb 2024 07:26:31 +0200 Subject: [PATCH 4/4] yarn-berry: 4.0.1 -> 4.1.0 --- pkgs/development/tools/yarn-berry/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/yarn-berry/default.nix b/pkgs/development/tools/yarn-berry/default.nix index 799b693642e5..1ae3e1ef6071 100644 --- a/pkgs/development/tools/yarn-berry/default.nix +++ b/pkgs/development/tools/yarn-berry/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { name = "yarn-berry"; - version = "4.0.1"; + version = "4.1.0"; src = fetchFromGitHub { owner = "yarnpkg"; repo = "berry"; rev = "@yarnpkg/cli/${version}"; - hash = "sha256-9QNeXamNqRx+Bfg8nAhnImPuNFyqrHIs1eF9prSwIR4="; + hash = "sha256-SjWjvnq9sHdUhnZfzVC5BTQwksKcLqz8W+TTNXrIVjE="; }; buildInputs = [