igir: 2.11.0 -> 4.1.1 (#426964)

This commit is contained in:
Gaétan Lepage
2025-07-29 01:25:25 +02:00
committed by GitHub
+20 -5
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
@@ -41,7 +56,7 @@ buildNpmPackage rec {
homepage = "https://igir.io";
changelog = "https://github.com/emmercm/igir/releases/tag/${src.rev}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ mjm ];
platforms = platforms.linux;
};
}