Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 449 B view raw
1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "h11"; 5 version = "0.8.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "acca6a44cb52a32ab442b1779adf0875c443c689e9e028f8d831a3769f9c5208"; 10 }; 11 12 checkInputs = [ pytest ]; 13 14 checkPhase = '' 15 py.test 16 ''; 17 18 meta = with lib; { 19 description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1"; 20 license = licenses.mit; 21 }; 22}