python3Packages.rapidgzip: init at 0.10.3
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, nasm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidgzip";
|
||||
version = "0.10.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-gtxF9V7OQb34Z0cCuTh/Lbe1ttCbdaY0zpM3KHHGGuw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ nasm ];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "rapidgzip" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for parallel decompression and seeking within compressed gzip files";
|
||||
homepage = "https://github.com/mxmlnkn/rapidgzip";
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -12527,6 +12527,8 @@ with pkgs;
|
||||
|
||||
ramfetch = callPackage ../tools/misc/ramfetch { };
|
||||
|
||||
rapidgzip = with python3Packages; toPythonApplication rapidgzip;
|
||||
|
||||
rar = callPackage ../tools/archivers/rar { };
|
||||
|
||||
rarcrack = callPackage ../tools/security/rarcrack { };
|
||||
|
||||
@@ -11001,6 +11001,8 @@ self: super: with self; {
|
||||
|
||||
rapidfuzz-capi = callPackage ../development/python-modules/rapidfuzz-capi { };
|
||||
|
||||
rapidgzip = callPackage ../development/python-modules/rapidgzip { inherit (pkgs) nasm; };
|
||||
|
||||
rapt-ble = callPackage ../development/python-modules/rapt-ble { };
|
||||
|
||||
rarfile = callPackage ../development/python-modules/rarfile {
|
||||
|
||||
Reference in New Issue
Block a user