depot/third_party/nixpkgs/pkgs/development/python-modules/pybase64/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

35 lines
698 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pybase64";
version = "1.3.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-Mu+ZPFWCHayavXZ+5GVqUBOy7YvxElyruufoTSuZEDg=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pybase64"
];
meta = with lib; {
description = "Fast Base64 encoding/decoding";
homepage = "https://github.com/mayeut/pybase64";
changelog = "https://github.com/mayeut/pybase64/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}