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