Merge pull request #296018 from anthonyroussel/fix-base64io-for-python312

python312Packages.base64io: 1.0.3 -> 1.0.3-unstable-2023-10-30
This commit is contained in:
Sandro 2024-04-17 23:58:34 +02:00 committed by GitHub
commit d8b7917df2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 6 deletions

View File

@ -1,25 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, mock
, pytestCheckHook
, pythonOlder
, setuptools
, unstableGitUpdater
}:
buildPythonPackage rec {
pname = "base64io";
version = "1.0.3";
format = "setuptools";
version = "1.0.3-unstable-2023-10-30";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-JPLQ/nZcNTOeGy0zqpX5E3sbdltZQWT60QFsFYJ6cHM=";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "aws";
repo = "base64io-python";
rev = "604817576e607d1f7f8af1ffa1530522fd4e4be2";
hash = "sha256-RFl0iuyHdPf3VpBxH4m/N2yaKEBxkNMT1ldZP9VGGOk=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
mock
pytestCheckHook
];
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
homepage = "https://base64io-python.readthedocs.io/";
changelog = "https://github.com/aws/base64io-python/blob/${version}/CHANGELOG.rst";