mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
python312Packages.ratarmount: refactor
This commit is contained in:
parent
1c6e127a88
commit
a12cb4af18
|
@ -2,15 +2,22 @@
|
|||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
fusepy,
|
||||
indexed-gzip,
|
||||
indexed-zstd,
|
||||
libarchive-c,
|
||||
python-xz,
|
||||
pythonOlder,
|
||||
rapidgzip,
|
||||
rarfile,
|
||||
ratarmountcore,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ratarmount";
|
||||
version = "0.15.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
|
@ -19,9 +26,19 @@ buildPythonPackage rec {
|
|||
hash = "sha256-1JAj9vA/aZLDvZC7j5PD1OL9n4I0gag4Ezc0i68OQsw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ratarmountcore
|
||||
pythonRelaxDeps = [ "python-xz" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
fusepy
|
||||
indexed-gzip
|
||||
indexed-zstd
|
||||
libarchive-c
|
||||
python-xz
|
||||
rapidgzip
|
||||
rarfile
|
||||
ratarmountcore
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -34,10 +51,10 @@ buildPythonPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Mounts archives as read-only file systems by way of indexing";
|
||||
mainProgram = "ratarmount";
|
||||
homepage = "https://github.com/mxmlnkn/ratarmount";
|
||||
changelog = "https://github.com/mxmlnkn/ratarmount/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with lib.maintainers; [ mxmlnkn ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "ratarmount";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue