2019-04-28 18:03:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-11-23 21:04:54 +00:00
|
|
|
|
2019-04-28 18:03:54 +01:00
|
|
|
buildGoModule {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "echoip";
|
2018-11-23 21:04:54 +00:00
|
|
|
version = "unstable-2018-11-20";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mpolden";
|
|
|
|
repo = "echoip";
|
|
|
|
rev = "4bfaf671b9f75a7b2b37543b2991401cbf57f1f0";
|
|
|
|
sha256 = "0n5d9i8cc5lqgy5apqd3zhyl3h1xjacf612z8xpvbm75jnllcvxy";
|
|
|
|
};
|
|
|
|
|
2019-04-28 18:03:54 +01:00
|
|
|
modSha256 = "025p891klwpid5fw4z39fimgfkwgkcwqpn5276hflzdp1hfv35ly";
|
2018-11-23 21:04:54 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp $src/index.html $out/index.html
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/mpolden/echoip;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
};
|
|
|
|
}
|