blob: a7270980699690e074aca0de5ef64079e4514680 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
pkgs,
sysLib,
...
}: let
unzip_mozlz4 = pkgs.stdenv.mkDerivation {
name = "unzip_mozlz4";
propagatedBuildInputs = [
(pkgs.python3.withPackages (pythonPackages:
with pythonPackages; [
lz4
]))
];
dontUnpack = true;
installPhase = "install -Dm755 ${./unzip_mozlz4.py} $out/bin/unzip_mozlz4";
};
extract_cookies = sysLib.writeShellScriptWithLibrary {
name = "extract_cookies";
src = ./extract_cookies.sh;
dependencies = with pkgs; [
bash
sqlite
mktemp
coreutils
];
};
in {
inherit unzip_mozlz4 extract_cookies;
}
|