swagger-typescript-api: 13.6.5 -> 13.7.2 (#514358)

This commit is contained in:
Damien Cassou
2026-05-02 16:02:36 +00:00
committed by GitHub
@@ -9,10 +9,10 @@
}:
let
pname = "swagger-typescript-api";
version = "13.6.5";
version = "13.7.2";
node-modules-hash = {
"x86_64-linux" = "sha256-N19ocmrqQ8SpDNhmpCNC1wdWGrkBXCdio+ZfEXceaUA=";
"x86_64-linux" = "sha256-1Wy9RWNvMmxSY72Qcam/jCVwurGk4ms9PTR5tt6t03I=";
};
in
stdenv.mkDerivation (finalAttrs: {
@@ -22,19 +22,27 @@ stdenv.mkDerivation (finalAttrs: {
owner = "acacode";
repo = "swagger-typescript-api";
rev = "v${version}";
hash = "sha256-DAgE88JBJLNkg9WOO2qVI2dpdfNFvvBIcy++S/PX2NY=";
hash = "sha256-2sAE3wD/vUjaxvlhfrBRSErB3PsjQfi4UAcc4tU0le4=";
};
node_modules = stdenv.mkDerivation {
inherit (finalAttrs) src version;
pname = "${pname}-node_modules";
impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [
"GIT_PROXY_COMMAND"
"SOCKS_SERVER"
];
nativeBuildInputs = [
bun
writableTmpDirAsHomeHook
];
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;
buildPhase = ''
runHook preBuild