1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pybase64"; 10 version = "1.2.0"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "9e310fcf5cfa2cbf7d1d7eb503b6066bec785216bcd1d8c0a736f59d5ec21b0b"; 17 }; 18 19 checkInputs = [ pytestCheckHook ]; 20 21 pythonImportsCheck = [ "pybase64" ]; 22 23 meta = with lib; { 24 description = "Fast Base64 encoding/decoding"; 25 homepage = "https://github.com/mayeut/pybase64"; 26 license = licenses.bsd2; 27 maintainers = with maintainers; [ ]; 28 }; 29}