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
gnu-pw-mgr: init 2.3.2 #43100
gnu-pw-mgr: init 2.3.2 #43100
Conversation
a000d13
to
43fabba
Compare
|
||
meta = with lib; { | ||
homepage = "https://www.gnu.org/software/gnu-pw-mgr/"; | ||
description = "GNU gnu-pw-mgr is a password manager designed to make it easy to reconstruct difficult passwords when they are needed, while limiting the risk of attack."; |
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.
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.
Amended.
stdenv.mkDerivation { | ||
name = "gnu-pw-mgr-2.3.2"; | ||
src = fetchurl { | ||
url = "http://ftp.gnu.org/gnu/gnu-pw-mgr/gnu-pw-mgr-2.3.2.tar.xz"; |
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.
Please use ${name}
in here.
homepage = "https://www.gnu.org/software/gnu-pw-mgr/"; | ||
description = "GNU gnu-pw-mgr is a password manager designed to make it easy to reconstruct difficult passwords when they are needed, while limiting the risk of attack."; | ||
license = with licenses; [ gpl3Plus lgpl3Plus ]; | ||
platforms = platforms.all; |
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.
Did you test this on Darwin?
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.
Nope, amended this to unix
- would that be a more appropriate option?
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.
No, platforms.unix
includes Darwin. Use platforms.linux
to exclude Darwin.
description = "GNU gnu-pw-mgr is a password manager designed to make it easy to reconstruct difficult passwords when they are needed, while limiting the risk of attack."; | ||
license = with licenses; [ gpl3Plus lgpl3Plus ]; | ||
platforms = platforms.all; | ||
maintainers = [ ]; |
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.
Do you want to maintain this yourself? In this case please add a commit before the current one adding yourself to https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix.
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.
That makes sense, done. Thanks for taking the time to review this PR!
]; | ||
|
||
meta = with lib; { | ||
homepage = "https://www.gnu.org/software/gnu-pw-mgr/"; |
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.
no quotes
28ac83a
to
bf650d3
Compare
8600b91
to
7150a17
Compare
}; | ||
|
||
buildInputs = [ | ||
autogen |
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.
autogen
is not needed to build this, it can be dropped here and above
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.
You're right. Updated buildInputs
, thanks.
@@ -0,0 +1,20 @@ | |||
{ stdenv, lib, fetchurl, autogen, gnulib }: |
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.
Drop autogen
here as well because it is not used anymore.
description = "A password manager designed to make it easy to reconstruct difficult passwords"; | ||
license = with licenses; [ gpl3Plus lgpl3Plus ]; | ||
platforms = stdenv.lib.platforms.linux; | ||
maintainers = [ ]; |
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.
To become a maintainer for this package, add yourself here like this:
maintainers = with maintainers; [ qoelet ];
@GrahamcOfBorg build gnu-pw-mgr |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: gnu-pw-mgr Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: gnu-pw-mgr Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: gnu-pw-mgr Partial log (click to expand)
|
LGTM. Thank you for contributing to nixpkgs! |
@xeji @dotlambda thanks for patiently guiding me through this, my little knowledge of Nix grows a bit more! |
Motivation for this change
gnu-pw-mgr: init 2.3.2
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)