forked from mirrors/nixpkgs
s3gof3r: extracted from goPackages
This commit is contained in:
parent
93b9ebfde8
commit
e44d38125c
|
@ -98,15 +98,6 @@
|
|||
"sha256": "152lrkfxk205rlxiign0w5wb0fmfh910yz4jhlv4f4l1qr1h2lx8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/jessevdk/go-flags",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jessevdk/go-flags",
|
||||
"rev": "97448c91aac742cbca3d020b3e769013a420a06f",
|
||||
"sha256": "0fv3yxvq8m3639a279hq4pf0c52ngqfl5n1vklcfympndrb7zjzj"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "gopkg.in/mgo.v2",
|
||||
"fetch": {
|
||||
|
@ -376,5 +367,14 @@
|
|||
"rev": "9955b0ab8708602d411341e55fffd7e0700f86bd",
|
||||
"sha256": "11wncbbbrdcxl5ff3h6w8vqfg4bxsf8709mh6vda0cv236flkyn3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/jessevdk/go-flags",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jessevdk/go-flags",
|
||||
"rev": "1b89bf73cd2c3a911d7b2a279ab085c4a18cf539",
|
||||
"sha256": "027nglc5xx1cm03z9sisg0iqrhwcj6gh5z254rrpl8p4fwrxx680"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
20
pkgs/tools/networking/s3gof3r/default.nix
Normal file
20
pkgs/tools/networking/s3gof3r/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
# This file was generated by go2nix.
|
||||
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "s3gof3r-${version}";
|
||||
version = "20151109-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
rev = "31603a0dc94aefb822bfe2ceea75a6be6013b445";
|
||||
|
||||
goPackagePath = "github.com/rlmcpherson/s3gof3r";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/rlmcpherson/s3gof3r";
|
||||
sha256 = "10banc8hnhxpsdmlkf9nc5fjkh1349bgpd9k7lggw3yih1rvmh7k";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
}
|
8
pkgs/tools/networking/s3gof3r/deps.json
Normal file
8
pkgs/tools/networking/s3gof3r/deps.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
{
|
||||
"include": "../../../go-modules/libs.json",
|
||||
"packages": [
|
||||
"github.com/jessevdk/go-flags"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -3237,7 +3237,7 @@ in
|
|||
|
||||
s3cmd = callPackage ../tools/networking/s3cmd { };
|
||||
|
||||
s3gof3r = goPackages.s3gof3r.bin // { outputs = [ "bin" ]; };
|
||||
s3gof3r = (callPackage ../tools/networking/s3gof3r { }).bin;
|
||||
|
||||
s6Dns = callPackage ../tools/networking/s6-dns { };
|
||||
|
||||
|
|
|
@ -3387,16 +3387,6 @@ let
|
|||
sha256 = "0g9fj10xnxcv034c8hpcgbhswv6as0d8l176c5nfgh1lh6klmmzc";
|
||||
};
|
||||
|
||||
s3gof3r = buildFromGitHub rec {
|
||||
owner = "rlmcpherson";
|
||||
repo = "s3gof3r";
|
||||
rev = "v${version}";
|
||||
version = "0.5.0";
|
||||
sha256 = "10banc8hnhxpsdmlkf9nc5fjkh1349bgpd9k7lggw3yih1rvmh7k";
|
||||
disabled = isGo14;
|
||||
propagatedBuildInputs = [ go-flags ];
|
||||
};
|
||||
|
||||
sandblast = buildGoPackage rec {
|
||||
rev = "694d24817b9b7b8bacb6d458b7989b30d7fe3555";
|
||||
name = "sandblast-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
|
|
Loading…
Reference in a new issue