darkhttpd: drive-by cleanup
This commit is contained in:
parent
57d324877f
commit
a089d80e15
|
@ -12,19 +12,16 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
# install darkhttpd
|
install -Dm555 -t $out/bin darkhttpd
|
||||||
install -Dm755 "darkhttpd" "$out/bin/darkhttpd"
|
install -Dm444 -t $out/share/doc/${pname} README
|
||||||
|
head -n 18 darkhttpd.c > $out/share/doc/${pname}/LICENSE
|
||||||
# install license
|
|
||||||
install -d "$out/share/licenses/darkhttpd"
|
|
||||||
head -n 18 darkhttpd.c > "$out/share/licenses/darkhttpd/LICENSE"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Small and secure static webserver";
|
description = "Small and secure static webserver";
|
||||||
homepage = "https://unix4lyfe.org/darkhttpd/";
|
homepage = "https://unix4lyfe.org/darkhttpd/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ bobvanderlinden ];
|
maintainers = with maintainers; [ bobvanderlinden ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue