5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
37 lines
749 B
Nix
37 lines
749 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, cython
|
|
, zstd
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "indexed_zstd";
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-icCerrv6ihBjSTS4Fsw7qhoA5ha8yegfMVRiIOhTvvY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cython ];
|
|
|
|
buildInputs = [ zstd.dev ];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "indexed_zstd" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to seek within compressed zstd files";
|
|
homepage = "https://github.com/martinellimarco/indexed_zstd";
|
|
license = licenses.mit;
|
|
maintainers = with lib.maintainers; [ mxmlnkn ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|