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