python312Packages.base64io: 1.0.3 -> 1.0.3-unstable-2023-10-30

Fixes the base64io build for Python 3.12 on Hydra
https://hydra.nixos.org/build/253201067
This commit is contained in:
Anthony Roussel 2024-04-16 20:09:59 +02:00
parent 179f8e0aa4
commit 39d09da9cb
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

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