depot/third_party/nixpkgs/pkgs/development/python-modules/browser-cookie3/default.nix
Default email 6ae7ad3cc5 Project import generated by Copybara.
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
2020-11-19 01:13:47 +01:00

25 lines
690 B
Nix

{ lib, fetchPypi, buildPythonPackage, isPy3k, lz4, keyring, pbkdf2, pycryptodome, pyaes}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.11.4";
src = fetchPypi {
inherit pname version;
sha256 = "3d140c6b651dbd8b8555aca6472557fcfda4dd93afc26ea3a200be922a843e2c";
};
disabled = !isPy3k;
propagatedBuildInputs = [ lz4 keyring pbkdf2 pyaes pycryptodome ];
# 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;
};
}