2018-04-04 20:13:41 +02:00
|
|
|
{ buildPythonPackage, stdenv, fetchPypi, six, pytest }:
|
2018-02-04 14:08:02 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pybase64";
|
2018-04-04 20:13:41 +02:00
|
|
|
version = "0.3.1";
|
2018-02-04 14:08:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:13:41 +02:00
|
|
|
sha256 = "c974bff394e16817596fab686a0c7deb4995a468b035b02a788b6dbfd1e6bdeb";
|
2018-02-04 14:08:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
2018-04-04 20:13:41 +02:00
|
|
|
checkInputs = [ pytest ];
|
2018-02-04 14:08:02 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
2018-04-04 20:13:41 +02:00
|
|
|
py.test
|
2018-02-04 14:08:02 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://pypi.python.org/pypi/pybase64;
|
|
|
|
description = "Fast Base64 encoding/decoding";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|