Unverified Commit c67bae8c authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

live-server: 0.10.0 -> 0.10.1 (#416958)

parents a6faa853 c5454daa
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
@@ -4,33 +4,37 @@
  fetchFromGitHub,
  openssl,
  pkg-config,
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "live-server";
  version = "0.10.0";
  version = "0.10.1";

  src = fetchFromGitHub {
    owner = "lomirus";
    repo = "live-server";
    rev = "v${version}";
    hash = "sha256-8NM3XJ7RC7cUNKN1DPW2huvkx7tfA8zDrETkwDMbaT8=";
    rev = "v${finalAttrs.version}";
    hash = "sha256-0IP7F8+Vdl/h4+zcghRqowvzz6zjQYDTjMSZPuGOOj4=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-tUKhVDv+ZDGRpJC/sSYcQxYhGsAyOsflc+GeUyBaeEk=";
  cargoHash = "sha256-MMeeUoj3vYd1lv15N3+qjHbn991IVMhIUCMd0isCNhk=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ];

  meta = with lib; {
  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Local network server with live reload feature for static pages";
    downloadPage = "https://github.com/lomirus/live-server/releases";
    homepage = "https://github.com/lomirus/live-server";
    license = licenses.mit;
    changelog = "https://github.com/lomirus/live-server/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    mainProgram = "live-server";
    maintainers = [ maintainers.philiptaron ];
    platforms = platforms.unix;
    maintainers = [ lib.maintainers.philiptaron ];
    platforms = lib.platforms.unix;
  };
}
})