1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "pybase64";
10 version = "1.3.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-I0CC/dcDnLdQxkTi03/Ck+c0XqOl8nmrrC9PyWLZuZY=";
18 };
19
20 nativeCheckInputs = [
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [
25 "pybase64"
26 ];
27
28 meta = with lib; {
29 description = "Fast Base64 encoding/decoding";
30 homepage = "https://github.com/mayeut/pybase64";
31 changelog = "https://github.com/mayeut/pybase64/releases/tag/v${version}";
32 license = licenses.bsd2;
33 maintainers = with maintainers; [ ];
34 };
35}