yarn: 1.22.15 -> 1.22.17 (#144974)
This commit is contained in:
parent
54ef803bf8
commit
024f518e65
1 changed files with 5 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
{ lib, stdenv, nodejs, fetchzip }:
|
||||
{ lib, stdenv, nodejs, fetchzip, testVersion, yarn }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yarn";
|
||||
version = "1.22.15";
|
||||
version = "1.22.17";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz";
|
||||
sha256 = "1xw9z55wvij6x0dns6z0xydywvlc80kgvsh3w4xxkq9cbiman1v6";
|
||||
sha256 = "1skzlyv2976bl1063f94422jbjy4ns1nxl622biizq31z4821yvj";
|
||||
};
|
||||
|
||||
buildInputs = [ nodejs ];
|
||||
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||
ln -s $out/libexec/yarn/bin/yarn.js $out/bin/yarnpkg
|
||||
'';
|
||||
|
||||
passthru.tests = testVersion { package = yarn; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://yarnpkg.com/";
|
||||
description = "Fast, reliable, and secure dependency management for javascript";
|
||||
|
|
Loading…
Reference in a new issue