igir: 2.11.0 -> 4.1.1

This commit is contained in:
Matt Moriarity
2025-07-24 15:52:01 -06:00
parent f5aec270fb
commit d8fd3576e9
+19 -4
View File
@@ -7,20 +7,27 @@
# at lib/node_modules/igir/node_modules/7zip-bin/linux/x64/7za
autoPatchelfHook,
stdenv,
libusb1,
libuv,
libz,
lz4,
sdl2-compat,
systemd,
}:
buildNpmPackage rec {
pname = "igir";
version = "2.11.0";
version = "4.1.1";
src = fetchFromGitHub {
owner = "emmercm";
repo = "igir";
rev = "v${version}";
hash = "sha256-NG0ZP8LOm7fZVecErTuLOfbp1yvXwHnwPkWTBzUJXWE=";
hash = "sha256-f/3XIBFMxSPwJpfZTBhuznU/psChfnQEwZASOoH4Ij0=";
};
npmDepsHash = "sha256-ADIEzr6PkGaJz27GKSVyTsrbz5zbud7BUb+OXPtP1Vo=";
npmDepsHash = "sha256-qPyS2F5jt1C5SZxvRuyPX4+TkYZKTffcekanWtH82EY=";
# I have no clue why I have to do this
postPatch = ''
@@ -29,7 +36,15 @@ buildNpmPackage rec {
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
buildInputs = [
(lib.getLib stdenv.cc.cc)
libusb1
libuv
libz
lz4
sdl2-compat
systemd
];
# from lib/node_modules/igir/node_modules/@node-rs/crc32-linux-x64-musl/crc32.linux-x64-musl.node
# Irrelevant to our use