3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #237374 from YorikSar/topiary-update-script

topiary: Add passthru.updateScript
This commit is contained in:
figsoda 2023-06-12 12:45:53 -04:00 committed by GitHub
commit 8104c03955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@ -42,6 +43,8 @@ rustPlatform.buildRustPackage rec {
install -Dm444 languages/* -t $out/share/languages
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A uniform formatter for simple languages, as part of the Tree-sitter ecosystem";
homepage = "https://github.com/tweag/topiary";