Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 576 B view raw
1{ buildPythonPackage, stdenv, fetchPypi, six, pytest }: 2 3buildPythonPackage rec { 4 pname = "pybase64"; 5 version = "0.5.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "b26263fb6aff11b1e62965c3bac205c4ebe147f37c213191384acafea7f8ab50"; 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}