11 src = fetchFromGitHub {
15 hash = "sha256-12FP8VRDo1PQ+tiN4zhzkcfAx9zFs/0MU03t/vFo074=";
18 packageJSON = ./package.json;
20 offlineCache = fetchYarnDeps {
21 yarnLock = "${src}/yarn.lock";
22 hash = "sha256-/fV3hd98pl46+fgmiMH9sDQrrZgdLY1oF9c3TaIxRSg=";
30 mkdir -p "$out/lib/node_modules"
31 mv deps/@electron "$out/lib/node_modules"
32 rm "$out/lib/node_modules/@electron/asar/node_modules"
33 mv node_modules "$out/lib/node_modules/@electron/asar"
36 ln -s "$out/lib/node_modules/@electron/asar/bin/asar.js" "$out/bin/asar"
42 description = "Simple extensive tar-like archive format with indexing";
43 homepage = "https://github.com/electron/asar";
44 license = lib.licenses.mit;
46 maintainers = with lib.maintainers; [ xvapx ];