32 lines
776 B
Nix
32 lines
776 B
Nix
|
{ lib
|
||
|
, buildNpmPackage
|
||
|
, fetchFromGitHub
|
||
|
}:
|
||
|
|
||
|
buildNpmPackage rec {
|
||
|
pname = "igir";
|
||
|
version = "2.2.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "emmercm";
|
||
|
repo = "igir";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-RHMsLiet3O/4aYLKWtxr1oJDU6sy5kHxr422AUqLzMA=";
|
||
|
};
|
||
|
|
||
|
npmDepsHash = "sha256-MvXhSSqHHI3Ofgx+EnKwR5LuHl33h6sjTZ+ErBfjb6s=";
|
||
|
|
||
|
# I have no clue why I have to do this
|
||
|
postPatch = ''
|
||
|
patchShebangs scripts/update-readme-help.sh
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS";
|
||
|
homepage = "https://igir.io";
|
||
|
license = licenses.gpl3Plus;
|
||
|
maintainers = with maintainers; [ TheBrainScrambler ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|