{
  lib,
  rustPlatform,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "pijul-srv-lite";
  version = "0.1.0";

  src = ../..;

  cargoLock = {
    lockFile = ../../Cargo.lock;
  };

  meta = {
    description = "Minimal HTTP server for Pijul repositories";
    homepage = "https://github.com/toastal/h2o-pijul";
    license = lib.licenses.lgpl21Plus;
    maintainers = with lib.maintainers; [
      tetov
      toastal
    ];
  };
})