about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/althttpd/default.nix
blob: dfb073aa11fbe1c15cca8c0a0f11ad4af82ee6c9 (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-05-07";

  src = fetchfossil {
    url = "https://sqlite.org/althttpd/";
    rev = "2c5e3f9f7051a578";
    sha256 = "sha256-+RuogtQAc+zjCWTOiOunu1pXf3LxfdWYQX+24ysJ7uY=";
  };

  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;
  };
}