Commit 1678f4ec authored by Gabriel Simmer's avatar Gabriel Simmer Committed by Yt
Browse files

worker-build: 0.0.17 -> 0.0.18

Somewhere along the way, a git dependency was added, meaning the cargoHash no longer
worked.
parent 3d958404
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -2,16 +2,21 @@

rustPlatform.buildRustPackage rec {
  pname = "worker-build";
  version = "0.0.17";
  version = "0.0.18";

  src = fetchFromGitHub {
    owner = "cloudflare";
    repo = "workers-rs";
    rev = "v${version}";
    sha256 = "sha256-siKIE+RHAnZ8Lj3kWg7jEVo5t10dqc59OMrro26ClWo=";
    sha256 = "sha256-z6m14IbMzgycwnQpA28e4taokDSVpfZOKIRmFIwLjbg=";
  };

  cargoHash = "sha256-j6WG8pRM6fIvMeXDdkjzRREE9tIug0w+UwWdOmPao4U=";
  cargoLock = {
    lockFile = "${src}/Cargo.lock";
    outputHashes = {
      "postgres-protocol-0.6.5" = "sha256-xLyaappu7ebtKOoHY49dvjDEcuRg8IOv1bNH9RxSUcM=";
    };
  };

  buildInputs = lib.optionals stdenv.isDarwin [ Security ];

@@ -22,7 +27,7 @@ rustPlatform.buildRustPackage rec {

  meta = with lib; {
    description = "This is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project.";
    homepage = "https://github.com/cloudflare/worker-rs";
    homepage = "https://github.com/cloudflare/workers-rs";
    license = with licenses; [ asl20 /* or */ mit ];
    maintainers = with maintainers; [ happysalada ];
  };