shadowfox: 1.5.2 -> 1.7.20, move to buildGoModule (#59972)

This commit is contained in:
Will Dietz 2019-04-21 23:06:31 -05:00 committed by Wael Nasreddine
parent eb60ddb5d2
commit 54084dd821
2 changed files with 7 additions and 81 deletions

View File

@ -1,18 +1,19 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoPackage rec {
name = "shadowfox-${version}";
version = "1.5.2";
buildGoModule rec {
pname = "shadowfox";
version = "1.7.20";
src = fetchFromGitHub {
owner = "SrKomodo";
repo = "shadowfox-updater";
rev = "v${version}";
sha256 = "07695hba72q722d18q75pwa45azg9jibj6vqnhwb7mnwz2i7hkkc";
sha256 = "14crips12l4n050b8hrqkfqbxl0l8s3y4y9lm8n0bjpxdpjbpr7q";
};
goPackagePath = "github.com/SrKomodo/shadowfox-updater";
goDeps = ./deps.nix;
modSha256 = "143ky1fj7xglhjyzh78qzgh1m4j53kqps25c9vnq9q4vdyzm93sr";
buildFlags = "--tags release";

View File

@ -1,75 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/gdamore/encoding";
fetch = {
type = "git";
url = "https://github.com/gdamore/encoding";
rev = "b23993cbb6353f0e6aa98d0ee318a34728f628b9";
sha256 = "0d7irqpx2fa9vkxgkhf04yiwazsm10fxh0yk86x5crflhph5fv8a";
};
}
{
goPackagePath = "github.com/gdamore/tcell";
fetch = {
type = "git";
url = "https://github.com/gdamore/tcell";
rev = "b3cebc399d6f98536af845ed8a5144ab586f6759";
sha256 = "1kbf08msh4bjbdwnj1cjmddl5jfiarswfim3q085x77bcb43l0qa";
};
}
{
goPackagePath = "github.com/go-ini/ini";
fetch = {
type = "git";
url = "https://github.com/go-ini/ini";
rev = "cec2bdc49009247305a260b082a18e802d0fe292";
sha256 = "0d4ab6v83w5ya4rnnaymasmza4p2jl0lqf4xcgsmsk6lnnrwm5s8";
};
}
{
goPackagePath = "github.com/lucasb-eyer/go-colorful";
fetch = {
type = "git";
url = "https://github.com/lucasb-eyer/go-colorful";
rev = "d9cec903b20cbeda6062366e460c2c1bdc717e4d";
sha256 = "1j8nxi71v0qplfx6alfdx8rm2dxrcfk2k27gjrh2aksa322cmryb";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "ce7b0b5c7b45a81508558cd1dba6bb1e4ddb51bb";
sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g";
};
}
{
goPackagePath = "github.com/mitchellh/go-homedir";
fetch = {
type = "git";
url = "https://github.com/mitchellh/go-homedir";
rev = "3864e76763d94a6df2f9960b16a20a33da9f9a66";
sha256 = "1n8vya16l60i5jms43yb8fzdgwvqa2q926p5wkg3lbrk8pxy1nv0";
};
}
{
goPackagePath = "github.com/rivo/tview";
fetch = {
type = "git";
url = "https://github.com/rivo/tview";
rev = "306abd9cb98c97417ab6c58aa0400b2e5daac88b";
sha256 = "00q8hymxa36a178hbzylsw3ald6a7gyg8adnki3flyv1jg3dnahx";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "5cec4b58c438bd98288aeb248bab2c1840713d21";
sha256 = "19iyz2nppicvwap5lv796sbzd82glk2jn4yn5w6z6zymwnykfzds";
};
}
]