Unverified Commit dad64081 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

espup: 0.14.1 -> 0.15.0 (#397517)

parents 8a4efa52 85a3655b
Loading
Loading
Loading
Loading
+15 −14
Original line number Diff line number Diff line
@@ -11,23 +11,22 @@
  stdenv,
  darwin,
  testers,
  espup,
  gitUpdater,
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "espup";
  version = "0.14.1";
  version = "0.15.0";

  src = fetchFromGitHub {
    owner = "esp-rs";
    repo = "espup";
    rev = "v${version}";
    hash = "sha256-sPWGpQi9JrkdaPV2jvwaY9zjb8urK+ibhvxw/CC2UOQ=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-1muyZd7jhhDkif/8mX7QZEMnV105jNMHT0RaZPinD/4=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-k6hczvuEvutUWOrKYFUltA0ZD+AHa8E0+5YW1+0TKQA=";
  cargoHash = "sha256-fX6nl0DZZNiH/VWR9eWMnTuBW9r1jz3IWIxbOGC4Amg=";

  nativeBuildInputs = [
    pkg-config
@@ -68,22 +67,24 @@ rustPlatform.buildRustPackage rec {
      --zsh <($out/bin/espup completions zsh)
  '';

  passthru.updateScript = gitUpdater { };
  passthru.tests.version = testers.testVersion {
    package = espup;
  passthru = {
    updateScript = nix-update-script { };
    tests.version = testers.testVersion {
      package = finalAttrs.finalPackage;
    };
  };

  meta = with lib; {
  meta = {
    description = "Tool for installing and maintaining Espressif Rust ecosystem";
    homepage = "https://github.com/esp-rs/espup/";
    license = with licenses; [
    license = with lib.licenses; [
      mit
      asl20
    ];
    maintainers = with maintainers; [
    maintainers = with lib.maintainers; [
      knightpp
      beeb
    ];
    mainProgram = "espup";
  };
}
})