2018-03-05 16:17:29 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "h11";
|
2018-12-02 21:17:23 +00:00
|
|
|
version = "0.8.1";
|
2018-03-05 16:17:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-02 21:17:23 +00:00
|
|
|
sha256 = "acca6a44cb52a32ab442b1779adf0875c443c689e9e028f8d831a3769f9c5208";
|
2018-03-05 16:17:29 +00:00
|
|
|
};
|
|
|
|
|
2018-12-02 21:17:23 +00:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
2018-03-05 16:17:29 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|