Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all-contributors-cli: init at 6.26.1 #341464

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12596,6 +12596,15 @@
githubId = 24735185;
name = "Mahmoud Ayman";
};
mahtaran = {
email = "[email protected]";
github = "mahtaran";
githubId = 22727323;
name = "Luka Leer";
keys = [{
fingerprint = "C7FF B72E 0527 423A D470 E132 AA82 C4EB CB16 82E0";
}];
};
majesticmullet = {
email = "[email protected]";
github = "MajesticMullet";
Expand Down
44 changes: 44 additions & 0 deletions pkgs/by-name/al/all-contributors-cli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{ lib, stdenv, fetchFromGitHub, fetchYarnDeps, yarnConfigHook, yarnBuildHook, yarnInstallHook, nodejs, testers }:

stdenv.mkDerivation (finalAttrs: {
pname = "all-contributors-cli";
version = "6.26.1";

src = fetchFromGitHub {
owner = "all-contributors";
repo = "cli";
rev = "v${finalAttrs.version}";
hash = "sha256-uffesAxJjjFP7VrsKJtXUVnWiRNAUY9Jolm8kKmICuA=";
};

postPatch = ''
cp ${./yarn.lock} yarn.lock
chmod +w yarn.lock
'';

offlineCache = fetchYarnDeps {
yarnLock = "${./yarn.lock}";
hash = "sha256-k/86x9xZWkFjwwD+flKiHqa26nLBZAfUibUOyPZ0ajs=";
};

nativeBuildInputs = [
yarnConfigHook
yarnBuildHook
yarnInstallHook
nodejs
];

passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "all-contributors --version";
};

meta = {
changelog = "https://github.com/all-contributors/cli/releases/tag/v${finalAttrs.version}";
description = "Tool to help automate adding contributor acknowledgements according to the all-contributors specification ✨";
homepage = "https://github.com/all-contributors/cli";
license = lib.licenses.mit;
mainProgram = "all-contributors";
maintainers = [ lib.maintainers.mahtaran ];
};
})
Loading
Loading