Merge pull request #276680 from r-ryantm/auto-update/balena-cli

balena-cli: 17.0.0 -> 17.4.9
This commit is contained in:
Doron Behar
2023-12-25 12:25:12 +00:00
committed by GitHub
+10 -4
View File
@@ -1,6 +1,7 @@
{ lib
, stdenv
, buildNpmPackage
, overrideSDK
, fetchFromGitHub
, testers
, balena-cli
@@ -10,18 +11,23 @@
, darwin
}:
buildNpmPackage rec {
let
# Fix for: https://github.com/NixOS/nixpkgs/issues/272156
buildNpmPackage' = buildNpmPackage.override {
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
};
in buildNpmPackage' rec {
pname = "balena-cli";
version = "17.0.0";
version = "17.4.9";
src = fetchFromGitHub {
owner = "balena-io";
repo = "balena-cli";
rev = "v${version}";
hash = "sha256-sNpxjSumiP+4fX6b3j+HEl/lr4pvudrhfTzr2TYastE=";
hash = "sha256-0TWG90OB7tovfj4PB0qAiwdOtMss5ZqjSycAb4Vz5+A=";
};
npmDepsHash = "sha256-q2Yc6e5dEiP2Q4tFIeqj4mswM1/pX1pdGeoagyiupvs=";
npmDepsHash = "sha256-LSw/cNJ6kWYh477NAqLOx5bVZ6/qPoUM0V1Cksn7iDI=";
postPatch = ''
ln -s npm-shrinkwrap.json package-lock.json