stuff
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
intiface-central
|
||||
osu-lazer
|
||||
mumble
|
||||
scoop
|
||||
'';
|
||||
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
39
packages/scoop/package.nix
Normal file
39
packages/scoop/package.nix
Normal 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";
|
||||
};
|
||||
})
|
Reference in New Issue
Block a user