mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
52 lines
1.1 KiB
Nix
52 lines
1.1 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
|
|
];
|
|
|
|
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 = [ ];
|
|
mainProgram = "rmfuse";
|
|
};
|
|
}
|