-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cryptomator: init at 1.5.13 #83434
cryptomator: init at 1.5.13 #83434
Conversation
Looks like fuse is not properly working yet. I need to investigate some more. |
Fuse is now found, however mounting is not possible.
I think it might be related to #42117 |
Also related #81208 |
I marked this as stale due to inactivity. → More info |
I'm still working on it. It is still not working but I was able to compile it from source. I will push the changes soon. |
Hi @bachp ! |
@ewok Awsome, I never managed to get it working. I made some progress on compiling cryptomator from source tough. I never pushed it tough. Are you planning to submit your work to nixpkgs? |
@bachp I can submit it to nixpkgs. Could you advice how to do it correctly? Not sure that I have appropriate permissions, I am a newbie here =) |
@ewok You don't need any special permissions. You just have to open a pull request. When you open a new pull request it will include a template that should give you some hints on what to look out for. And don't be afraid to open a PR, I think contributing to nixpks is very aprachable and people are very friendly and help you out should you miss somthing. |
@ewok If you prefer I could also include your changes in this MR |
4ebee09
to
94aef5f
Compare
tried to mount with webdav:
forgive my ignorance, do i understand it right that we don't package in AppImage format due to fuse issues? i see that arch package it in AppImage: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=cryptomator, no problem. |
@ivankovnatsky I started of with packaging the AppImage but, as you already said, fuse didn't work inside the wrapper. I belive the reason is #42117. I also tried to manually extract the AppImage but I couldn't get it working either. But I think packaging from source is preferable anyway and thanks to the work of @ewok it's now working. I didn't test Webdav to be honest as I prefer fuse. Do you consider this a blocker? |
can you please squash your changes/suggestions together.
yeah, i myself got into these troubles when was trying to use slock display locker, it would not work unless used with: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/slock.nix#L24. potentially we could do the same, i guess, but i'm here occasional contributor, we might need to consult members of the community. in case of packaging the AppImage format we don't need to think about support like webdav and so, as it should be provided as is, hopefully :-)
i mean some users might want that, but not really sure. and as cryptomator is a gui app (please correct me if not), i think we need to support full features in the interface. |
hi, |
What do you mean by "from somewhere else"? Despite their source, wont they end up in |
yes, they will end up on the binary cache, but every nixos/nix system has a full checkout of nixpkgs lying around. even if they never use this package they would end up with some asset files they can't get rid of. from somewhere else, maybe via fetchurl? then we would just have a link inside the nix expression. Question is, if there is a stable url available for these images. In the best case they would be part of the source itself, so maybe this should be fixed in their source repo? |
I agree with @Lassulus - This stuff does not belong into nixpkgs! Adding images to nixpkgs results in thousand of nix installations being spammed with unnecessary crap! Don't do this! |
pkgs/tools/security/cryptomator/org.cryptomator.Cryptomator.svg
Outdated
Show resolved
Hide resolved
@Lassulus Okay, I think I understand now. I haven't seen that there were pictures part of the commit(s). |
language. |
I did not target any contributors or person here! If someone felt offended anyways, I apologize. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes for ./org.cryptomator.Cryptomator.{svg,png}
but I've also noted a few other more optional nitpicks that I found along the way.
Anyway, props for managing to package this! Seems like there where quite some challenges.
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
The following issues got detected with the above build packages.
cryptomator:
An avoidable string conversion got detected:
Near pkgs/tools/security/cryptomator/default.nix:91:5:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md Near pkgs/tools/security/cryptomator/default.nix:56:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md Near pkgs/tools/security/cryptomator/default.nix:61:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md
Unused argument:
|
@SuperSandro2000 Suggestions comments applied |
All requested changes where resolved. The diff LGTM now.
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
The following issues got detected with the above build packages.
cryptomator:
Near pkgs/tools/security/cryptomator/default.nix:87:5:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md Near pkgs/tools/security/cryptomator/default.nix:53:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md Near pkgs/tools/security/cryptomator/default.nix:58:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md |
Co-authored-by: Artur Taranchiev <ewok@ewok.ru>
Updated to 1.5.13 |
@bachp great work! :-) |
Motivation for this change
Package the cryptomator encryption utilitiy.
Closes #75684
Things done
The current version can be started from the command line and is packaged from source.
It doesn't include a desktop file to launch it. But i think this can be added later.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)