diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2024-05-17 18:20:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 18:20:00 +0200 |
commit | 5a17f6eaf31c7260f0f7d82bca07843f151fce21 (patch) | |
tree | a29918860704e3720e3fc01d0425a77cc40273ad /pkgs/by-name | |
parent | 4a6b83b05df1a8bd7d99095ec4b4d271f2956b64 (diff) | |
parent | 0203af979a00e4af96d4b380b9194cf3d1be2db1 (diff) |
Merge pull request #312262 from lucasew/20240516-fix-cargo-typify
cargo-typify: add update script, mark as broken
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ca/cargo-typify/package.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/by-name/ca/cargo-typify/package.nix b/pkgs/by-name/ca/cargo-typify/package.nix index 6693776c04eda..e8bf2013f9352 100644 --- a/pkgs/by-name/ca/cargo-typify/package.nix +++ b/pkgs/by-name/ca/cargo-typify/package.nix @@ -1,4 +1,4 @@ -{ lib, rustfmt, rustPlatform, fetchFromGitHub }: +{ lib, rustfmt, rustPlatform, fetchFromGitHub, gitUpdater }: rustPlatform.buildRustPackage rec { pname = "cargo-typify"; @@ -22,11 +22,14 @@ rustPlatform.buildRustPackage rec { export RUSTFMT="${lib.getExe rustfmt}" ''; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; + meta = with lib; { description = "JSON Schema to Rust type converter"; mainProgram = "cargo-typify"; homepage = "https://github.com/oxidecomputer/typify"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ david-r-cox ]; + broken = true; }; } |