Commit 5e6a8a64 authored by mxmlnkn's avatar mxmlnkn
Browse files

python3Packages.ratarmount: init at 0.14.0

parent 7e7f626d
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };
+2 −0
Original line number Diff line number Diff line
@@ -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 { };