swagger-typescript-api: 13.9.1 -> 13.9.3
This commit is contained in:
@@ -9,10 +9,11 @@
|
||||
}:
|
||||
let
|
||||
pname = "swagger-typescript-api";
|
||||
version = "13.9.1";
|
||||
version = "13.9.3";
|
||||
|
||||
node-modules-hash = {
|
||||
"x86_64-linux" = "sha256-QxnqTaV5oN5WoYvLzTckWrYAZVAUxTSLYHVTmmqhmgM=";
|
||||
"x86_64-linux" = "sha256-0jTq1Ds8CNDGOaXZlBgtl5IspoLTGzfXwOhR9MwhoYQ=";
|
||||
"aarch64-linux" = "sha256-7hR5cS8fFN1Eb82eKF+B24FdznfQn5roRqGe9dHk5H4=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -22,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "acacode";
|
||||
repo = "swagger-typescript-api";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-PnQ2aTj8oVUqoqM9voupfBqPu7MZSVflUtuGrXznifo=";
|
||||
hash = "sha256-Xy67aqkZAB54dz9yabJHvOLilb2C/oe8ZCprnqfBBj4=";
|
||||
};
|
||||
|
||||
node_modules = stdenv.mkDerivation {
|
||||
@@ -40,15 +41,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
# Prevent patchShebangs from rewriting node_modules/.bin shebangs to store
|
||||
# paths, which would make this fixed-output derivation's output hash unstable.
|
||||
dontPatchShebangs = true;
|
||||
# Skip fixup, would embed store paths or modify binaries,
|
||||
# making this fixed-output derivation's output hash unstable.
|
||||
dontFixup = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
export BUN_INSTALL_CACHE_DIR=$(mktemp -d)
|
||||
bun install --no-progress --frozen-lockfile --no-cache
|
||||
bun install --no-progress --frozen-lockfile
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
@@ -64,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
outputHash =
|
||||
node-modules-hash.${stdenv.hostPlatform.system}
|
||||
or (throw "${finalAttrs.pname}: Platform ${stdenv.hostPlatform.system} is not packaged yet. Supported platforms: x86_64-linux.");
|
||||
or (throw "${finalAttrs.pname}: Platform ${stdenv.hostPlatform.system} is not packaged yet. Supported platforms: x86_64-linux, aarch64-linux.");
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user