nixpkgs/pkgs/development/python-modules/pybase64/default.nix
Martin Weinelt 4874da1473 python3Packages.pybase64: 1.4.2 -> 1.4.3
https://github.com/mayeut/pybase64/releases/tag/v1.4.3

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:54 +01:00

41 lines
880 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pybase64";
version = "1.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "mayeut";
repo = "pybase64";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-cR8Ht6QbHXCED86xCbiLg4bxt1Hkv4Ota7R+voZE3yo=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
]
++ lib.optionals (pythonOlder "3.12") [ typing-extensions ];
pythonImportsCheck = [ "pybase64" ];
meta = {
description = "Fast Base64 encoding/decoding";
mainProgram = "pybase64";
homepage = "https://github.com/mayeut/pybase64";
changelog = "https://github.com/mayeut/pybase64/releases/tag/${src.tag}";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}