Unverified Commit cff74769 authored by a-kenji's avatar a-kenji Committed by GitHub
Browse files

harmonia: 0.8.0 -> 1.0.0 (#333897)

parent 8f87eff2
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
, fetchFromGitHub
, libsodium
, nixVersions
, nlohmann_json
, openssl
, pkg-config
, rustPlatform
, nix-update-script
@@ -11,27 +13,29 @@

rustPlatform.buildRustPackage rec {
  pname = "harmonia";
  version = "0.8.0";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "nix-community";
    repo = pname;
    rev = "refs/tags/${pname}-v${version}";
    hash = "sha256-+V0V/l9Q7HR3J0aH1UWc1qHrpGiRWd6B4R+3MECFORg=";
    repo = "harmonia";
    rev = "refs/tags/harmonia-v${version}";
    hash = "sha256-S5UU6/JZzp4mJKplhpJjcACr+M1rQCFQFWuyk9Wwumg=";
  };

  cargoHash = "sha256-3Nx1YXjbYVOD7pYgI9Cp5Vsxv1j1XeX6pCl4+Q1OtVs=";
  cargoHash = "sha256-iCltPaWNq9vWgPfjNYikoU25X8wzlM4ruYI+WgHYv7U=";

  doCheck = false;

  nativeBuildInputs = [
    pkg-config nixVersions.nix_2_21
    pkg-config nixVersions.nix_2_24
  ];

  buildInputs = [
    boost
    libsodium
    nixVersions.nix_2_21
    openssl
    nlohmann_json
    nixVersions.nix_2_24
  ];

  passthru = {