depot/third_party/nixpkgs/pkgs/development/python-modules/http-ece/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

40 lines
803 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "http-ece";
version = "1.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "web-push-libs";
repo = "encrypted-content-encoding";
rev = version;
hash = "sha256-HjXJWoOvCVOdEto4Ss4HPUuf+uNcQkfvj/cxJGHOhQ8=";
};
sourceRoot = "${src.name}/python";
build-system = [ setuptools ];
dependencies = [ cryptography ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "Encipher HTTP Messages";
homepage = "https://github.com/web-push-libs/encrypted-content-encoding";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ peterhoeg ];
};
}