-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
terminal_tarot: init at 0.1.1 #87688
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
needs a rebase |
e153859
to
7113ce1
Compare
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "terminal_tarot"; | ||
version = "v0.1.1"; |
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.
We don't typically put the v into the version. You can just put it in the rev part...
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "terminal_tarot"; | ||
version = "v0.1.1"; |
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.
version = "v0.1.1"; | |
version = "0.1.1"; |
src = fetchFromGitHub { | ||
owner = "aswan89"; | ||
repo = pname; | ||
rev = 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.
rev = version; | |
rev = "v${version}; |
meta = with stdenv.lib; { | ||
description = "Toy application for making tarot readings at the terminal, Written in Rust"; | ||
homepage = "https://github.com/aswan89/terminal_tarot"; | ||
license = licenses.gpl3; |
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.
license = licenses.gpl3; | |
license = licenses.gpl3Only; |
The gpl license variants without the Plus
or Only
suffix are deprecated, because they do not specify the license well enough. Use Plus
if the project has "or later" sections in the actual source code files (not the license). Otherwise, use the Only
suffix.
See https://discourse.nixos.org/t/lib-licenses-gpl3-co-are-now-deprecated/8206 for more details.
Result of 1 package built:- terminal_tarot |
@aswan89 friendly ping |
Result of 1 package built:
|
I marked this as stale due to inactivity. → More info |
Closing due to inactivity from author. |
Motivation for this change
Adding a new toy application to the repository.
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)