2020-11-19 00:13:47 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k, lz4, keyring, pbkdf2, pycryptodome, pyaes}:
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "browser-cookie3";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "0.11.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "3d140c6b651dbd8b8555aca6472557fcfda4dd93afc26ea3a200be922a843e2c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2020-11-19 00:13:47 +00:00
|
|
|
propagatedBuildInputs = [ lz4 keyring pbkdf2 pyaes pycryptodome ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Loads cookies from your browser into a cookiejar object";
|
|
|
|
maintainers = with maintainers; [ borisbabic ];
|
|
|
|
homepage = "https://github.com/borisbabic/browser_cookie3";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|