wego: extracted from goPackages

This commit is contained in:
Kamil Chmielewski 2016-06-03 18:30:38 +02:00
parent d010d39e15
commit 17770101b5
5 changed files with 40 additions and 10 deletions

View File

@ -0,0 +1,20 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
buildGoPackage rec {
name = "wego-${version}";
version = "20160407-${stdenv.lib.strings.substring 0 7 rev}";
rev = "81d72ffd761f032fbd73dba4f94bd94c8c2d53d5";
goPackagePath = "github.com/schachmat/wego";
src = fetchgit {
inherit rev;
url = "https://github.com/schachmat/wego";
sha256 = "14p3hvv82bsxqnbnzz8hjv75i39kzg154a132n6cdxx3vgw76gck";
};
goDeps = ./deps.json;
}

View File

@ -0,0 +1,10 @@
[
{
"include": "../../libs.json",
"packages": [
"github.com/mattn/go-colorable",
"github.com/mattn/go-runewidth",
"github.com/schachmat/ingo"
]
}
]

View File

@ -466,5 +466,14 @@
"rev": "406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8",
"sha256": "0yla9hz15pg63394ygs9iiwzsqyv29labl8p424hijwsc9z9nka8"
}
},
{
"goPackagePath": "github.com/schachmat/ingo",
"fetch": {
"type": "git",
"url": "https://github.com/schachmat/ingo",
"rev": "fab41e4e62cbef5d92998746ec25f7e195100f38",
"sha256": "04yfnch7pdabjjqfl2qxjmsaknvp4m1rbjlv8qrpmnqwjkxzx0hb"
}
}
]

View File

@ -3714,7 +3714,7 @@ in
weather = callPackage ../applications/misc/weather { };
wego = goPackages.wego.bin // { outputs = [ "bin" ]; };
wego = (callPackage ../applications/misc/wego { }).bin;
wal_e = callPackage ../tools/backup/wal-e { };

View File

@ -4008,15 +4008,6 @@ let
propagatedBuildInputs = [ ];
};
wego = buildFromGitHub rec {
rev = "81d72ffd761f032fbd73dba4f94bd94c8c2d53d5";
version = "2016-04-07";
owner = "schachmat";
repo = "wego";
sha256 = "14p3hvv82bsxqnbnzz8hjv75i39kzg154a132n6cdxx3vgw76gck";
propagatedBuildInputs = [ go-colorable mattn.go-runewidth ingo ];
};
textql = buildFromGitHub rec {
rev = "1785cd353c68aa34f97627143b9c2908dfd4ea04";
version = "2.0.3";