1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
40 lines
908 B
Nix
40 lines
908 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mock,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "base64io";
|
|
version = "1.0.3-unstable-2025-01-09";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aws";
|
|
repo = "base64io-python";
|
|
rev = "1bd47f7f8cfeeff654ea0edda3fbb69f840ccd05";
|
|
hash = "sha256-1MUWjFFitJ3nqvVwAQYcAVVPhPs6NEgq7t/mI71u2Bk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
homepage = "https://base64io-python.readthedocs.io/";
|
|
changelog = "https://github.com/aws/base64io-python/blob/${version}/CHANGELOG.rst";
|
|
description = "Python stream implementation for base64 encoding/decoding";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ anthonyroussel ];
|
|
};
|
|
}
|