2018-10-17 05:56:46 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-01-10 15:38:58 +00:00
|
|
|
, glibcLocales
|
2018-10-17 05:56:46 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hpack";
|
2018-11-04 10:35:02 +00:00
|
|
|
version = "3.0.0";
|
2018-10-17 05:56:46 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:02 +00:00
|
|
|
sha256 = "8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2";
|
2018-10-17 05:56:46 +01:00
|
|
|
};
|
|
|
|
|
2019-01-10 15:38:58 +00:00
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
LANG = "en_US.UTF-8";
|
|
|
|
|
2018-10-17 05:56:46 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pure-Python HPACK header compression";
|
|
|
|
homepage = "http://hyper.rtfd.org";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|