9 buildPythonPackage rec {
12 format = "setuptools";
13 disabled = pythonOlder "3.7";
15 src = fetchFromGitHub {
16 owner = "python-hyper";
19 sha256 = "sha256-oW4y1WBJ7+4XwNwwSSR0qUqN03cZYXUYQ6EAwce9dzI=";
26 propagatedNativeBuildInputs = [
30 propagatedBuildInputs = [
35 export USE_SHARED_BROTLI=1
38 # Test data is not available, only when using libbrotli git checkout
41 pythonImportsCheck = [ "brotlicffi" ];
44 description = "Python CFFI bindings to the Brotli library";
45 homepage = "https://github.com/python-hyper/brotlicffi";
46 license = licenses.mit;
47 maintainers = with maintainers; [ fab ];