depot/third_party/nixpkgs/pkgs/development/python-modules/pybase64/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
578 B
Nix

{ buildPythonPackage, stdenv, fetchPypi, six, pytest }:
buildPythonPackage rec {
pname = "pybase64";
version = "1.0.1";
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 ];
};
}