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
lice: init at 0.4 #42108
lice: init at 0.4 #42108
Conversation
pkgs/tools/misc/lice/default.nix
Outdated
src = fetchFromGitHub { | ||
owner = "licenses"; | ||
repo = "lice"; | ||
rev = "71635c2544d5edf9e93af4141467763916a86624"; |
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 the tag corresponding to the release. In this case rev = version
should work.
pkgs/tools/misc/lice/default.nix
Outdated
|
||
package = "lice"; | ||
version = "0.4"; | ||
name = "${package}-${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.
Nitpick: Why not name = "lice-${version}". You don't use package
anywhere else.
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.
cargo-culted from a default.nix for personal project. Will be fixed.
pkgs/tools/misc/lice/default.nix
Outdated
}; | ||
|
||
meta = with stdenv.lib; { | ||
description = ""; |
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 add a description.
pkgs/tools/misc/lice/default.nix
Outdated
|
||
meta = with stdenv.lib; { | ||
description = ""; | ||
longDescription = '' |
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.
If you don't want to provide a longDescription just omit this field.
Motivation for this change
The
lice
utility is useful in development to automatically generateLICENSE
files.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)