depot/third_party/nixpkgs/pkgs/development/python-modules/pybase64/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

29 lines
591 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pybase64";
version = "1.2.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "d2016a3a487d3d4501d8281f61ee54c25efd65e37a4c7dce8011e0de7183c956";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pybase64" ];
meta = with lib; {
description = "Fast Base64 encoding/decoding";
homepage = "https://github.com/mayeut/pybase64";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}