10 buildPythonPackage rec {
13 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
17 owner = "python-hyper";
20 sha256 = "sha256-oW4y1WBJ7+4XwNwwSSR0qUqN03cZYXUYQ6EAwce9dzI=";
23 buildInputs = [ brotli ];
25 propagatedNativeBuildInputs = [ cffi ];
27 propagatedBuildInputs = [ cffi ];
30 export USE_SHARED_BROTLI=1
33 # Test data is not available, only when using libbrotli git checkout
36 pythonImportsCheck = [ "brotlicffi" ];
39 description = "Python CFFI bindings to the Brotli library";
40 homepage = "https://github.com/python-hyper/brotlicffi";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];