Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / http / micro-httpd / default.nix
blob2ab15979026660d940eee512fb06a240d84e606e
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation {
4   pname = "micro-httpd";
5   version = "20140814";
7   src = fetchurl {
8     url   = "https://acme.com/software/micro_httpd/micro_httpd_14Aug2014.tar.gz";
9     sha256 = "0mlm24bi31s0s8w55i0sysv2nc1n2x4cfp6dm47slz49h2fz24rk";
10   };
12   preBuild = ''
13     makeFlagsArray=(BINDIR="$out/bin" MANDIR="$out/share/man/man8")
14     mkdir -p $out/bin
15     mkdir -p $out/share/man/man8
16   '';
18   meta = with lib; {
19     homepage    = "http://acme.com/software/micro_httpd/";
20     description = "Really small HTTP server";
21     license     = licenses.bsd2;
22     platforms   = platforms.unix;
23     maintainers = with maintainers; [ copumpkin ];
24     mainProgram = "micro_httpd";
25   };