blob: 1127662b02765ed9bb278b0cea4c26155d0e3f8d (
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.writeShellScript {
name = "extract_cookies";
src = ./extract_cookies.sh;
dependencies = with pkgs; [
bash
sqlite
mktemp
coreutils
];
};
in {
inherit unzip_mozlz4 extract_cookies;
}
|