@@ -0,0 +1,22 @@
1+{ stdenv, fetchFromGitHub, rustPlatform }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "microserver";
5+ version = "0.1.8";
6+
7+ src = fetchFromGitHub {
8+ owner = "robertohuertasm";
9+ repo = "microserver";
10+ rev = "v${version}";
11+ sha256 = "1i9689ra5jnmhkxabrx4zcp5f422w9ql9m4xzldqwmpnckm736v6";
12+ };
13+
14+ cargoSha256 = "1yn3xmmhpixiviayicl2szlzfjx5crffp3pq75d5nz6ky3miai9l";
15+
16+ meta = with stdenv.lib; {
17+ homepage = "https://github.com/robertohuertasm/microserver";
18+ description = "Simple ad-hoc server with SPA support";
19+ maintainers = with maintainers; [ flosse ];
20+ license = licenses.mit;
21+ };
22+}