2022-01-12 05:04:10 +00:00
|
|
|
{ lib, stdenv, fetchfossil, openssl }:
|
2021-06-08 16:29:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "althttpd";
|
2022-08-13 11:58:55 +00:00
|
|
|
version = "unstable-2022-08-12";
|
2021-06-08 16:29:10 +00:00
|
|
|
|
|
|
|
src = fetchfossil {
|
|
|
|
url = "https://sqlite.org/althttpd/";
|
2022-08-13 11:58:55 +00:00
|
|
|
rev = "823a1d985d4bacaa";
|
|
|
|
sha256 = "sha256-yfVsOfqtHw9ftnK5B4RWeRR/ygfsTEDm7fFSaVxsCas=";
|
2021-06-08 16:29:10 +00:00
|
|
|
};
|
|
|
|
|
2022-01-12 05:04:10 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2022-08-13 11:58:55 +00:00
|
|
|
makeFlags = [ "CC:=$(CC)" ];
|
|
|
|
|
2021-06-08 16:29:10 +00: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;
|
|
|
|
};
|
|
|
|
}
|