mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
449 B
Nix
23 lines
449 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "h11";
|
|
version = "0.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "acca6a44cb52a32ab442b1779adf0875c443c689e9e028f8d831a3769f9c5208";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
|
|
license = licenses.mit;
|
|
};
|
|
}
|