1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
14 cargoLock.lockFile = ./Cargo.lock;
16 cp ${./Cargo.lock} Cargo.lock
22 description = "Fast production-ready static web server";
23 homepage = "https://github.com/mufeedvh/binserve";
25 A fast production-ready static web server with TLS
26 (HTTPS), routing, hot reloading, caching, templating, and security in a
27 single-binary you can set up with zero code
29 license = licenses.mit;
30 maintainers = with maintainers; [ snapdgn ];
31 platforms = platforms.unix;
32 mainProgram = "binserve";