nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 642 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "microserver"; 9 version = "0.2.1"; 10 11 src = fetchFromGitHub { 12 owner = "robertohuertasm"; 13 repo = "microserver"; 14 rev = "v${version}"; 15 sha256 = "sha256-VgzOdJ1JLe0acjRYvaysCPox5acFmc4VD2f6HZWxT8M="; 16 }; 17 18 cargoHash = "sha256-IPJJ9kv7gf5l7Y2JLCLjkNFao42h/VmkTd3LF5BCMLU="; 19 20 meta = { 21 homepage = "https://github.com/robertohuertasm/microserver"; 22 description = "Simple ad-hoc server with SPA support"; 23 maintainers = with lib.maintainers; [ flosse ]; 24 license = lib.licenses.mit; 25 mainProgram = "microserver"; 26 }; 27}