11 rustPlatform.buildRustPackage rec {
12 pname = "live-server";
15 src = fetchFromGitHub {
19 hash = "sha256-9NULpK48svCMTx1OeivS+LHVGUGFObg4pBr/V0yIuwM=";
22 cargoHash = "sha256-QB03sXAGNHu+Yc/UYcmOqYBS/LNbKSoT9PZa11prNtA=";
24 nativeBuildInputs = [ pkg-config ];
28 ++ lib.optionals stdenv.hostPlatform.isDarwin (
29 with darwin.apple_sdk.frameworks;
37 description = "Local network server with live reload feature for static pages";
38 downloadPage = "https://github.com/lomirus/live-server/releases";
39 homepage = "https://github.com/lomirus/live-server";
40 license = licenses.mit;
41 mainProgram = "live-server";
42 maintainers = [ maintainers.philiptaron ];
43 platforms = platforms.unix;