1{ buildPythonPackage, stdenv, fetchPypi, parameterized, six, nose }:
2
3buildPythonPackage rec {
4 pname = "pybase64";
5 version = "0.2.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1hggg69s5r8jyqdwyzri5sn3f19p7ayl0fjhjma0qzgfp7bk6zjc";
10 };
11
12 propagatedBuildInputs = [ six ];
13 checkInputs = [ parameterized nose ];
14
15 checkPhase = ''
16 nosetests
17 '';
18
19 meta = with stdenv.lib; {
20 homepage = https://pypi.python.org/pypi/pybase64;
21 description = "Fast Base64 encoding/decoding";
22 license = licenses.bsd2;
23 maintainers = with maintainers; [ ma27 ];
24 };
25}