2018-04-04 19:13:41 +01:00
|
|
|
{ buildPythonPackage, stdenv, fetchPypi, six, pytest }:
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pybase64";
|
2019-11-11 11:13:39 +00:00
|
|
|
version = "1.0.1";
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-11 11:13:39 +00:00
|
|
|
sha256 = "6ced40531bffc81bafc790d5c0d2f752e281b3b00fd6ff4e79385c625e5dbab1";
|
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
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|