-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
aegis-rs: init at 0.4.0 #431714
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
base: master
Are you sure you want to change the base?
aegis-rs: init at 0.4.0 #431714
Conversation
darwin, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { |
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.
nit:
rustPlatform.buildRustPackage rec { | |
rustPlatform.buildRustPackage (finalAttrs: { |
src = fetchFromGitHub { | ||
owner = "Granddave"; | ||
repo = "aegis-rs"; | ||
rev = "v${version}"; |
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.
nit:
rev = "v${version}"; | |
tag = "v${finalAttrs.version}"; |
darwin.apple_sdk.frameworks.Security | ||
darwin.apple_sdk.frameworks.SystemConfiguration |
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 think apple_sdk
has been migrated to apple-sdk
and no longer has these attributes.
darwin.apple_sdk.frameworks.Security | |
darwin.apple_sdk.frameworks.SystemConfiguration | |
darwin.apple-sdk |
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 shouldn't need to add darwin.apple-sdk
either, its in the darwin stdenv
mainProgram = "aegis-rs"; | ||
platforms = lib.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.
} | |
}) |
meta = { | ||
description = "CLI tool for generating OTP codes from Aegis Authenticator vault backups"; | ||
homepage = "https://github.com/Granddave/aegis-rs"; | ||
changelog = "https://github.com/Granddave/aegis-rs/releases/tag/v${version}"; |
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.
changelog = "https://github.com/Granddave/aegis-rs/releases/tag/v${version}"; | |
changelog = "https://github.com/Granddave/aegis-rs/releases/tag/v${finalAttrs.version}"; |
license = lib.licenses.gpl3Only; | ||
maintainers = with lib.maintainers; [ tennox ]; | ||
mainProgram = "aegis-rs"; | ||
platforms = lib.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.
rustPlatform.buildRustPackage
provides a good default for this attribute
platforms = lib.platforms.all; |
New CLI package: https://github.com/Granddave/aegis-rs/
Things done
passthru.tests
.nixpkgs-review
on this PR. See nixpkgs-review usage../result/bin/
.Add a 👍 reaction to pull requests you find important.