1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cffi, 6 enum34, 7 construct, 8 pytest, 9 hypothesis, 10}: 11 12buildPythonPackage rec { 13 pname = "brotlipy"; 14 version = "0.7.0"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df"; 20 }; 21 22 propagatedBuildInputs = [ 23 cffi 24 enum34 25 construct 26 ]; 27 28 propagatedNativeBuildInputs = [ cffi ]; 29 30 nativeCheckInputs = [ 31 pytest 32 hypothesis 33 ]; 34 35 checkPhase = '' 36 py.test 37 ''; 38 39 # Missing test files 40 doCheck = false; 41 42 meta = { 43 description = "Python bindings for the reference Brotli encoder/decoder"; 44 homepage = "https://github.com/python-hyper/brotlipy/"; 45 license = lib.licenses.mit; 46 }; 47}