blob: 0bd3b0323607e5004015f700f2f89605e0a535e0 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
lz4,
keyring,
pbkdf2,
pycryptodomex,
pyaes,
}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.20.1";
pyproject = true;
src = fetchFromGitHub {
owner = "borisbabic";
repo = "browser_cookie3";
tag = version;
hash = "sha256-3EmFx+9LQFuS26mUPH/etc6hkUXqmNOOipbldhjorDE=";
};
build-system = [ setuptools ];
dependencies = [
lz4
keyring
pbkdf2
pyaes
pycryptodomex
];
# No tests implemented
doCheck = false;
pythonImportsCheck = [ "browser_cookie3" ];
meta = {
description = "Loads cookies from your browser into a cookiejar object";
homepage = "https://github.com/borisbabic/browser_cookie3";
changelog = "https://github.com/borisbabic/browser_cookie3/blob/master/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ borisbabic ];
};
}
|