10 buildPythonPackage rec {
11 pname = "python-snappy";
13 format = "setuptools";
16 inherit pname version;
17 hash = "sha256-tqEHqwYgasxTWdTFYyvZsi1EhwKnmzFpsMYuD7gIuyo=";
20 buildInputs = [ snappy ];
22 propagatedBuildInputs = lib.optional isPyPy cffi;
24 nativeCheckInputs = [ unittestCheckHook ];
27 description = "Python library for the snappy compression library from Google";
28 homepage = "https://github.com/andrix/python-snappy";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ ];