about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/rust/devserver/default.nix
blob: 9e4545e5e87e91975ce5f85f3dd54291606eea5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, fetchCrate
, rustPlatform
, openssl
, pkg-config
}:

rustPlatform.buildRustPackage rec {
  pname = "devserver";
  version = "0.4.0";

  src = fetchCrate {
    inherit pname version;
    sha256 = "sha256-UcrLzsALwl0zqNRMS1kTTXsR6wN8XDd5Iq+yrudh6M4=";
  };

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ];

  cargoSha256 = "sha256-XlrQ6CvjeWnzvfaeNbe8FtMXMVSQNLxDVIEjyHm57Js=";

  meta = with lib; {
    description = "An extremely tiny tool to serve a static folder locally";
    homepage = "https://github.com/kettle11/devserver";
    license = licenses.zlib;
    maintainers = with maintainers; [ nickhu ];
  };
}