python3Packages.indexed-zstd: init at 1.6.0

This commit is contained in:
mxmlnkn 2023-09-06 19:13:55 +02:00
parent 1987b35044
commit c8976d5878
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ 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;
};
}

View file

@ -5180,6 +5180,8 @@ self: super: with self; {
indexed-gzip = callPackage ../development/python-modules/indexed-gzip { inherit (pkgs) zlib; }; indexed-gzip = callPackage ../development/python-modules/indexed-gzip { inherit (pkgs) zlib; };
indexed-zstd = callPackage ../development/python-modules/indexed-zstd { inherit (pkgs) zstd; };
infinity = callPackage ../development/python-modules/infinity { }; infinity = callPackage ../development/python-modules/infinity { };
inflect = callPackage ../development/python-modules/inflect { }; inflect = callPackage ../development/python-modules/inflect { };