16 buildPythonPackage rec {
21 src = fetchFromGitHub {
22 owner = "pycompression";
23 repo = "python-zlib-ng";
25 hash = "sha256-uK6Md8ZOVUNwXCjzM4zTVr3WBwzLdnvT9n8yBvf968k=";
33 dontUseCmakeConfigure = true;
35 env.PYTHON_ZLIB_NG_LINK_DYNAMIC = true;
41 pythonImportsCheck = [
54 # commandline tests fail to find the built module
55 "test_compress_fast_best_are_exclusive"
56 "test_compress_infile_outfile"
57 "test_compress_infile_outfile_default"
58 "test_decompress_cannot_have_flags_compression"
59 "test_decompress_infile_outfile"
60 "test_decompress_infile_outfile_error"
64 description = "A drop-in replacement for Python's zlib and gzip modules using zlib-ng";
65 homepage = "https://github.com/pycompression/python-zlib-ng";
66 changelog = "https://github.com/pycompression/python-zlib-ng/blob/${src.rev}/CHANGELOG.rst";
67 license = licenses.psfl;
68 maintainers = with maintainers; [ hexa ];