c14: 2016-09-09 -> 2017-20-05 (#25948)

* c14: c14-cli-2016-09-09 -> c14-cli-2017-20-05

* c14: update with go2nix

* c14: switch back to fetchFromGitHub

authored by Alexandre Peyroux and committed by Jörg Thalheim 3dc0792e b1d2f410

+7 -69
+6 -4
pkgs/applications/networking/c14/default.nix
··· 1 1 { stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 - name = "c14-cli-2016-09-09"; 4 + name = "c14-cli-unstable-${version}"; 5 + version = "2017-05-15"; 6 + rev = "97f437ef5133f73edd551c883db3076c76cb1f6b"; 7 + 5 8 goPackagePath = "github.com/online-net/c14-cli"; 6 - subPackages = [ "cmd/c14" ]; 7 9 8 10 src = fetchFromGitHub { 9 11 owner = "online-net"; 10 12 repo = "c14-cli"; 11 - rev = "e7c7c3cb214fd06df63530a4e861210e7a0a1b6c"; 12 - sha256 = "1k53lii2c04j8cy1bnyfvckl9fglprxp75cmbg15lrp9iic2w22a"; 13 + inherit rev; 14 + sha256 = "1b44bh0zhh6rhw4d3nprnnxhjgaskl9kzp2cvwwyli5svhjxrfdj"; 13 15 }; 14 16 15 17 goDeps = ./deps.nix;
+1 -65
pkgs/applications/networking/c14/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "github.com/davecgh/go-spew"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://github.com/davecgh/go-spew"; 7 - rev = "6d212800a42e8ab5c146b8ace3490ee17e5225f9"; 8 - sha256 = "01i0n1s4j7khb7n6mz2wymniz37q0vbzkgfv7rbi6p9hpg227q93"; 9 - }; 10 - } 11 - { 12 - goPackagePath = "github.com/fatih/color"; 13 - fetch = { 14 - type = "git"; 15 - url = "https://github.com/fatih/color"; 16 - rev = "87d4004f2ab62d0d255e0a38f1680aa534549fe3"; 17 - sha256 = "0d51avdl4z38f7jd8qmzrzyh4gxkcjpxd0vvma9zfqhmqy15jqhb"; 18 - }; 19 - } 20 - { 21 - goPackagePath = "github.com/mattn/go-colorable"; 22 - fetch = { 23 - type = "git"; 24 - url = "https://github.com/mattn/go-colorable"; 25 - rev = "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8"; 26 - sha256 = "034fhyqmiqmn0v9gdbdmm0ca5d0pki2q1ch1rd34p9kh9574mjyq"; 27 - }; 28 - } 29 - { 30 - goPackagePath = "github.com/mattn/go-isatty"; 31 - fetch = { 32 - type = "git"; 33 - url = "https://github.com/mattn/go-isatty"; 34 - rev = "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8"; 35 - sha256 = "17lf13ndnai9a6dlmykqkdyzf1z04q7kffs0l7kvd78wpv3l6rm5"; 36 - }; 37 - } 38 - { 39 - goPackagePath = "github.com/online-net/c14-cli"; 40 - fetch = { 41 - type = "git"; 42 - url = "https://github.com/online-net/c14-cli"; 43 - rev = "e7c7c3cb214fd06df63530a4e861210e7a0a1b6c"; 44 - sha256 = "1k53lii2c04j8cy1bnyfvckl9fglprxp75cmbg15lrp9iic2w22a"; 45 - }; 46 - } 47 - { 48 - goPackagePath = "github.com/pmezard/go-difflib"; 49 - fetch = { 50 - type = "git"; 51 - url = "https://github.com/pmezard/go-difflib"; 52 - rev = "792786c7400a136282c1664665ae0a8db921c6c2"; 53 - sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 54 - }; 55 - } 56 - { 57 - goPackagePath = "github.com/stretchr/testify"; 58 - fetch = { 59 - type = "git"; 60 - url = "https://github.com/stretchr/testify"; 61 - rev = "d77da356e56a7428ad25149ca77381849a6a5232"; 62 - sha256 = "11id286pkzyswxcx2xz6185fzh0nz6yzkk055dd6z02gvinl6pqa"; 63 - }; 64 - } 65 - ] 1 + []