blob: ae6057c34697a0d825442dd96e6ccf0bb64c0a38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule {
pname = "echoip";
version = "unstable-2019-07-12";
src = fetchFromGitHub {
owner = "mpolden";
repo = "echoip";
rev = "fb5fac92d2173c2a5b07ed4ecc7b5fefe8484ed2";
sha256 = "17gkh1qfxasvxy25lmjdwk5fsjkcp7lmw9si3xzf01m7qnj5zi4b";
};
modSha256 = "025p891klwpid5fw4z39fimgfkwgkcwqpn5276hflzdp1hfv35ly";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
outputs = [ "out" "index" ];
postInstall = ''
mkdir -p $index
cp $src/index.html $index/index.html
'';
meta = with stdenv.lib; {
homepage = https://github.com/mpolden/echoip;
license = licenses.bsd3;
maintainers = with maintainers; [ rvolosatovs ];
};
}
|