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