2021-08-22 22:09:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pybase64";
|
2021-12-25 09:39:23 +00:00
|
|
|
version = "1.2.1";
|
2018-02-04 13:08:02 +00:00
|
|
|
|
2021-08-22 22:09:44 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2020-09-27 11:50:39 +00:00
|
|
|
|
2018-02-04 13:08:02 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-25 09:39:23 +00:00
|
|
|
sha256 = "d2016a3a487d3d4501d8281f61ee54c25efd65e37a4c7dce8011e0de7183c956";
|
2018-02-04 13:08:02 +00:00
|
|
|
};
|
|
|
|
|
2021-08-22 22:09:44 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2018-02-04 13:08:02 +00:00
|
|
|
|
2021-08-22 22:09:44 +00:00
|
|
|
pythonImportsCheck = [ "pybase64" ];
|
2018-02-04 13:08:02 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-04 13:08:02 +00:00
|
|
|
description = "Fast Base64 encoding/decoding";
|
2021-08-22 22:09:44 +00:00
|
|
|
homepage = "https://github.com/mayeut/pybase64";
|
2018-02-04 13:08:02 +00:00
|
|
|
license = licenses.bsd2;
|
2021-08-27 20:09:49 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-02-04 13:08:02 +00:00
|
|
|
};
|
|
|
|
}
|