1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cramjam, 6 setuptools, 7 snappy-cpp, 8 unittestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "python-snappy"; 13 version = "0.7.3"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "python_snappy"; 18 inherit version; 19 hash = "sha256-QCFsG637LTiseB7LFiodDsQPjul0fmELz+/fp5SGzuM="; 20 }; 21 22 build-system = [ 23 cramjam 24 setuptools 25 ]; 26 27 buildInputs = [ snappy-cpp ]; 28 29 dependencies = [ cramjam ]; 30 31 nativeCheckInputs = [ unittestCheckHook ]; 32 33 meta = with lib; { 34 description = "Python library for the snappy compression library from Google"; 35 homepage = "https://github.com/intake/python-snappy"; 36 license = licenses.bsd3; 37 maintainers = [ ]; 38 }; 39}