summary refs log tree commit diff
path: root/pkgs/servers/althttpd/default.nix
blob: 4f1a128dd3885e35d2a02a2885ee4fc569deea87 (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
{ lib, stdenv, fetchfossil }:

stdenv.mkDerivation rec {
  pname = "althttpd";
  version = "unstable-2021-06-09";

  src = fetchfossil {
    url = "https://sqlite.org/althttpd/";
    rev = "0d3b5e232c57e188";
    sha256 = "sha256-vZwpjYYMdP/FgPTAQ9Kdh2RRMovpONqu2v73cCoYyxE=";
  };

  installPhase = ''
    install -Dm755 -t $out/bin althttpd
  '';

  meta = with lib; {
    description = "The Althttpd webserver";
    homepage = "https://sqlite.org/althttpd/";
    license = licenses.publicDomain;
    maintainers = with maintainers; [ siraben ];
    platforms = platforms.all;
  };
}