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-02-14 07:37:25 +00:00
|
|
|
version = "0.5.0";
|
2018-02-04 13:08:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:25 +00:00
|
|
|
sha256 = "b26263fb6aff11b1e62965c3bac205c4ebe147f37c213191384acafea7f8ab50";
|
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; {
|
|
|
|
homepage = https://pypi.python.org/pypi/pybase64;
|
|
|
|
description = "Fast Base64 encoding/decoding";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|