2020-06-16 23:01:20 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder
|
|
|
|
, coverage, flake8, mock, nose, importlib-metadata
|
2019-06-07 05:22:22 +02:00
|
|
|
, cryptography }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "http_ece";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1y5ln09ji4dwpzhxr77cggk02kghq7lql60a6969a5n2lwpvqblk";
|
|
|
|
};
|
|
|
|
|
2020-06-16 23:01:20 +02:00
|
|
|
propagatedBuildInputs = [ cryptography ]
|
|
|
|
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
2019-06-07 05:22:22 +02:00
|
|
|
|
|
|
|
checkInputs = [ coverage flake8 mock nose ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Encipher HTTP Messages";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/martinthomson/encrypted-content-encoding";
|
2019-06-07 05:22:22 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|