2021-01-25 08:26:54 +00:00
|
|
|
{ buildPythonPackage, isPy3k, lib, fetchPypi, six, pytest }:
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pybase64";
|
2020-10-25 09:06:55 +00:00
|
|
|
version = "1.0.2";
|
2018-02-04 13:08:02 +00:00
|
|
|
|
2020-09-27 12:50:39 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-02-04 13:08:02 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:55 +00:00
|
|
|
sha256 = "c430b36751dd89820c867aadd0130bbe8ce007ee570cbe91bb23012fb6f52e87";
|
2018-02-04 13:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
2018-04-04 19:13:41 +01:00
|
|
|
checkInputs = [ pytest ];
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
2018-04-04 19:13:41 +01:00
|
|
|
py.test
|
2018-02-04 13:08:02 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/pybase64";
|
2018-02-04 13:08:02 +00:00
|
|
|
description = "Fast Base64 encoding/decoding";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|