duplicacy: 2.7.2 -> 3.0.1

+7 -422
+7 -14
pkgs/tools/backup/duplicacy/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 3 - buildGoPackage rec { 4 pname = "duplicacy"; 5 - version = "2.7.2"; 6 - 7 - goPackagePath = "github.com/gilbertchen/duplicacy"; 8 9 src = fetchFromGitHub { 10 owner = "gilbertchen"; 11 repo = "duplicacy"; 12 rev = "v${version}"; 13 - sha256 = "0j37sqicj7rl982czqsl3ipxw7k8k4smcr63s0yklxwz7ch3353c"; 14 }; 15 - goDeps = ./deps.nix; 16 - buildPhase = '' 17 - cd go/src/${goPackagePath} 18 - go build duplicacy/duplicacy_main.go 19 - ''; 20 21 - installPhase = '' 22 - install -D duplicacy_main $out/bin/duplicacy 23 - ''; 24 25 meta = with lib; { 26 homepage = "https://duplicacy.com";
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 3 + buildGoModule rec { 4 pname = "duplicacy"; 5 + version = "3.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "gilbertchen"; 9 repo = "duplicacy"; 10 rev = "v${version}"; 11 + sha256 = "sha256-7VCgXUmmAlmv0UwSM3Hs9t586gJWvFWsP/0BJXze1r4="; 12 }; 13 + 14 + vendorSha256 = "sha256-3vzx2SCgJAhSwW8DRtkQ6pywquFwwou0HZ6a1dmHhPY="; 15 16 + doCheck = false; 17 18 meta = with lib; { 19 homepage = "https://duplicacy.com";
-408
pkgs/tools/backup/duplicacy/deps.nix
··· 1 - # file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix) 2 - [ 3 - { 4 - goPackagePath = "cloud.google.com/go"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/googleapis/google-cloud-go"; 8 - rev = "2d3a6656c17a60b0815b7e06ab0be04eacb6e613"; 9 - sha256 = "0fi3qj9fvc4bxbrwa1m5sxsb8yhvawiwigaddvmmizjykxbq5csq"; 10 - }; 11 - } 12 - { 13 - goPackagePath = "github.com/Azure/go-autorest"; 14 - fetch = { 15 - type = "git"; 16 - url = "https://github.com/Azure/go-autorest"; 17 - rev = "9bc4033dd347c7f416fca46b2f42a043dc1fbdf6"; 18 - sha256 = "158xbd8wn1bna1k1ichlirz6a1zvlh3rg7klr9cnp72l2q8jwvcl"; 19 - }; 20 - } 21 - { 22 - goPackagePath = "github.com/aryann/difflib"; 23 - fetch = { 24 - type = "git"; 25 - url = "https://github.com/aryann/difflib"; 26 - rev = "e206f873d14a916d3d26c40ab667bca123f365a3"; 27 - sha256 = "00zb9sx6l6b2zq614x45zlyshl20zjhwfj8r5krw4f9y0mx3n2dm"; 28 - }; 29 - } 30 - { 31 - goPackagePath = "github.com/aws/aws-sdk-go"; 32 - fetch = { 33 - type = "git"; 34 - url = "https://github.com/aws/aws-sdk-go"; 35 - rev = "851d5ffb66720c2540cc68020d4d8708950686c8"; 36 - sha256 = "16qp8ywcf04d2y1ibf3mpglcrxk07x8gak46a2l53lchps2mgcrp"; 37 - }; 38 - } 39 - { 40 - goPackagePath = "github.com/bkaradzic/go-lz4"; 41 - fetch = { 42 - type = "git"; 43 - url = "https://github.com/bkaradzic/go-lz4"; 44 - rev = "74ddf82598bc4745b965729e9c6a463bedd33049"; 45 - sha256 = "1vdid8v0c2v2qhrg9rzn3l7ya1h34jirrxfnir7gv7w6s4ivdvc1"; 46 - }; 47 - } 48 - { 49 - goPackagePath = "github.com/dgrijalva/jwt-go"; 50 - fetch = { 51 - type = "git"; 52 - url = "https://github.com/dgrijalva/jwt-go"; 53 - rev = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e"; 54 - sha256 = "08m27vlms74pfy5z79w67f9lk9zkx6a9jd68k3c4msxy75ry36mp"; 55 - }; 56 - } 57 - { 58 - goPackagePath = "github.com/gilbertchen/azure-sdk-for-go"; 59 - fetch = { 60 - type = "git"; 61 - url = "https://github.com/gilbertchen/azure-sdk-for-go"; 62 - rev = "8fd4663cab7c7c1c46d00449291c92ad23b0d0d9"; 63 - sha256 = "123fj5jni1pjj8i9adzd4r07n9hnlmfprlcjf5hqb1zjb72xi1p7"; 64 - }; 65 - } 66 - { 67 - goPackagePath = "github.com/gilbertchen/cli"; 68 - fetch = { 69 - type = "git"; 70 - url = "https://github.com/gilbertchen/cli"; 71 - rev = "1de0a1836ce9c3ae1bf737a0869c4f04f28a7f98"; 72 - sha256 = "00vbyjsn009cqg24sxcizq10rgicnmrv0f8jg3fa1fw6yp5gqdl5"; 73 - }; 74 - } 75 - { 76 - goPackagePath = "github.com/gilbertchen/go-dropbox"; 77 - fetch = { 78 - type = "git"; 79 - url = "https://github.com/gilbertchen/go-dropbox"; 80 - rev = "2233fa1dd846b3a3e8060b6c1ea12883deb9d288"; 81 - sha256 = "01fqxad5mm7rs0mp1ipp9aw80ski6sqyqljpf9dgify8dbiffl97"; 82 - }; 83 - } 84 - { 85 - goPackagePath = "github.com/gilbertchen/go-ole"; 86 - fetch = { 87 - type = "git"; 88 - url = "https://github.com/gilbertchen/go-ole"; 89 - rev = "0e87ea779d9deb219633b828a023b32e1244dd57"; 90 - sha256 = "1d937b4i9mrwfgs1s17qhbd78dcd97wwm8zsajkarky8d55rz1bw"; 91 - }; 92 - } 93 - { 94 - goPackagePath = "github.com/gilbertchen/go.dbus"; 95 - fetch = { 96 - type = "git"; 97 - url = "https://github.com/gilbertchen/go.dbus"; 98 - rev = "8591994fa32f1dbe3fa9486bc6f4d4361ac16649"; 99 - sha256 = "0wg82hwgk4s65ns76x7cby6dfdxsdkc4jyqn9zd7g037fhzh8rk5"; 100 - }; 101 - } 102 - { 103 - goPackagePath = "github.com/gilbertchen/goamz"; 104 - fetch = { 105 - type = "git"; 106 - url = "https://github.com/gilbertchen/goamz"; 107 - rev = "eada9f4e8cc2a45db775dee08a2c37597ce4760a"; 108 - sha256 = "0v6i4jdly06wixmm58ygxh284hnlbfxczvcwxvywiyy9bp5qyaid"; 109 - }; 110 - } 111 - { 112 - goPackagePath = "github.com/gilbertchen/gopass"; 113 - fetch = { 114 - type = "git"; 115 - url = "https://github.com/gilbertchen/gopass"; 116 - rev = "bf9dde6d0d2c004a008c27aaee91170c786f6db8"; 117 - sha256 = "1jxzyfnqi0h1fzlsvlkn10bncic803bfhslyijcxk55mgh297g45"; 118 - }; 119 - } 120 - { 121 - goPackagePath = "github.com/gilbertchen/keyring"; 122 - fetch = { 123 - type = "git"; 124 - url = "https://github.com/gilbertchen/keyring"; 125 - rev = "8855f5632086e51468cd7ce91056f8da69687ef6"; 126 - sha256 = "1ja623dqnhkr1cvynrcai10s8kn2aiq53cvd8yxr47bb8i2a2q1m"; 127 - }; 128 - } 129 - { 130 - goPackagePath = "github.com/gilbertchen/xattr"; 131 - fetch = { 132 - type = "git"; 133 - url = "https://github.com/gilbertchen/xattr"; 134 - rev = "68e7a6806b0137a396d7d05601d7403ae1abac58"; 135 - sha256 = "120lq8vasc5yh0ajczsdpi8cfzgi4ymrnphgqdfcar3b9rsvx80b"; 136 - }; 137 - } 138 - { 139 - goPackagePath = "github.com/golang/groupcache"; 140 - fetch = { 141 - type = "git"; 142 - url = "https://github.com/golang/groupcache"; 143 - rev = "8c9f03a8e57eb486e42badaed3fb287da51807ba"; 144 - sha256 = "0vjjr79r32icjzlb05wn02k59av7jx0rn1jijml8r4whlg7dnkfh"; 145 - }; 146 - } 147 - { 148 - goPackagePath = "github.com/golang/protobuf"; 149 - fetch = { 150 - type = "git"; 151 - url = "https://github.com/golang/protobuf"; 152 - rev = "84668698ea25b64748563aa20726db66a6b8d299"; 153 - sha256 = "1gkd1942vk9n8kfzdwy1iil6wgvlwjq7a3y5jc49ck4lz9rhmgkq"; 154 - }; 155 - } 156 - { 157 - goPackagePath = "github.com/googleapis/gax-go"; 158 - fetch = { 159 - type = "git"; 160 - url = "https://github.com/googleapis/gax-go"; 161 - rev = "c8a15bac9b9fe955bd9f900272f9a306465d28cf"; 162 - sha256 = "13x3x7agq0b46wpchbd2sqli5l33z6hvfn1qjbiqvsgpbv7wd140"; 163 - }; 164 - } 165 - { 166 - goPackagePath = "github.com/jmespath/go-jmespath"; 167 - fetch = { 168 - type = "git"; 169 - url = "https://github.com/jmespath/go-jmespath"; 170 - rev = "c2b33e84"; 171 - sha256 = "1r6w7ydx8ydryxk3sfhzsk8m6f1nsik9jg3i1zhi69v4kfl4d5cz"; 172 - }; 173 - } 174 - { 175 - goPackagePath = "github.com/klauspost/cpuid"; 176 - fetch = { 177 - type = "git"; 178 - url = "https://github.com/klauspost/cpuid"; 179 - rev = "750c0591dbbd50ef88371c665ad49e426a4b830b"; 180 - sha256 = "1yiby4xa12j3kcw5q7dfsbcybhaxjkppvgz6ac2p2lcwha303b1g"; 181 - }; 182 - } 183 - { 184 - goPackagePath = "github.com/klauspost/reedsolomon"; 185 - fetch = { 186 - type = "git"; 187 - url = "https://github.com/klauspost/reedsolomon"; 188 - rev = "7daa20bf74337a939c54f892a2eca9d9b578eb7f"; 189 - sha256 = "1xk4wqgrl63l95lqnszzbpa06apzxfmpwfnkrn1n8jb0ws7mi01m"; 190 - }; 191 - } 192 - { 193 - goPackagePath = "github.com/kr/fs"; 194 - fetch = { 195 - type = "git"; 196 - url = "https://github.com/kr/fs"; 197 - rev = "1455def202f6e05b95cc7bfc7e8ae67ae5141eba"; 198 - sha256 = "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q"; 199 - }; 200 - } 201 - { 202 - goPackagePath = "github.com/marstr/guid"; 203 - fetch = { 204 - type = "git"; 205 - url = "https://github.com/marstr/guid"; 206 - rev = "8bd9a64bf37eb297b492a4101fb28e80ac0b290f"; 207 - sha256 = "081qrar6wwpmb2pq3swv4byh73r9riyhl2dwv0902d8jg3kwricm"; 208 - }; 209 - } 210 - { 211 - goPackagePath = "github.com/minio/blake2b-simd"; 212 - fetch = { 213 - type = "git"; 214 - url = "https://github.com/minio/blake2b-simd"; 215 - rev = "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4"; 216 - sha256 = "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd"; 217 - }; 218 - } 219 - { 220 - goPackagePath = "github.com/minio/highwayhash"; 221 - fetch = { 222 - type = "git"; 223 - url = "https://github.com/minio/highwayhash"; 224 - rev = "86a2a969d04373bf05ca722517d30fb1c9a3e4f9"; 225 - sha256 = "0kj2hs82sphag0h25xvprvf2fz3zlinmlif89sk9jp8h518aiahf"; 226 - }; 227 - } 228 - { 229 - goPackagePath = "github.com/mmcloughlin/avo"; 230 - fetch = { 231 - type = "git"; 232 - url = "https://github.com/mmcloughlin/avo"; 233 - rev = "443f81d771042b019379ae4bfcd0a591cb47c88a"; 234 - sha256 = "1zc95crbyi7ylqq3jwv4ya55lyzn9x730szdm307vdss4gqlx8yn"; 235 - }; 236 - } 237 - { 238 - goPackagePath = "github.com/ncw/swift"; 239 - fetch = { 240 - type = "git"; 241 - url = "https://github.com/ncw/swift"; 242 - rev = "3e1a09f21340e4828e7265aa89f4dc1495fa7ccc"; 243 - sha256 = "19gb8xh400hzlbdp3nx1f85jxzs36zk0py39vmjcg3fnvdjzblm2"; 244 - }; 245 - } 246 - { 247 - goPackagePath = "github.com/pkg/errors"; 248 - fetch = { 249 - type = "git"; 250 - url = "https://github.com/pkg/errors"; 251 - rev = "614d223910a179a466c1767a985424175c39b465"; 252 - sha256 = "1761pybhc2kqr6v5fm8faj08x9bql8427yqg6vnfv6nhrasx1mwq"; 253 - }; 254 - } 255 - { 256 - goPackagePath = "github.com/pkg/sftp"; 257 - fetch = { 258 - type = "git"; 259 - url = "https://github.com/pkg/sftp"; 260 - rev = "5616182052227b951e76d9c9b79a616c608bd91b"; 261 - sha256 = "1rjlhlkr505a0wvync1ycfn9njfc6bib6bw44qnnm50hlfs59hz2"; 262 - }; 263 - } 264 - { 265 - goPackagePath = "github.com/pkg/xattr"; 266 - fetch = { 267 - type = "git"; 268 - url = "https://github.com/pkg/xattr"; 269 - rev = "dd870b5cfebab49617ea0c1da6176474e8a52bf4"; 270 - sha256 = "11ynkc61qrmf853g04sav8vawz8i6a8b73w71f3cq4djb4cnsw0d"; 271 - }; 272 - } 273 - { 274 - goPackagePath = "github.com/satori/go.uuid"; 275 - fetch = { 276 - type = "git"; 277 - url = "https://github.com/satori/go.uuid"; 278 - rev = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3"; 279 - sha256 = "1j4s5pfg2ldm35y8ls8jah4dya2grfnx2drb4jcbjsyrp4cm5yfb"; 280 - }; 281 - } 282 - { 283 - goPackagePath = "github.com/vaughan0/go-ini"; 284 - fetch = { 285 - type = "git"; 286 - url = "https://github.com/vaughan0/go-ini"; 287 - rev = "a98ad7ee00ec53921f08832bc06ecf7fd600e6a1"; 288 - sha256 = "1l1isi3czis009d9k5awsj4xdxgbxn4n9yqjc1ac7f724x6jacfa"; 289 - }; 290 - } 291 - { 292 - goPackagePath = "go.opencensus.io"; 293 - fetch = { 294 - type = "git"; 295 - url = "https://github.com/census-instrumentation/opencensus-go"; 296 - rev = "d835ff86be02193d324330acdb7d65546b05f814"; 297 - sha256 = "0xj16iq5jp26hi2py7lsd8cvqh651fgn39y05gzvjdi88d9xd3nw"; 298 - }; 299 - } 300 - { 301 - goPackagePath = "golang.org/x/crypto"; 302 - fetch = { 303 - type = "git"; 304 - url = "https://go.googlesource.com/crypto"; 305 - rev = "056763e48d71961566155f089ac0f02f1dda9b5a"; 306 - sha256 = "0dcmns62hwid7hk4bmpl22z6ygjh168p23x3arzy320sd1lvap92"; 307 - }; 308 - } 309 - { 310 - goPackagePath = "golang.org/x/mod"; 311 - fetch = { 312 - type = "git"; 313 - url = "https://go.googlesource.com/mod"; 314 - rev = "859b3ef565e237f9f1a0fb6b55385c497545680d"; 315 - sha256 = "0ldgbx2zpprbsfn6p8pfgs4nn87gwbfcv2z0fa7n8alwsq2yw78q"; 316 - }; 317 - } 318 - { 319 - goPackagePath = "golang.org/x/net"; 320 - fetch = { 321 - type = "git"; 322 - url = "https://go.googlesource.com/net"; 323 - rev = "d3edc9973b7eb1fb302b0ff2c62357091cea9a30"; 324 - sha256 = "12zbjwcsh9b0lwycqlkrnbyg5a6a9dzgj8hhgq399bdda5bd97y7"; 325 - }; 326 - } 327 - { 328 - goPackagePath = "golang.org/x/oauth2"; 329 - fetch = { 330 - type = "git"; 331 - url = "https://go.googlesource.com/oauth2"; 332 - rev = "bf48bf16ab8d622ce64ec6ce98d2c98f916b6303"; 333 - sha256 = "1sirdib60zwmh93kf9qrx51r8544k1p9rs5mk0797wibz3m4mrdg"; 334 - }; 335 - } 336 - { 337 - goPackagePath = "golang.org/x/sys"; 338 - fetch = { 339 - type = "git"; 340 - url = "https://go.googlesource.com/sys"; 341 - rev = "59c9f1ba88faf592b225274f69c5ef1e4ebacf82"; 342 - sha256 = "014iiqjh9sikbcvacqiwhg6mvrsrr1va91wmc9yrnsm11c63yxfa"; 343 - }; 344 - } 345 - { 346 - goPackagePath = "golang.org/x/text"; 347 - fetch = { 348 - type = "git"; 349 - url = "https://go.googlesource.com/text"; 350 - rev = "342b2e1fbaa52c93f31447ad2c6abc048c63e475"; 351 - sha256 = "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"; 352 - }; 353 - } 354 - { 355 - goPackagePath = "golang.org/x/tools"; 356 - fetch = { 357 - type = "git"; 358 - url = "https://go.googlesource.com/tools"; 359 - rev = "5d1fdd8fa3469142b9369713b23d8413d6d83189"; 360 - sha256 = "0xp5ggnjnl1gqwi2ks042zimgkfv2qda9a57ar198xpyzdn1bv5s"; 361 - }; 362 - } 363 - { 364 - goPackagePath = "golang.org/x/xerrors"; 365 - fetch = { 366 - type = "git"; 367 - url = "https://go.googlesource.com/xerrors"; 368 - rev = "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca"; 369 - sha256 = "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb"; 370 - }; 371 - } 372 - { 373 - goPackagePath = "google.golang.org/api"; 374 - fetch = { 375 - type = "git"; 376 - url = "https://github.com/googleapis/google-api-go-client"; 377 - rev = "52f0532eadbcc6f6b82d6f5edf66e610d10bfde6"; 378 - sha256 = "0l7q0mmq0v51wc72bk50nwaz9frl1pqp7gn5jhy1vzxdry930gkc"; 379 - }; 380 - } 381 - { 382 - goPackagePath = "google.golang.org/appengine"; 383 - fetch = { 384 - type = "git"; 385 - url = "https://github.com/golang/appengine"; 386 - rev = "971852bfffca25b069c31162ae8f247a3dba083b"; 387 - sha256 = "05hbq4cs7bqw0zl17bx8rzdkszid3nyl92100scg3jjrg70dhm7w"; 388 - }; 389 - } 390 - { 391 - goPackagePath = "google.golang.org/genproto"; 392 - fetch = { 393 - type = "git"; 394 - url = "https://github.com/googleapis/go-genproto"; 395 - rev = "baae70f3302d3efdff74db41e48a5d476d036906"; 396 - sha256 = "1xacik4i5w2bpkrxzrfm00ggy5vygbzh8jmm2yq4mxiv0lnsh9nk"; 397 - }; 398 - } 399 - { 400 - goPackagePath = "google.golang.org/grpc"; 401 - fetch = { 402 - type = "git"; 403 - url = "https://github.com/grpc/grpc-go"; 404 - rev = "ac54eec90516cee50fc6b9b113b34628a85f976f"; 405 - sha256 = "17zfx4xgqjamk7rc1sivm5gppkh3j4qp3i294w9rqbv0rqi0c9pq"; 406 - }; 407 - } 408 - ]
···