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