Commit 02914c3d authored by figsoda's avatar figsoda
Browse files

uniffi-bindgen: remove

parent 7bdafdd1
Loading
Loading
Loading
Loading
+0 −43
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchCrate
, makeWrapper
, ktlint
, yapf
, rubocop
, rustfmt
, nix-update-script
}:

rustPlatform.buildRustPackage rec {
  pname = "uniffi-bindgen";
  version = "0.22.0";

  src = fetchCrate {
    inherit pname version;
    sha256 = "sha256-cUJsfAlzdoGMeFcdXwdPU0JcruneY60pssJPkJtb5gs=";
  };

  cargoSha256 = "sha256-k5uIR5rO4T1Xsu50vdLxCgSsVkNcxXHT4MitnMZkY6g=";

  nativeBuildInputs = [ makeWrapper ];

  checkFlags = [
    # this test assumes it is run from the repository
    "--skip=test::test_guessing_of_crate_root_directory_from_udl_file"
  ];

  postFixup = ''
    wrapProgram "$out/bin/uniffi-bindgen" \
      --suffix PATH : ${lib.strings.makeBinPath [ ktlint yapf rubocop rustfmt ] }
  '';

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "Toolkit for building cross-platform software components in Rust";
    homepage = "https://mozilla.github.io/uniffi-rs/";
    license = licenses.mpl20;
    maintainers = with maintainers; [ figsoda vtuan10 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1690,6 +1690,7 @@ mapAliases ({
  ufraw = throw "ufraw is unmaintained and has been removed from nixpkgs. Its successor, nufraw, doesn't seem to be stable enough. Consider using Darktable for now"; # Added 2020-01-11
  ultrastardx-beta = throw "'ultrastardx-beta' has been renamed to/replaced by 'ultrastardx'"; # Converted to throw 2022-02-22
  unicorn-emu = unicorn; # Added 2020-10-29
  uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
  unifi-poller = unpoller; # Added 2022-11-24
  unifiStable = unifi6; # Added 2020-12-28
  unity3d = throw "'unity3d' is unmaintained, has seen no updates in years and depends on deprecated GTK2"; # Added 2022-06-16
+0 −2
Original line number Diff line number Diff line
@@ -6339,8 +6339,6 @@ with pkgs;
  unifdef = callPackage ../development/tools/misc/unifdef { };
  uniffi-bindgen = callPackage ../development/tools/uniffi-bindgen { };
  unify = with python3Packages; toPythonApplication unify;
  unionfs-fuse = callPackage ../tools/filesystems/unionfs-fuse { };