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