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
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";