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

20 lines
423 B
Nix
Raw Normal View History

2018-03-05 17:17:29 +01:00
{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "h11";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1n9hsm1n2qq32j3hh9wj93w738bwa5nqyzxjwvirz03gp8fbn3qw";
};
buildInputs = [ pytest ];
meta = with lib; {
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
license = licenses.mit;
};
}