depot/third_party/nixpkgs/pkgs/development/python-modules/pybase64/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

27 lines
599 B
Nix

{ buildPythonPackage, isPy3k, lib, fetchPypi, six, pytest }:
buildPythonPackage rec {
pname = "pybase64";
version = "1.1.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "f0e0db1dee2a2cbf35e6710ea138594ecc1e0f491ff9103f136de83d8f159315";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with lib; {
homepage = "https://pypi.python.org/pypi/pybase64";
description = "Fast Base64 encoding/decoding";
license = licenses.bsd2;
maintainers = with maintainers; [ ma27 ];
};
}