blob: 55547720b89aec8ea967668f21fc9c83dcb748bb (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pybase64";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "mayeut";
repo = "pybase64";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-mEwFcnqUKCWYYrcjELshJYNqTxQ//4w4OzaWhrzB5Mg=";
};
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 = [ ];
};
}
|