ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
47 lines
842 B
Nix
47 lines
842 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, lz4
|
|
, keyring
|
|
, pbkdf2
|
|
, pycryptodome
|
|
, pyaes
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "browser-cookie3";
|
|
version = "0.16.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Gamys354RIvUQOelN8YDY6GfpJanC7CjWXC1plmh/jU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lz4
|
|
keyring
|
|
pbkdf2
|
|
pyaes
|
|
pycryptodome
|
|
];
|
|
|
|
# No tests implemented
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"browser_cookie3"
|
|
];
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.isDarwin;
|
|
description = "Loads cookies from your browser into a cookiejar object";
|
|
homepage = "https://github.com/borisbabic/browser_cookie3";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ borisbabic ];
|
|
};
|
|
}
|