mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
echoip: init at unstable-2018-11-20
This commit is contained in:
parent
7d928f6be6
commit
fc42a76d93
30
pkgs/servers/echoip/default.nix
Normal file
30
pkgs/servers/echoip/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "echoip-${version}";
|
||||
version = "unstable-2018-11-20";
|
||||
|
||||
goPackagePath = "github.com/mpolden/echoip";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpolden";
|
||||
repo = "echoip";
|
||||
rev = "4bfaf671b9f75a7b2b37543b2991401cbf57f1f0";
|
||||
sha256 = "0n5d9i8cc5lqgy5apqd3zhyl3h1xjacf612z8xpvbm75jnllcvxy";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
outputs = [ "bin" "out" ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
74
pkgs/servers/echoip/deps.nix
generated
Normal file
74
pkgs/servers/echoip/deps.nix
generated
Normal file
@ -0,0 +1,74 @@
|
||||
# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
|
||||
[
|
||||
|
||||
{
|
||||
goPackagePath = "github.com/davecgh/go-spew";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/davecgh/go-spew";
|
||||
rev = "v1.1.1";
|
||||
sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
goPackagePath = "github.com/jessevdk/go-flags";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/jessevdk/go-flags";
|
||||
rev = "v1.4.0";
|
||||
sha256 = "0algnnigph27spgn655zm4723yfjxjjvlf4k14z9drj3682df25a";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
goPackagePath = "github.com/oschwald/geoip2-golang";
|
||||
fetch = {
|
||||
type = "FromGitHub";
|
||||
owner = "oschwald";
|
||||
repo = "geoip2-golang";
|
||||
rev = "v1.2.1";
|
||||
sha256 = "0zpgpz577rghvgis6ji9l99pq87z5izbgzmnbyn3dy533bayrgpw";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
goPackagePath = "github.com/oschwald/maxminddb-golang";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/oschwald/maxminddb-golang";
|
||||
rev = "v1.2.1";
|
||||
sha256 = "0nlip5a2yiig0sv9y3ky4kn8730236wal3zjcs4yfgnw6nxl3rjr";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
goPackagePath = "github.com/pmezard/go-difflib";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pmezard/go-difflib";
|
||||
rev = "v1.0.0";
|
||||
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
goPackagePath = "github.com/stretchr/testify";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/stretchr/testify";
|
||||
rev = "v1.2.2";
|
||||
sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "37707fdb30a5";
|
||||
sha256 = "1abrr2507a737hdqv4q7pw7hv6ls9pdiq9crhdi52r3gcz6hvizg";
|
||||
};
|
||||
}
|
||||
]
|
@ -16370,6 +16370,8 @@ with pkgs;
|
||||
|
||||
eaglemode = callPackage ../applications/misc/eaglemode { };
|
||||
|
||||
echoip = callPackage ../servers/echoip { };
|
||||
|
||||
eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse {
|
||||
jdk = jdk11;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user