depot/third_party/nixpkgs/pkgs/servers/microserver/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

22 lines
620 B
Nix

{ 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;
};
}