Unverified Commit e6cd387e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.browser-cookie3: add pythonImportsCheck

parent ee165d92
Loading
Loading
Loading
Loading
+23 −4
Original line number Diff line number Diff line
{ lib, fetchPypi, buildPythonPackage, isPy3k, lz4, keyring, pbkdf2, pycryptodome, pyaes}:
{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, lz4
, keyring
, pbkdf2
, pycryptodome
, pyaes
}:

buildPythonPackage rec {
  pname = "browser-cookie3";
@@ -11,15 +20,25 @@ buildPythonPackage rec {

  disabled = !isPy3k;

  propagatedBuildInputs = [ lz4 keyring pbkdf2 pyaes pycryptodome ];
  propagatedBuildInputs = [
    lz4
    keyring
    pbkdf2
    pyaes
    pycryptodome
  ];

  # No tests implemented
  doCheck = false;

  pythonImportsCheck = [
    "browser_cookie3"
  ];

  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;
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ borisbabic ];
  };
}