Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 24 lines 653 B view raw
1{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}: 2buildPythonPackage rec { 3 pname = "browser-cookie3"; 4 version = "0.11.1"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "5d1f825fc9cc6f98fe0ee3f97cdb4947c22d59ac8a11643da5837ebd8c873f05"; 9 }; 10 11 disabled = !isPy3k; 12 13 propagatedBuildInputs = [ keyring pbkdf2 pyaes ]; 14 15 # No tests implemented 16 doCheck = false; 17 18 meta = with lib; { 19 description = "Loads cookies from your browser into a cookiejar object"; 20 maintainers = with maintainers; [ borisbabic ]; 21 homepage = "https://github.com/borisbabic/browser_cookie3"; 22 license = licenses.gpl3; 23 }; 24}