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