1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 mock,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools,
9 unstableGitUpdater,
10}:
11
12buildPythonPackage rec {
13 pname = "base64io";
14 version = "1.0.3-unstable-2025-01-09";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchFromGitHub {
20 owner = "aws";
21 repo = "base64io-python";
22 rev = "1bd47f7f8cfeeff654ea0edda3fbb69f840ccd05";
23 hash = "sha256-1MUWjFFitJ3nqvVwAQYcAVVPhPs6NEgq7t/mI71u2Bk=";
24 };
25
26 build-system = [ setuptools ];
27
28 nativeCheckInputs = [
29 mock
30 pytestCheckHook
31 ];
32
33 passthru.updateScript = unstableGitUpdater { };
34
35 meta = with lib; {
36 homepage = "https://base64io-python.readthedocs.io/";
37 changelog = "https://github.com/aws/base64io-python/blob/${version}/CHANGELOG.rst";
38 description = "Python stream implementation for base64 encoding/decoding";
39 license = licenses.asl20;
40 maintainers = with maintainers; [ anthonyroussel ];
41 };
42}