depot/third_party/nixpkgs/pkgs/tools/filesystems/rmfuse/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

52 lines
1.2 KiB
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "rmfuse";
version = "unstable-2021-06-06";
pyproject = true;
src = fetchFromGitHub {
owner = "rschroll";
repo = "rmfuse";
rev = "3796b8610c8a965a60a417fc0bf8ea5200b71fd2";
hash = "sha256-W3kS6Kkmp8iWMOYFL7r1GyjSQvFotBXQCuTMK0vyHQ8=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"bidict"
"rmrl"
"xdg"
];
propagatedBuildInputs = with python3.pkgs; [
bidict
rmrl
rmcl
pyfuse3
xdg
];
meta = {
description = "FUSE access to the reMarkable Cloud";
homepage = "https://github.com/rschroll/rmfuse";
license = lib.licenses.mit;
longDescription = ''
RMfuse provides access to your reMarkable Cloud files in the form of a
FUSE filesystem. These files are exposed either in their original format,
or as PDF files that contain your annotations. This lets you manage files
in the reMarkable Cloud using the same tools you use on your local
system.
'';
maintainers = with lib.maintainers; [ ];
mainProgram = "rmfuse";
};
}