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