2025-07-26 11:39:35 +02:00

28 lines
644 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "microserver";
version = "0.2.1";
src = fetchFromGitHub {
owner = "robertohuertasm";
repo = "microserver";
rev = "v${version}";
sha256 = "sha256-VgzOdJ1JLe0acjRYvaysCPox5acFmc4VD2f6HZWxT8M=";
};
cargoHash = "sha256-IPJJ9kv7gf5l7Y2JLCLjkNFao42h/VmkTd3LF5BCMLU=";
meta = with lib; {
homepage = "https://github.com/robertohuertasm/microserver";
description = "Simple ad-hoc server with SPA support";
maintainers = with maintainers; [ flosse ];
license = licenses.mit;
mainProgram = "microserver";
};
}