Unverified Commit 5a17f6ea authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

Merge pull request #312262 from lucasew/20240516-fix-cargo-typify

cargo-typify: add update script, mark as broken
parents 4a6b83b0 0203af97
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{ 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;
  };
}