Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 24 lines 638 B view raw
1{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}: 2buildPythonPackage rec { 3 pname = "browser-cookie3"; 4 version = "0.7.6"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "1f24hsclg1wz2i8aiam91l06qqy0plxhwl615l4qkg35mbw4ry7h"; 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}