Unverified Commit 79037127 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #229415 from Mic92/harmonia

harmonia: 0.6.1 -> 0.6.2
parents 72453271 4408e386
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -5,20 +5,21 @@
, nix
, pkg-config
, rustPlatform
, nix-update-script
}:

rustPlatform.buildRustPackage rec {
  pname = "harmonia";
  version = "0.6.1";
  version = "0.6.2";

  src = fetchFromGitHub {
    owner = "nix-community";
    repo = pname;
    rev = "refs/tags/${pname}-v${version}";
    hash = "sha256-fT9CJ/WAH5ESU4Ja062U/qNWDmhEfHI1XctnFjgBJ+A=";
    hash = "sha256-mMwKth54SCy7Acuhf4D04XP070Zf1mzCR+s7cvpsnQE=";
  };

  cargoHash = "sha256-rcA94i7JDUBH2JrbWbEQLBMV9R1rBXnS3pNEmbOUr9c=";
  cargoHash = "sha256-XwfSTaw98xB6bRFIBS4FmLp7aoEGKAbKzbWS32l5C9Y=";

  nativeBuildInputs = [
    pkg-config nix
@@ -30,6 +31,12 @@ rustPlatform.buildRustPackage rec {
    nix
  ];

  passthru = {
    updateScript = nix-update-script {
      extraArgs = [ "--version-regex" "harmonia-v(.*)" ];
    };
  };

  meta = with lib; {
    description = "Nix binary cache";
    homepage = "https://github.com/helsinki-systems/harmonia";