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";
|
2021-03-24 09:28:21 +00:00
|
|
|
version = "1.1.4";
|
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;
|
2021-03-24 09:28:21 +00:00
|
|
|
sha256 = "f0e0db1dee2a2cbf35e6710ea138594ecc1e0f491ff9103f136de83d8f159315";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|