nixpkgs/pkgs/development/python-modules/indexed-bzip2/default.nix

32 lines
790 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "indexed_bzip2";
version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-tKf9odadfQZQYJz//vWYpeB99Z8VLg+hEPvfEHXgdnM=";
};
# has no tests
doCheck = false;
pythonImportsCheck = [ "indexed_bzip2" ];
meta = with lib; {
description = "Python library for parallel decompression and seeking within compressed bzip2 files";
homepage = "https://github.com/mxmlnkn/indexed_bzip2";
license = licenses.mit; # dual MIT and asl20, https://internals.rust-lang.org/t/rationale-of-apache-dual-licensing/8952
maintainers = with lib.maintainers; [ mxmlnkn ];
platforms = platforms.all;
};
}