nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 816 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cffi, 5 construct, 6 fetchPypi, 7 hypothesis, 8 pytest, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "brotlipy"; 15 version = "0.7.0"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-Nt7wuFm+ryGRAVe0wz6zsG2M5FnJQhAvFpiMym6hZN8="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 propagatedNativeBuildInputs = [ cffi ]; 26 27 dependencies = [ 28 cffi 29 construct 30 ]; 31 32 nativeCheckInputs = [ 33 hypothesis 34 pytestCheckHook 35 ]; 36 37 # Missing test files 38 doCheck = false; 39 40 pythonImportsCheck = [ "brotli" ]; 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 maintainers = [ ]; 47 }; 48}