mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
topiary: Add passthru.updateScript
Allows to use standard ``` nix-shell maintainers/scripts/update.nix --argstr package topiary ``` to update topiary
This commit is contained in:
parent
7f9f9126d6
commit
a09afc8dac
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue