1 { fetchFromGitHub, lib, nodejs, stdenv, testers, yarn }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = "@yarnpkg/cli/${finalAttrs.version}";
11 hash = "sha256-75bERA1uZeywMjYznFDyk4+AtVDLo7eIajVtWdAD/RA=";
26 yarn workspace @yarnpkg/cli build:cli
32 install -Dm 755 ./packages/yarnpkg-cli/bundles/yarn.js "$out/bin/yarn"
36 passthru.updateScript = ./update.sh;
39 version = testers.testVersion {
40 package = finalAttrs.finalPackage;
45 homepage = "https://yarnpkg.com/";
46 description = "Fast, reliable, and secure dependency management.";
47 license = licenses.bsd2;
48 maintainers = with maintainers; [ ryota-ka thehedgeh0g DimitarNestorov ];
49 platforms = platforms.unix;