depot/third_party/nixpkgs/pkgs/development/python-modules/browser-cookie3/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

47 lines
842 B
Nix

{ stdenv
, lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, lz4
, keyring
, pbkdf2
, pycryptodome
, pyaes
}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.16.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-IB0Ms+mCHh7lfG3XYfvE2h/2lec5Tq9AAjqANz7x0hE=";
};
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 ];
};
}