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