git.iko.soy/typeable/nixpkgs
on master help sign in
shadowfox: 1.5.2 -> 1.7.20, move to buildGoModule (#59972)
commit54084dd821d201eb18bfa57ae329f8554da51a25 authorWill Dietz <github@wdtz.org> dateSun 21 Apr 2019, 23:06 (8 years ago) parenteb60ddb
2 files changed+7−81
pkgs/tools/networking/shadowfox/default.nix+7−6 pkgs/tools/networking/shadowfox/deps.nix−75
pkgs/tools/networking/shadowfox/default.nix+7−6
@@ -1,18 +1,19 @@
1−{ stdenv, fetchFromGitHub, buildGoPackage }:
1+{ stdenv, fetchFromGitHub, buildGoModule }:
22
3−buildGoPackage rec {
4− name = "shadowfox-${version}";
5− version = "1.5.2";
3+buildGoModule rec {
4+ pname = "shadowfox";
5+ version = "1.7.20";
66
77 src = fetchFromGitHub {
88 owner = "SrKomodo";
99 repo = "shadowfox-updater";
1010 rev = "v${version}";
11− sha256 = "07695hba72q722d18q75pwa45azg9jibj6vqnhwb7mnwz2i7hkkc";
11+ sha256 = "14crips12l4n050b8hrqkfqbxl0l8s3y4y9lm8n0bjpxdpjbpr7q";
1212 };
1313
1414 goPackagePath = "github.com/SrKomodo/shadowfox-updater";
15− goDeps = ./deps.nix;
15+
16+ modSha256 = "143ky1fj7xglhjyzh78qzgh1m4j53kqps25c9vnq9q4vdyzm93sr";
1617
1718 buildFlags = "--tags release";
1819
pkgs/tools/networking/shadowfox/deps.nixdeleted−75
@@ -1,75 +0,0 @@
1−# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2−[
3− {
4− goPackagePath = "github.com/gdamore/encoding";
5− fetch = {
6− type = "git";
7− url = "https://github.com/gdamore/encoding";
8− rev = "b23993cbb6353f0e6aa98d0ee318a34728f628b9";
9− sha256 = "0d7irqpx2fa9vkxgkhf04yiwazsm10fxh0yk86x5crflhph5fv8a";
10− };
11− }
12− {
13− goPackagePath = "github.com/gdamore/tcell";
14− fetch = {
15− type = "git";
16− url = "https://github.com/gdamore/tcell";
17− rev = "b3cebc399d6f98536af845ed8a5144ab586f6759";
18− sha256 = "1kbf08msh4bjbdwnj1cjmddl5jfiarswfim3q085x77bcb43l0qa";
19− };
20− }
21− {
22− goPackagePath = "github.com/go-ini/ini";
23− fetch = {
24− type = "git";
25− url = "https://github.com/go-ini/ini";
26− rev = "cec2bdc49009247305a260b082a18e802d0fe292";
27− sha256 = "0d4ab6v83w5ya4rnnaymasmza4p2jl0lqf4xcgsmsk6lnnrwm5s8";
28− };
29− }
30− {
31− goPackagePath = "github.com/lucasb-eyer/go-colorful";
32− fetch = {
33− type = "git";
34− url = "https://github.com/lucasb-eyer/go-colorful";
35− rev = "d9cec903b20cbeda6062366e460c2c1bdc717e4d";
36− sha256 = "1j8nxi71v0qplfx6alfdx8rm2dxrcfk2k27gjrh2aksa322cmryb";
37− };
38− }
39− {
40− goPackagePath = "github.com/mattn/go-runewidth";
41− fetch = {
42− type = "git";
43− url = "https://github.com/mattn/go-runewidth";
44− rev = "ce7b0b5c7b45a81508558cd1dba6bb1e4ddb51bb";
45− sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g";
46− };
47− }
48− {
49− goPackagePath = "github.com/mitchellh/go-homedir";
50− fetch = {
51− type = "git";
52− url = "https://github.com/mitchellh/go-homedir";
53− rev = "3864e76763d94a6df2f9960b16a20a33da9f9a66";
54− sha256 = "1n8vya16l60i5jms43yb8fzdgwvqa2q926p5wkg3lbrk8pxy1nv0";
55− };
56− }
57− {
58− goPackagePath = "github.com/rivo/tview";
59− fetch = {
60− type = "git";
61− url = "https://github.com/rivo/tview";
62− rev = "306abd9cb98c97417ab6c58aa0400b2e5daac88b";
63− sha256 = "00q8hymxa36a178hbzylsw3ald6a7gyg8adnki3flyv1jg3dnahx";
64− };
65− }
66− {
67− goPackagePath = "golang.org/x/text";
68− fetch = {
69− type = "git";
70− url = "https://go.googlesource.com/text";
71− rev = "5cec4b58c438bd98288aeb248bab2c1840713d21";
72− sha256 = "19iyz2nppicvwap5lv796sbzd82glk2jn4yn5w6z6zymwnykfzds";
73− };
74− }
75−]