python3Packages.browser-cookie3: add pythonImportsCheck
This commit is contained in:
parent
ee165d9222
commit
e6cd387e05
1 changed files with 23 additions and 4 deletions
|
@ -1,4 +1,13 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, isPy3k, lz4, keyring, pbkdf2, pycryptodome, pyaes}:
|
{ lib
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, lz4
|
||||||
|
, keyring
|
||||||
|
, pbkdf2
|
||||||
|
, pycryptodome
|
||||||
|
, pyaes
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "browser-cookie3";
|
pname = "browser-cookie3";
|
||||||
|
@ -11,15 +20,25 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
propagatedBuildInputs = [ lz4 keyring pbkdf2 pyaes pycryptodome ];
|
propagatedBuildInputs = [
|
||||||
|
lz4
|
||||||
|
keyring
|
||||||
|
pbkdf2
|
||||||
|
pyaes
|
||||||
|
pycryptodome
|
||||||
|
];
|
||||||
|
|
||||||
# No tests implemented
|
# No tests implemented
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"browser_cookie3"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Loads cookies from your browser into a cookiejar object";
|
description = "Loads cookies from your browser into a cookiejar object";
|
||||||
maintainers = with maintainers; [ borisbabic ];
|
|
||||||
homepage = "https://github.com/borisbabic/browser_cookie3";
|
homepage = "https://github.com/borisbabic/browser_cookie3";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ borisbabic ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue