nixpkgs/pkgs/servers/althttpd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
687 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchfossil, openssl }:
2021-06-08 18:29:10 +02:00
stdenv.mkDerivation rec {
pname = "althttpd";
version = "unstable-2023-08-12";
2021-06-08 18:29:10 +02:00
src = fetchfossil {
url = "https://sqlite.org/althttpd/";
rev = "c0bdc68e6c56ef25";
sha256 = "sha256-VoDR5MlVlvar9wYA0kUhvDQVjxDwsZlqrNR3u4Tqw5c=";
2021-06-08 18:29:10 +02:00
};
buildInputs = [ openssl ];
makeFlags = [ "CC:=$(CC)" ];
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;
2023-11-27 02:17:53 +01:00
mainProgram = "althttpd";
2021-06-08 18:29:10 +02:00
};
}