drive: 20151025 -> 0.3.8.1

Update the `drive` package from version "20151025" to version 0.3.8.1,
replacing the package-definition files with updated versions given to
me by @Mic92 in [nixpkgs GitHub issue #19749] [1].

I have tested the updated package per nixpkgs manual section 11.1
("Making patches"), and I have tested that the update seems to fix
[issue #19749] [1].

[1]: <https://github.com/NixOS/nixpkgs/issues/19749>

c74d a98da687 6f99aa9a

+106 -71
+14 -7
pkgs/applications/networking/drive/default.nix
··· 1 - { stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: 2 3 buildGoPackage rec { 4 name = "drive-${version}"; 5 - version = "20151025-${stdenv.lib.strings.substring 0 7 rev}"; 6 - rev = "6dc2f1e83032ea3911fa6147b846ee93f18dc544"; 7 8 goPackagePath = "github.com/odeke-em/drive"; 9 subPackages = [ "cmd/drive" ]; 10 11 - src = fetchgit { 12 - inherit rev; 13 - url = "https://github.com/odeke-em/drive"; 14 - sha256 = "07s4nhfcr6vznf1amvl3a4wq2hn9zq871rcppfi4i6zs7iw2ay1v"; 15 }; 16 17 goDeps = ./deps.nix; 18 }
··· 1 + { stdenv, lib, buildGoPackage, fetchFromGitHub }: 2 3 buildGoPackage rec { 4 name = "drive-${version}"; 5 + version = "0.3.8.1"; 6 7 goPackagePath = "github.com/odeke-em/drive"; 8 subPackages = [ "cmd/drive" ]; 9 10 + src = fetchFromGitHub { 11 + owner = "odeke-em"; 12 + repo = "drive"; 13 + rev = "v${version}"; 14 + sha256 = "1b9cgc148rg5irg4jas10zv9i2km75x1zin25hld340dmpjcpi82"; 15 }; 16 17 goDeps = ./deps.nix; 18 + 19 + meta = with lib; { 20 + homepage = https://github.com/odeke-em/drive; 21 + description = "Google Drive client for the commandline"; 22 + license = licenses.asl20; 23 + platforms = platforms.linux; 24 + }; 25 }
+92 -64
pkgs/applications/networking/drive/deps.nix
··· 1 [ 2 { 3 - goPackagePath = "golang.org/x/net"; 4 fetch = { 5 type = "git"; 6 - url = "https://go.googlesource.com/net"; 7 - rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4"; 8 - sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"; 9 }; 10 } 11 { 12 - goPackagePath = "google.golang.org/api"; 13 fetch = { 14 type = "git"; 15 - url = "https://code.googlesource.com/google-api-go-client"; 16 - rev = "a5c3e2a4792aff40e59840d9ecdff0542a202a80"; 17 - sha256 = "1kigddnbyrl9ddpj5rs8njvf1ck54ipi4q1282k0d6b3am5qfbj8"; 18 }; 19 } 20 { 21 - goPackagePath = "google.golang.org/cloud"; 22 fetch = { 23 type = "git"; 24 - url = "https://code.googlesource.com/gocloud"; 25 - rev = "6335269abf9002cf5a84613c13cda6010842b834"; 26 - sha256 = "15xrqxna5ms0r634k3bfzyymn431dvqcjwbsap8ay60x371kzbwf"; 27 - }; 28 - } 29 - { 30 - goPackagePath = "golang.org/x/oauth2"; 31 - fetch = { 32 - type = "git"; 33 - url = "https://go.googlesource.com/oauth2"; 34 - rev = "397fe7649477ff2e8ced8fc0b2696f781e53745a"; 35 - sha256 = "0fza0l7iwh6llkq2yzqn7dxi138vab0da64lnghfj1p71fprjzn8"; 36 }; 37 } 38 { ··· 40 fetch = { 41 type = "git"; 42 url = "https://github.com/mattn/go-isatty"; 43 - rev = "ae0b1f8f8004be68d791a576e3d8e7648ab41449"; 44 - sha256 = "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj"; 45 - }; 46 - } 47 - { 48 - goPackagePath = "github.com/boltdb/bolt"; 49 - fetch = { 50 - type = "git"; 51 - url = "https://github.com/boltdb/bolt"; 52 - rev = "957d850b5158a4eebf915476058e720f43459584"; 53 - sha256 = "193adhhsqdy0kyq1l1fi8pg2n6pwyrw4h607qm78qyi26f8i7vzf"; 54 }; 55 } 56 { 57 - goPackagePath = "github.com/cheggaaa/pb"; 58 fetch = { 59 type = "git"; 60 - url = "https://github.com/cheggaaa/pb"; 61 - rev = "e648e12b78cedf14ebb2fc1855033f07b034cfbb"; 62 - sha256 = "03k4cars7hcqqgdsd0minfls2p7gjpm8q6y8vknh1s68kvxd4xam"; 63 }; 64 } 65 { ··· 72 }; 73 } 74 { 75 - goPackagePath = "github.com/odeke-em/statos"; 76 fetch = { 77 type = "git"; 78 - url = "https://github.com/odeke-em/statos"; 79 - rev = "f27d6ab69b62abd9d9fe80d355e23a3e45d347d6"; 80 - sha256 = "17cpks8bi9i7p8j38x0wy60jb9g39wbzszcmhx4hlq6yzxr04jvs"; 81 }; 82 } 83 { ··· 99 }; 100 } 101 { 102 goPackagePath = "github.com/odeke-em/meddler"; 103 fetch = { 104 type = "git"; ··· 108 }; 109 } 110 { 111 - goPackagePath = "github.com/odeke-em/xon"; 112 fetch = { 113 type = "git"; 114 - url = "https://github.com/odeke-em/xon"; 115 - rev = "d580be739d723da4f6378083128f93017b8ab295"; 116 - sha256 = "07a7zj01d4a23xqp01m48jp2v5mw49islf4nbq2rj13sd5w4s6sc"; 117 }; 118 } 119 { 120 - goPackagePath = "github.com/odeke-em/cache"; 121 fetch = { 122 type = "git"; 123 - url = "https://github.com/odeke-em/cache"; 124 - rev = "b51b08cb6cf889deda6c941a5205baecfd16f3eb"; 125 - sha256 = "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4"; 126 }; 127 } 128 { 129 - goPackagePath = "github.com/odeke-em/command"; 130 fetch = { 131 type = "git"; 132 - url = "https://github.com/odeke-em/command"; 133 - rev = "91ca5ec5e9a1bc2668b1ccbe0967e04a349e3561"; 134 - sha256 = "1ghckzr8h99ckagpmb15p61xazdjmf9mjmlym634hsr9vcj84v62"; 135 }; 136 } 137 { 138 - goPackagePath = "github.com/odeke-em/log"; 139 fetch = { 140 type = "git"; 141 - url = "https://github.com/odeke-em/log"; 142 - rev = "cad53c4565a0b0304577bd13f3862350bdc5f907"; 143 - sha256 = "059c933qjikxlvaywzpzljqnab19svymbv6x32pc7khw156fh48w"; 144 }; 145 } 146 { 147 - goPackagePath = "github.com/odeke-em/pretty-words"; 148 fetch = { 149 type = "git"; 150 - url = "https://github.com/odeke-em/pretty-words"; 151 - rev = "9d37a7fcb4ae6f94b288d371938482994458cecb"; 152 - sha256 = "1466wjhrg9lhqmzil1vf8qj16fxk32b5kxlcccyw2x6dybqa6pkl"; 153 }; 154 } 155 { 156 - goPackagePath = "github.com/skratchdot/open-golang"; 157 fetch = { 158 type = "git"; 159 - url = "https://github.com/skratchdot/open-golang"; 160 - rev = "c8748311a7528d0ba7330d302adbc5a677ef9c9e"; 161 - sha256 = "0qhn2d00v3m9fiqk9z7swdm599clc6j7rnli983s8s1byyp0x3ac"; 162 }; 163 } 164 ]
··· 1 + # This file was generated by go2nix. 2 [ 3 { 4 + goPackagePath = "cloud.google.com/go"; 5 fetch = { 6 type = "git"; 7 + url = "https://code.googlesource.com/gocloud"; 8 + rev = "7450882a75c8d2600748666d1ed16e0a5afa532d"; 9 + sha256 = "1hl2lsf9m1imdszf5mww4h6qrcjfdjghwh6l2kqsy85d32vbkjgd"; 10 }; 11 } 12 { 13 + goPackagePath = "github.com/boltdb/bolt"; 14 fetch = { 15 type = "git"; 16 + url = "https://github.com/boltdb/bolt"; 17 + rev = "074dffcc83e9f421e261526d297cd93f22a34080"; 18 + sha256 = "1kkmsby74n9czqx4mvng9x1cvnm4qgjl3dp6b4mfmg2b00fwbqnv"; 19 }; 20 } 21 { 22 + goPackagePath = "github.com/cheggaaa/pb"; 23 fetch = { 24 type = "git"; 25 + url = "https://github.com/cheggaaa/pb"; 26 + rev = "ad4efe000aa550bb54918c06ebbadc0ff17687b9"; 27 + sha256 = "0w6dl2s0vzb64q85yfy1hd5z2fq2vzwygiwl65is6hwa4vkc7hi3"; 28 }; 29 } 30 { ··· 32 fetch = { 33 type = "git"; 34 url = "https://github.com/mattn/go-isatty"; 35 + rev = "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8"; 36 + sha256 = "17lf13ndnai9a6dlmykqkdyzf1z04q7kffs0l7kvd78wpv3l6rm5"; 37 }; 38 } 39 { 40 + goPackagePath = "github.com/odeke-em/cache"; 41 fetch = { 42 type = "git"; 43 + url = "https://github.com/odeke-em/cache"; 44 + rev = "baf8e436bc97557118cb0bf118ab8ac6aeeda381"; 45 + sha256 = "00nvrnp40w4m1ld89k3s3gwi9qcfjxwi8hnp62zggnvqqyc4fyz1"; 46 }; 47 } 48 { ··· 55 }; 56 } 57 { 58 + goPackagePath = "github.com/odeke-em/command"; 59 fetch = { 60 type = "git"; 61 + url = "https://github.com/odeke-em/command"; 62 + rev = "91ca5ec5e9a1bc2668b1ccbe0967e04a349e3561"; 63 + sha256 = "1ghckzr8h99ckagpmb15p61xazdjmf9mjmlym634hsr9vcj84v62"; 64 }; 65 } 66 { ··· 82 }; 83 } 84 { 85 + goPackagePath = "github.com/odeke-em/go-utils"; 86 + fetch = { 87 + type = "git"; 88 + url = "https://github.com/odeke-em/go-utils"; 89 + rev = "d915395a7a46a9fe73d93f4daeff5953eeac5ef2"; 90 + sha256 = "0c1z4vmz69vxak8ldw4qjcgwia5ph969gj80az7a3824gia7zhbh"; 91 + }; 92 + } 93 + { 94 + goPackagePath = "github.com/odeke-em/go-uuid"; 95 + fetch = { 96 + type = "git"; 97 + url = "https://github.com/odeke-em/go-uuid"; 98 + rev = "b211d769a9aaba5b2b8bdbab5de3c227116f3c39"; 99 + sha256 = "086l4xmwkjl5qcylcb5iwy9ksk9k5g43xwfbkcgvmhpz5mq3wmz2"; 100 + }; 101 + } 102 + { 103 + goPackagePath = "github.com/odeke-em/log"; 104 + fetch = { 105 + type = "git"; 106 + url = "https://github.com/odeke-em/log"; 107 + rev = "cad53c4565a0b0304577bd13f3862350bdc5f907"; 108 + sha256 = "059c933qjikxlvaywzpzljqnab19svymbv6x32pc7khw156fh48w"; 109 + }; 110 + } 111 + { 112 goPackagePath = "github.com/odeke-em/meddler"; 113 fetch = { 114 type = "git"; ··· 118 }; 119 } 120 { 121 + goPackagePath = "github.com/odeke-em/pretty-words"; 122 fetch = { 123 type = "git"; 124 + url = "https://github.com/odeke-em/pretty-words"; 125 + rev = "9d37a7fcb4ae6f94b288d371938482994458cecb"; 126 + sha256 = "1466wjhrg9lhqmzil1vf8qj16fxk32b5kxlcccyw2x6dybqa6pkl"; 127 }; 128 } 129 { 130 + goPackagePath = "github.com/odeke-em/semalim"; 131 fetch = { 132 type = "git"; 133 + url = "https://github.com/odeke-em/semalim"; 134 + rev = "9c88bf5f9156ed06ec5110a705d41b8580fd96f7"; 135 + sha256 = "0nq93dcl84cmlvg31rdk281ndlc2452zlh5s7i40hasi0z0kmn1k"; 136 }; 137 } 138 { 139 + goPackagePath = "github.com/odeke-em/statos"; 140 fetch = { 141 type = "git"; 142 + url = "https://github.com/odeke-em/statos"; 143 + rev = "6f7e4db337bc11fc46d9b0456a93836cbbfe5141"; 144 + sha256 = "1lijz3cxqxd78sl0nzfgvs675dg7q99jqwvhgisnk9n84ic4ffzj"; 145 }; 146 } 147 { 148 + goPackagePath = "github.com/skratchdot/open-golang"; 149 fetch = { 150 type = "git"; 151 + url = "https://github.com/skratchdot/open-golang"; 152 + rev = "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c"; 153 + sha256 = "1b67imqbsdvg19vif1q1dfmapxy3v2anagacbql95fwnnw0v8jga"; 154 + }; 155 + } 156 + { 157 + goPackagePath = "golang.org/x/crypto"; 158 + fetch = { 159 + type = "git"; 160 + url = "https://go.googlesource.com/crypto"; 161 + rev = "5dc8cb4b8a8eb076cbb5a06bc3b8682c15bdbbd3"; 162 + sha256 = "18c1vpqlj10z1id66hglgnv51d9gwphgsdvxgghc6mcm01f1g5xj"; 163 + }; 164 + } 165 + { 166 + goPackagePath = "golang.org/x/net"; 167 + fetch = { 168 + type = "git"; 169 + url = "https://go.googlesource.com/net"; 170 + rev = "6acef71eb69611914f7a30939ea9f6e194c78172"; 171 + sha256 = "1fcsv50sbq0lpzrhx3m9jw51wa255fsbqjwsx9iszq4d0gysnnvc"; 172 }; 173 } 174 { 175 + goPackagePath = "golang.org/x/oauth2"; 176 fetch = { 177 type = "git"; 178 + url = "https://go.googlesource.com/oauth2"; 179 + rev = "1e695b1c8febf17aad3bfa7bf0a819ef94b98ad5"; 180 + sha256 = "1sfgrc63jwslczkld7bsfipw1jm1rn06228dx0vc5gggd52155ys"; 181 }; 182 } 183 { 184 + goPackagePath = "google.golang.org/api"; 185 fetch = { 186 type = "git"; 187 + url = "https://code.googlesource.com/google-api-go-client"; 188 + rev = "eb84d1a029af1654777e7ba65c979085305c3e38"; 189 + sha256 = "0ldmzcx5lxa81lcr39djcvyhd0ls11jlswj5877rinq3505ayf5l"; 190 }; 191 } 192 ]