python3Packages.ratarmount: init at 0.14.0

This commit is contained in:
mxmlnkn 2023-09-06 19:15:38 +02:00
parent 7e7f626d28
commit 5e6a8a643b
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, fusepy
, ratarmountcore
}:
buildPythonPackage rec {
pname = "ratarmount";
version = "0.14.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-P+p0h+KuOsunPsXbRwxzAhr1XcEqMjQxHeHmA29+pDQ=";
};
propagatedBuildInputs = [ ratarmountcore fusepy ];
checkPhase = ''
runHook preCheck
python tests/tests.py
runHook postCheck
'';
meta = with lib; {
description = "Mounts archives as read-only file systems by way of indexing";
homepage = "https://github.com/mxmlnkn/ratarmount";
license = licenses.mit;
maintainers = with lib.maintainers; [ mxmlnkn ];
platforms = platforms.all;
};
}

View file

@ -12537,6 +12537,8 @@ with pkgs;
ratman = callPackage ../tools/networking/ratman { };
ratarmount = with python3Packages; toPythonApplication ratarmount;
ratools = callPackage ../tools/networking/ratools { };
ratt = callPackage ../applications/misc/ratt { };

View file

@ -11013,6 +11013,8 @@ self: super: with self; {
ratarmountcore = callPackage ../development/python-modules/ratarmountcore { inherit (pkgs) zstd; };
ratarmount = callPackage ../development/python-modules/ratarmount { };
ratelim = callPackage ../development/python-modules/ratelim { };
ratelimit = callPackage ../development/python-modules/ratelimit { };