Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 609 B view raw
1{ buildPythonPackage, isPy3k, stdenv, fetchPypi, six, pytest }: 2 3buildPythonPackage rec { 4 pname = "pybase64"; 5 version = "1.0.1"; 6 7 disabled = !isPy3k; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "6ced40531bffc81bafc790d5c0d2f752e281b3b00fd6ff4e79385c625e5dbab1"; 12 }; 13 14 propagatedBuildInputs = [ six ]; 15 checkInputs = [ pytest ]; 16 17 checkPhase = '' 18 py.test 19 ''; 20 21 meta = with stdenv.lib; { 22 homepage = "https://pypi.python.org/pypi/pybase64"; 23 description = "Fast Base64 encoding/decoding"; 24 license = licenses.bsd2; 25 maintainers = with maintainers; [ ma27 ]; 26 }; 27}