Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 lz4, 7 keyring, 8 pbkdf2, 9 pycryptodomex, 10 pyaes, 11}: 12 13buildPythonPackage rec { 14 pname = "browser-cookie3"; 15 version = "0.19.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-MDGtFLlrR+8eTIVF8vRj4QrYRO+DTc0Ova42HjHGEZo="; 23 }; 24 25 propagatedBuildInputs = [ 26 lz4 27 keyring 28 pbkdf2 29 pyaes 30 pycryptodomex 31 ]; 32 33 # No tests implemented 34 doCheck = false; 35 36 pythonImportsCheck = [ "browser_cookie3" ]; 37 38 meta = with lib; { 39 description = "Loads cookies from your browser into a cookiejar object"; 40 homepage = "https://github.com/borisbabic/browser_cookie3"; 41 changelog = "https://github.com/borisbabic/browser_cookie3/blob/master/CHANGELOG.md"; 42 license = licenses.gpl3Only; 43 maintainers = with maintainers; [ borisbabic ]; 44 }; 45}