10 buildPythonPackage rec {
11 pname = "indexed_zstd";
15 disabled = pythonOlder "3.6";
18 inherit pname version;
19 hash = "sha256-icCerrv6ihBjSTS4Fsw7qhoA5ha8yegfMVRiIOhTvvY=";
22 nativeBuildInputs = [ cython setuptools ];
24 buildInputs = [ zstd.dev ];
26 postPatch = "cython -3 --cplus indexed_zstd/indexed_zstd.pyx";
31 pythonImportsCheck = [ "indexed_zstd" ];
34 description = "Python library to seek within compressed zstd files";
35 homepage = "https://github.com/martinellimarco/indexed_zstd";
36 license = licenses.mit;
37 maintainers = with lib.maintainers; [ mxmlnkn ];