nixpkgs-suyu/pkgs/development/python-modules/h11/default.nix

23 lines
449 B
Nix
Raw Normal View History

2018-03-05 17:17:29 +01:00
{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "h11";
2018-12-02 22:17:23 +01:00
version = "0.8.1";
2018-03-05 17:17:29 +01:00
src = fetchPypi {
inherit pname version;
2018-12-02 22:17:23 +01:00
sha256 = "acca6a44cb52a32ab442b1779adf0875c443c689e9e028f8d831a3769f9c5208";
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;
};
}