Something went wrong. Try again.
lol
Something went wrong. Try again.
768 B · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchPypi, setuptools, cython, zstd,}:
buildPythonPackage rec { pname = "indexed_zstd"; version = "1.7.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-DspqT15rkF6qGs09l7Gt40B4qClIOkODn1zy7+lxUPQ="; };
nativeBuildInputs = [ cython setuptools ];
buildInputs = [ zstd.dev ];
postPatch = "cython -3 --cplus indexed_zstd/indexed_zstd.pyx";
# has no tests doCheck = false;
pythonImportsCheck = [ "indexed_zstd" ];
meta = { description = "Python library to seek within compressed zstd files"; homepage = "https://github.com/martinellimarco/indexed_zstd"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mxmlnkn ]; };}