2022-01-13 20:06:32 +00:00
|
|
|
{ lib, stdenv, fetchfossil, openssl }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "althttpd";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "unstable-2023-08-12";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchfossil {
|
|
|
|
url = "https://sqlite.org/althttpd/";
|
2023-10-19 13:55:26 +00:00
|
|
|
rev = "c0bdc68e6c56ef25";
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-VoDR5MlVlvar9wYA0kUhvDQVjxDwsZlqrNR3u4Tqw5c=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
makeFlags = [ "CC:=$(CC)" ];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 -t $out/bin althttpd
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Althttpd webserver";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://sqlite.org/althttpd/";
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "althttpd";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|