Unverified Commit 51e03b51 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

openstack-rs: 0.13.3 -> 0.13.5 (#501776)

parents 98326eae 677f76f5
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -6,18 +6,20 @@
  installShellFiles,
  versionCheckHook,
  nix-update-script,
  cacert,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "openstack-rs";
  version = "0.13.3";
  version = "0.13.5";

  src = fetchFromGitHub {
    owner = "gtema";
    repo = "openstack";
    tag = "v${finalAttrs.version}";
    hash = "sha256-F9ePn+Fu9/9/rQnF0a+ViezsMtxuojycF4h9e77tm1Y=";
    hash = "sha256-8Dg1ymrjra6q4WXOUh+qEgyIIh7Z5FinLNc9fFETyFQ=";
  };

  cargoHash = "sha256-nVR0XUjOwiYNEYG/6ViH4biCXyeK5GVkMb/uOvBRFUw=";
  cargoHash = "sha256-mEYfcv9GViTOB4WoV2tHpWrzcEEcGf0DI9hDhajDvpc=";

  nativeBuildInputs = [
    installShellFiles
@@ -30,6 +32,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
      --zsh <($out/bin/osc completion zsh)
  '';

  nativeCheckInputs = [
    cacert
  ];

  doInstallCheck = true;
  versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}";
  nativeInstallCheckInputs = [ versionCheckHook ];