2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-05-28 05:15:42 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2021-07-25 23:53:02 +02:00
|
|
|
pname = "micro-httpd";
|
|
|
|
version = "20140814";
|
2015-05-28 05:15:42 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://acme.com/software/micro_httpd/micro_httpd_14Aug2014.tar.gz";
|
2015-05-28 05:15:42 +02:00
|
|
|
sha256 = "0mlm24bi31s0s8w55i0sysv2nc1n2x4cfp6dm47slz49h2fz24rk";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(BINDIR="$out/bin" MANDIR="$out/share/man/man8")
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man8
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-05-28 05:15:42 +02:00
|
|
|
homepage = "http://acme.com/software/micro_httpd/";
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A really small HTTP server";
|
2015-05-28 05:15:42 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
2022-04-01 21:34:55 +02:00
|
|
|
mainProgram = "micro_httpd";
|
2015-05-28 05:15:42 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|