2022-01-12 06:04:10 +01:00
|
|
|
{ lib, stdenv, fetchfossil, openssl }:
|
2021-06-08 18:29:10 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "althttpd";
|
2022-01-12 06:04:10 +01:00
|
|
|
version = "unstable-2022-01-10";
|
2021-06-08 18:29:10 +02:00
|
|
|
|
|
|
|
src = fetchfossil {
|
|
|
|
url = "https://sqlite.org/althttpd/";
|
2022-01-12 06:04:10 +01:00
|
|
|
rev = "83196564d05f33c3";
|
|
|
|
sha256 = "sha256-z/XMVnDihcO56kJaXIJGUUdnz8mR5jlySrLZX1tkV5c=";
|
2021-06-08 18:29:10 +02:00
|
|
|
};
|
|
|
|
|
2022-01-12 06:04:10 +01:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-06-08 18:29:10 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|