1693fb2285
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
27 lines
609 B
Nix
27 lines
609 B
Nix
{ buildPythonPackage, isPy3k, stdenv, fetchPypi, six, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pybase64";
|
|
version = "1.0.1";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6ced40531bffc81bafc790d5c0d2f752e281b3b00fd6ff4e79385c625e5dbab1";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://pypi.python.org/pypi/pybase64";
|
|
description = "Fast Base64 encoding/decoding";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
};
|
|
}
|