1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "indexed_bzip2";
9 version = "1.5.0";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-tKf9odadfQZQYJz//vWYpeB99Z8VLg+hEPvfEHXgdnM=";
17 };
18
19 # has no tests
20 doCheck = false;
21
22 pythonImportsCheck = [ "indexed_bzip2" ];
23
24 meta = with lib; {
25 description = "Python library for parallel decompression and seeking within compressed bzip2 files";
26 homepage = "https://github.com/mxmlnkn/indexed_bzip2";
27 license = licenses.mit; # dual MIT and asl20, https://internals.rust-lang.org/t/rationale-of-apache-dual-licensing/8952
28 maintainers = with lib.maintainers; [ mxmlnkn ];
29 platforms = platforms.all;
30 };
31}