2015-05-28 03:15:42 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "micro-httpd-20140814";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://acme.com/software/micro_httpd/micro_httpd_14Aug2014.tar.gz";
|
2015-05-28 03:15:42 +00:00
|
|
|
sha256 = "0mlm24bi31s0s8w55i0sysv2nc1n2x4cfp6dm47slz49h2fz24rk";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(BINDIR="$out/bin" MANDIR="$out/share/man/man8")
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man8
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://acme.com/software/micro_httpd/";
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A really small HTTP server";
|
2015-05-28 03:15:42 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|