2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, fusepy
|
|
|
|
, ratarmountcore
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ratarmount";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.15.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-2slLshH07O+4PIU3dF9vX2ZcXjaUVyTFYc59LL2J5iY=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ratarmount";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/mxmlnkn/ratarmount";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ mxmlnkn ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|