depot/third_party/nixpkgs/pkgs/development/python-modules/ratarmount/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

39 lines
792 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, fusepy
, ratarmountcore
}:
buildPythonPackage rec {
pname = "ratarmount";
version = "0.15.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-2slLshH07O+4PIU3dF9vX2ZcXjaUVyTFYc59LL2J5iY=";
};
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";
mainProgram = "ratarmount";
homepage = "https://github.com/mxmlnkn/ratarmount";
license = licenses.mit;
maintainers = with lib.maintainers; [ mxmlnkn ];
platforms = platforms.all;
};
}