python3Packages.indexed-zstd: init at 1.6.0
This commit is contained in:
parent
1987b35044
commit
c8976d5878
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/indexed-zstd/default.nix
Normal file
37
pkgs/development/python-modules/indexed-zstd/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -5180,6 +5180,8 @@ self: super: with self; {
|
|||
|
||||
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 { };
|
||||
|
||||
inflect = callPackage ../development/python-modules/inflect { };
|
||||
|
|
Loading…
Reference in a new issue