2018-08-13 13:47:06 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "browser-cookie3";
|
2019-08-26 16:36:53 +01:00
|
|
|
version = "0.7.6";
|
2018-08-13 13:47:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-26 16:36:53 +01:00
|
|
|
sha256 = "1f24hsclg1wz2i8aiam91l06qqy0plxhwl615l4qkg35mbw4ry7h";
|
2018-08-13 13:47:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ keyring pbkdf2 pyaes ];
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|