Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
644 B · 27 lines
Nix
12345678910111213141516171819202122232425262728{ 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"; };}