diff options
author | Markus Kohlhase <markus.kohlhase@slowtec.de> | 2020-09-11 11:39:09 +0200 |
---|---|---|
committer | Markus Kohlhase <markus.kohlhase@slowtec.de> | 2020-09-12 12:56:36 +0200 |
commit | 4ed3c35fd9c0a5290eab7c0f88b0123ea1b7cf2d (patch) | |
tree | 06e327d34cc3c95828f06ec85c05dea1559f0047 /pkgs/servers/microserver | |
parent | 786d9316ad2dd77ebc9e72e47f64698095b25962 (diff) |
microserver: init at 0.1.8
Diffstat (limited to 'pkgs/servers/microserver')
-rw-r--r-- | pkgs/servers/microserver/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/servers/microserver/default.nix b/pkgs/servers/microserver/default.nix new file mode 100644 index 000000000000..9132ef9672bd --- /dev/null +++ b/pkgs/servers/microserver/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "microserver"; + version = "0.1.8"; + + src = fetchFromGitHub { + owner = "robertohuertasm"; + repo = "microserver"; + rev = "v${version}"; + sha256 = "1i9689ra5jnmhkxabrx4zcp5f422w9ql9m4xzldqwmpnckm736v6"; + }; + + cargoSha256 = "1yn3xmmhpixiviayicl2szlzfjx5crffp3pq75d5nz6ky3miai9l"; + + meta = with stdenv.lib; { + homepage = "https://github.com/robertohuertasm/microserver"; + description = "Simple ad-hoc server with SPA support"; + maintainers = with maintainers; [ flosse ]; + license = licenses.mit; + }; +} |