mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
30 lines
683 B
Nix
30 lines
683 B
Nix
{ lib, stdenv, fetchfossil, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "althttpd";
|
|
version = "unstable-2023-08-12";
|
|
|
|
src = fetchfossil {
|
|
url = "https://sqlite.org/althttpd/";
|
|
rev = "c0bdc68e6c56ef25";
|
|
sha256 = "sha256-VoDR5MlVlvar9wYA0kUhvDQVjxDwsZlqrNR3u4Tqw5c=";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
makeFlags = [ "CC:=$(CC)" ];
|
|
|
|
installPhase = ''
|
|
install -Dm755 -t $out/bin althttpd
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Althttpd webserver";
|
|
homepage = "https://sqlite.org/althttpd/";
|
|
license = licenses.publicDomain;
|
|
maintainers = with maintainers; [ siraben ];
|
|
platforms = platforms.all;
|
|
mainProgram = "althttpd";
|
|
};
|
|
}
|