nixpkgs/pkgs/development/python-modules/ratarmount/default.nix
2024-02-23 22:09:19 +00:00

38 lines
760 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, fusepy
, ratarmountcore
}:
buildPythonPackage rec {
pname = "ratarmount";
version = "0.14.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-TrOYf9kbcRM8E9vq6sjswK2BQ0eA5zSGAIiNAfIZtnk=";
};
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;
};
}