depot/third_party/nixpkgs/pkgs/servers/http/micro-httpd/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

26 lines
676 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 = "A really small HTTP server";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ copumpkin ];
};
}