This commit is contained in:
Shelvacu
2025-08-10 14:01:50 -07:00
committed by Shelvacu on fw
parent 07217fdf80
commit 055c006692
2 changed files with 40 additions and 0 deletions

View File

@@ -46,6 +46,7 @@
intiface-central
osu-lazer
mumble
scoop
'';
services.power-profiles-daemon.enable = true;

View File

@@ -0,0 +1,39 @@
{
lib,
python3,
fetchFromGitHub,
buildNpmPackage,
}:
buildNpmPackage (finalAttrs: {
pname = "scoop";
version = "0.6.59";
src = fetchFromGitHub {
owner = "harvard-lil";
repo = "scoop";
tag = finalAttrs.version;
hash = "sha256-KcoTl2ehla6ALLrpAyfOqDioP5s3CGVfVhsj3Fbq6/Y=";
};
npmDepsHash = "sha256-lx+MxV8JDArDMQ0OV4eDXOTzd7xRfvvpAGJp+jPQPgs=";
buildInputs = [
(python3.withPackages (ps: [ ps.playwright ]))
];
env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
dontNpmBuild = true;
meta = {
description = "high fidelity, browser-based, web archiving capture engine for witnessing the web";
license = lib.licenses.mit;
sourceProvenance = with lib.sourceTypes; [
fromSource
# dunno whats in those npm deps without digging
binaryByteCode
binaryNative
];
mainProgram = "scoop";
};
})