-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pass-secret-service: init at unstable-2020-04-12 #102764
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
Conversation
|
||
buildPythonApplication rec { | ||
pname = "pass_secret_service"; | ||
# Official release in PyPI is old, let's use latest from GitHub |
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.
Old is not necessarily bad. Does it miss important bug and security fixes or does it not work with the current versions of other software in nixpkgs?
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.
Yes, I agree. I looked into this a bit more carefully now: The release in PyPI seems to me like a semi-random snapshot of the project and its version number is 0.1a0 - so, not a real release anyway, but alpha. Since then the project has switched from using a seemingly abandoned D-Bus package pydbus
and started using maintained dbus-next
. So, in my opinion, this unstable version makes perfect sense. What do you think? If so, I could write this more detailed reasoning in that comment.
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.
I now added a bit more details why it's an unstable version.
Result of 1 package built:
|
Result of 1 package failed to build:
A lot of tests fail with:
List of tests:
|
6cf5384
to
a86df13
Compare
@SuperSandro2000 These failures are in |
Thanks for the reviews! I've done all the changes I think were requested. The tests are working now too. Anything else or good to merge? |
a86df13
to
d3980c8
Compare
One big change that I made after the reviews: |
d3980c8
to
b0375dd
Compare
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.
Besides that all looks good to me.
Also there's a CI error: https://gist.github.com/8c196d662581f9b286124260f14a20a6 |
click | ||
colorama | ||
pexpect | ||
] ++ stdenv.lib.optionals (pythonOlder "3.4") enum34; |
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.
It probably is not worth it supporting such old versions.
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.
nixpkgs still contains Python 2 support..
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.
I didn't remove this but I fixed optionals
to optional
. I don't see any harm in supporting Python 2 as long as it's kept available in nixpkgs.
b0375dd
to
efa1a8b
Compare
@doronbehar Thanks, this should be fixed now. I had used |
Yeah sure but I can't build this package on darwin without that dependency working. |
I'm not sure but it seems to me that a dbus related package shouldn't be supported on Darwin, so I guess this is good to go. |
Motivation for this change
Add pass-secret-service program. It makes it possible to use
pass
(Unix password manager) as a backend for libsecret (secret service) D-Bus API.Things done
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)I ran
nix-review
but I don't know what to make out of this output..(I removed
gnupg
after running that asnix-review
complained about it.)