2021-06-08 18:29:10 +02:00
|
|
|
{ lib, stdenv, fetchfossil }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "althttpd";
|
2021-07-19 14:42:09 +02:00
|
|
|
version = "unstable-2021-06-09";
|
2021-06-08 18:29:10 +02:00
|
|
|
|
|
|
|
src = fetchfossil {
|
|
|
|
url = "https://sqlite.org/althttpd/";
|
2021-07-19 14:42:09 +02:00
|
|
|
rev = "0d3b5e232c57e188";
|
|
|
|
sha256 = "sha256-vZwpjYYMdP/FgPTAQ9Kdh2RRMovpONqu2v73cCoYyxE=";
|
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;
|
|
|
|
};
|
|
|
|
}
|