chars: add updateScript (#336954)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, Security
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -19,6 +20,10 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Commandline tool to display information about unicode characters";
|
||||
mainProgram = "chars";
|
||||
|
||||
Reference in New Issue
Block a user