1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, fusepy
6, ratarmountcore
7}:
8
9buildPythonPackage rec {
10 pname = "ratarmount";
11 version = "0.14.0";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-P+p0h+KuOsunPsXbRwxzAhr1XcEqMjQxHeHmA29+pDQ=";
18 };
19
20 propagatedBuildInputs = [ ratarmountcore fusepy ];
21
22 checkPhase = ''
23 runHook preCheck
24
25 python tests/tests.py
26
27 runHook postCheck
28 '';
29
30 meta = with lib; {
31 description = "Mounts archives as read-only file systems by way of indexing";
32 homepage = "https://github.com/mxmlnkn/ratarmount";
33 license = licenses.mit;
34 maintainers = with lib.maintainers; [ mxmlnkn ];
35 platforms = platforms.all;
36 };
37}