{stdenv, fetchgit, pkg-config, openssl, mailcap, scdoc}: stdenv.mkDerivation rec { name = "gmnvisrv"; version = "f23ec10a"; src = fetchgit { url = "https://git.sr.ht/~sircmpwn/gmnisrv"; rev = version; sha256 = "1d9rjx0s092yfzjxd2yvzixhqgg883nlnmsysgp21w75n2as354n"; }; MIMEDB = "${mailcap}/etc/mime.types"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl mailcap scdoc ]; meta = with stdenv.lib; { description = "A simple Gemini protocol server"; homepage = "https://git.sr.ht/~sircmpwn/gmnisrv"; license = licenses.gpl3; maintainers = with maintainers; [ bsima ]; platforms = platforms.all; }; }