1 { lib, fetchFromGitHub, stdenv }:
7 src = fetchFromGitHub {
10 rev = "acdf0e1491204ae30622a60fde0bcae4769f78be";
11 sha256 = "1inf9ngrbxmkkdhqf1xday12nf0hxjxlx1810phkmivyyp6fl3nj";
15 serviceDir=$out/share/dbus-1/system-services
17 cp kwakd.service $serviceDir/
18 substituteInPlace $serviceDir/kwakd.service \
19 --replace "kwakd -p 80" "$out/bin/kwakd -p 80"
23 description = "Super small webserver that serves blank pages";
24 mainProgram = "kwakd";
25 license = licenses.gpl2Only;
26 maintainers = [ maintainers.nicknovitski ];
27 platforms = platforms.unix;