nixpkgs/pkgs/servers/http/micro-httpd/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
707 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation {
pname = "micro-httpd";
version = "20140814";
src = fetchurl {
url = "https://acme.com/software/micro_httpd/micro_httpd_14Aug2014.tar.gz";
sha256 = "0mlm24bi31s0s8w55i0sysv2nc1n2x4cfp6dm47slz49h2fz24rk";
};
preBuild = ''
makeFlagsArray=(BINDIR="$out/bin" MANDIR="$out/share/man/man8")
mkdir -p $out/bin
mkdir -p $out/share/man/man8
'';
meta = with lib; {
homepage = "http://acme.com/software/micro_httpd/";
description = "Really small HTTP server";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ copumpkin ];
mainProgram = "micro_httpd";
};
}