Skip to content

Commit

Permalink
packet: init at 20161215-2b8f07a
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Gloster <mail@glob.in>
  • Loading branch information
grahamc authored and globin committed Jan 19, 2017
1 parent 1b5d5e3 commit 003ae42
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 1 deletion.
27 changes: 27 additions & 0 deletions pkgs/development/tools/packet/default.nix
@@ -0,0 +1,27 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "packet-${version}";
version = "20161215-${stdenv.lib.strings.substring 0 7 rev}";
rev = "2b8f07ae2246e1a96e007233419867fa0d6747f9";

goPackagePath = "github.com/ebsarr/packet";

src = fetchFromGitHub {
inherit rev;
owner = "ebsarr";
repo = "packet";
sha256 = "1wchrm96ly5m1rcy9d51fs3xjswh746r27hgc410rksiahanzhff";
};

goDeps = ./deps.nix;

meta = {
description = "a CLI tool to manage packet.net services";
homepage = https://github.com/ebsarr/packet;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.grahamc ];
platforms = stdenv.lib.platforms.unix;
};
}
156 changes: 156 additions & 0 deletions pkgs/development/tools/packet/deps.nix
@@ -0,0 +1,156 @@
# This file was generated by go2nix.
[
{
goPackagePath = "github.com/cpuguy83/go-md2man";
fetch = {
type = "git";
url = "https://github.com/cpuguy83/go-md2man";
rev = "a65d4d2de4d5f7c74868dfa9b202a3c8be315aaa";
sha256 = "1rm3zjrmfpzy0l3qp02xmd5pqzl77pdql9pbxhl0k1qw2vfzrjv6";
};
}
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
type = "git";
url = "https://github.com/fsnotify/fsnotify";
rev = "fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197";
sha256 = "0jf7zmkypfl6v24xxnv12w55384diyabfp2m7ibafgafljwlg3ls";
};
}
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
rev = "eb6f65b2d77ed5078887f960ff570fbddbbeb49d";
sha256 = "1wx6hpxmq5sby54025j9hliz10gv5v0bq6q1z2cd0asznj154ij1";
};
}
{
goPackagePath = "github.com/magiconair/properties";
fetch = {
type = "git";
url = "https://github.com/magiconair/properties";
rev = "b3b15ef068fd0b17ddf408a23669f20811d194d2";
sha256 = "0m6jvlsi4bcnrfb4mas54wxp80d4ls209vhanvv20zgpy4y7qdsh";
};
}
{
goPackagePath = "github.com/mitchellh/mapstructure";
fetch = {
type = "git";
url = "https://github.com/mitchellh/mapstructure";
rev = "bfdb1a85537d60bc7e954e600c250219ea497417";
sha256 = "141kkh801jyp1r6hba14krydqg1iivp13j12is70j0g05z9fbji8";
};
}
{
goPackagePath = "github.com/packethost/packngo";
fetch = {
type = "git";
url = "https://github.com/packethost/packngo";
rev = "91a3a4f65e3cd6ee66d919b4e7103ae038ce66ff";
sha256 = "0v032qv9jjvv67fm2jl20pk4f46pymj688b6j0i42kpgmc9zxanz";
};
}
{
goPackagePath = "github.com/pelletier/go-buffruneio";
fetch = {
type = "git";
url = "https://github.com/pelletier/go-buffruneio";
rev = "df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d";
sha256 = "0jwn2g4jfdb3wvpqisd8h055099pwx6c5i3bb4zxk5l9vybg1c5f";
};
}
{
goPackagePath = "github.com/pelletier/go-toml";
fetch = {
type = "git";
url = "https://github.com/pelletier/go-toml";
rev = "a1f048ba24490f9b0674a67e1ce995d685cddf4a";
sha256 = "09fb872v64bvjgzp3a926ic5hm08pzy0i53j02yb93v38g4ihdv3";
};
}
{
goPackagePath = "github.com/spf13/afero";
fetch = {
type = "git";
url = "https://github.com/spf13/afero";
rev = "72b31426848c6ef12a7a8e216708cb0d1530f074";
sha256 = "0sbmpv1zxxl32nsv76bp3n3zp08in2yz4fv02mjzaws9rk97yfj8";
};
}
{
goPackagePath = "github.com/spf13/cast";
fetch = {
type = "git";
url = "https://github.com/spf13/cast";
rev = "56a7ecbeb18dde53c6db4bd96b541fd9741b8d44";
sha256 = "16fj6ghk7wykcfh3ka4iyhl1s11briawrvscncb6l64dv794w2cr";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "1dd5ff2e11b6dca62fdcb275eb804b94607d8b06";
sha256 = "0whzk9yz0yby9vag9m7hk4n1kwa07qcgi6wizvw20j0y30d31hgx";
};
}
{
goPackagePath = "github.com/spf13/jwalterweatherman";
fetch = {
type = "git";
url = "https://github.com/spf13/jwalterweatherman";
rev = "fa7ca7e836cf3a8bb4ebf799f472c12d7e903d66";
sha256 = "0404b7bzx7cq1b2bgdb3gs7gjzm4vvg1hl2y9mcm4m6vz56vbcz8";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "51268031d79952516489a9f8aa34e9709b98d946";
sha256 = "04qkkm2gjklh66hx3zj4jm6v0bdxvyq6rchs4r0k87aba7syw008";
};
}
{
goPackagePath = "github.com/spf13/viper";
fetch = {
type = "git";
url = "https://github.com/spf13/viper";
rev = "5ed0fc31f7f453625df314d8e66b9791e8d13003";
sha256 = "16j2lly6rv60hc7mpbmda9vp1vs1qhig9kjgf6mss7n6my40s3ga";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d75a52659825e75fff6158388dddc6a5b04f9ba5";
sha256 = "0zbv11kq5d8dxiddd4kzr785gbwb7x8d7lq4rqs5s7s43h0pl3x7";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "11dbc599981ccdf4fb18802a28392a8bcf7a9395";
sha256 = "139hlf5xr5ggy48dbrfya3ajy7q3z3y6p6lrvkvl6m5wxfapa9hj";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a5b47d31c556af34a302ce5d659e6fea44d90de0";
sha256 = "0v6l48fshdjrqzyq1kwn22gy7vy434xdr1i0lm3prsf6jbln9fam";
};
}
]
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -3666,7 +3666,7 @@ in
rtorrent = callPackage ../tools/networking/p2p/rtorrent { };

rubber = callPackage ../tools/typesetting/rubber { };

rubocop = callPackage ../development/tools/rubocop { };

runningx = callPackage ../tools/X11/runningx { };
Expand Down Expand Up @@ -14477,6 +14477,8 @@ in

paraview = callPackage ../applications/graphics/paraview { };

packet = callPackage ../development/tools/packet { };

pbrt = callPackage ../applications/graphics/pbrt { };

pcsxr = callPackage ../misc/emulators/pcsxr {
Expand Down

0 comments on commit 003ae42

Please sign in to comment.