depot/third_party/nixpkgs/pkgs/development/python-modules/browser-cookie3/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

24 lines
653 B
Nix

{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "5d1f825fc9cc6f98fe0ee3f97cdb4947c22d59ac8a11643da5837ebd8c873f05";
};
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;
};
}