2020-09-27 11:50:39 +00:00
|
|
|
{ buildPythonPackage, isPy3k, stdenv, 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 11:50:39 +00: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 18:13:41 +00:00
|
|
|
checkInputs = [ pytest ];
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
2018-04-04 18:13:41 +00:00
|
|
|
py.test
|
2018-02-04 13:08:02 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|