summaryrefslogtreecommitdiff
path: root/Biz/Bild/Deps/gmnisrv.nix
blob: 8c587a63aff035cace6044f9f3ca0e0797640ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{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;
  };
}