Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
682 B · 32 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233{ lib, buildPythonPackage, fetchPypi, isPyPy, snappy, cffi, unittestCheckHook}:
buildPythonPackage rec { pname = "python-snappy"; version = "0.6.1"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-tqEHqwYgasxTWdTFYyvZsi1EhwKnmzFpsMYuD7gIuyo="; };
buildInputs = [ snappy ];
propagatedBuildInputs = lib.optional isPyPy cffi;
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; { description = "Python library for the snappy compression library from Google"; homepage = "https://github.com/andrix/python-snappy"; license = licenses.bsd3; maintainers = with maintainers; [ costrouc ]; };}