Unverified Commit 930811b6 authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

miniserve: 0.31.0 -> 0.32.0 (#443622)

parents a48aa799 740ab639
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -10,29 +10,20 @@
  curl,
  versionCheckHook,
  nix-update-script,
  fetchpatch,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "miniserve";
  version = "0.31.0";
  version = "0.32.0";

  src = fetchFromGitHub {
    owner = "svenstaro";
    repo = "miniserve";
    tag = "v${finalAttrs.version}";
    hash = "sha256-sSCS5jHhu0PBF/R3YqbR9krZghNNa2cPkLkK8kvWWd4=";
    hash = "sha256-9x2LGJwPf6QEvHvGD8i9Bz3tV8DNAtd9Wp9tXsbI2qo=";
  };

  patches = [
    (fetchpatch {
      name = "upload.patch";
      url = "https://github.com/svenstaro/miniserve/commit/d41ade0d79e2c175515701350f763dd461c55964.patch";
      hash = "sha256-2xQPcJFjlvrCeobuDXm+eVZzDsKoQoZL7OXEJxncX5k=";
    })
  ];

  cargoHash = "sha256-Gb1k4sd2/OV1GskFZBn7EapZTlhb9LK19lJHVP7uCK0=";
  cargoHash = "sha256-JVzWmo+28K1kG4QaiAkGgBr8kkdfqoylJBWi+Fo9L6c=";

  nativeBuildInputs = [
    pkg-config