10 buildPythonPackage rec {
15 disabled = pythonOlder "3.6";
18 inherit pname version;
19 hash = "sha256-W1Wi9byhwYRyF6VhZ+BkPLsxCzaHFHoYFs/LggXo5tQ=";
22 nativeBuildInputs = [ cython nasm setuptools ];
27 pythonImportsCheck = [ "rapidgzip" ];
30 description = "Python library for parallel decompression and seeking within compressed gzip files";
31 mainProgram = "rapidgzip";
32 homepage = "https://github.com/mxmlnkn/rapidgzip";
33 changelog = "https://github.com/mxmlnkn/rapidgzip/blob/rapidgzip-v${version}/python/rapidgzip/CHANGELOG.md";
34 license = licenses.mit; # dual MIT and asl20, https://internals.rust-lang.org/t/rationale-of-apache-dual-licensing/8952
35 maintainers = with lib.maintainers; [ mxmlnkn ];