1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "pybase64";
10 version = "1.2.3";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-dtB035p7mJs1iZJqsZRmd7uzmez+IwcUsTFX4mM2Ee0=";
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}