python3Packages.indexed-gzip: init at 1.8.5
This commit is contained in:
parent
7ec4ed7b6c
commit
1987b35044
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/indexed-gzip/default.nix
Normal file
37
pkgs/development/python-modules/indexed-gzip/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, cython
|
||||
, zlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "indexed_gzip";
|
||||
version = "1.8.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-h9JgYq9KxmknaRuMgq+5YWA8tUaFk+lclkqdNAnr/cI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
# Too complicated to get to work, not a simple pytest call.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "indexed_gzip" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to seek within compressed gzip files";
|
||||
homepage = "https://github.com/pauldmccarthy/indexed_gzip";
|
||||
license = licenses.zlib;
|
||||
maintainers = with lib.maintainers; [ mxmlnkn ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -5178,6 +5178,8 @@ self: super: with self; {
|
|||
|
||||
indexed-bzip2 = callPackage ../development/python-modules/indexed-bzip2 { };
|
||||
|
||||
indexed-gzip = callPackage ../development/python-modules/indexed-gzip { inherit (pkgs) zlib; };
|
||||
|
||||
infinity = callPackage ../development/python-modules/infinity { };
|
||||
|
||||
inflect = callPackage ../development/python-modules/inflect { };
|
||||
|
|
Loading…
Reference in a new issue