lol

Merge pull request #175050 from aaronjheng/shopify-themekit

shopify-themekit: 1.0.3 -> 1.3.0

authored by

Mario Rodas and committed by
GitHub
c727e8c1 8859fe12

+13 -308
+13 -8
pkgs/development/web/shopify-themekit/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "shopify-themekit"; 5 - version = "1.0.3"; 6 - 7 - goPackagePath = "github.com/Shopify/themekit/"; 8 - 9 - goDeps = ./shopify-themekit_deps.nix; 5 + version = "1.3.0"; 10 6 11 7 src = fetchFromGitHub { 12 8 owner = "Shopify"; 13 9 repo = "themekit"; 14 10 rev = "v${version}"; 15 - sha256 = "1780h33mf2h2lv6mr4xx3shfvsabr7w138yb59vvdgvjng9wjkg0"; 11 + sha256 = "sha256-7uUKyaLzeiioW0TsEu82lJU0DoM1suwVcmacY1X0SEM="; 16 12 }; 13 + 14 + vendorSha256 = "sha256-8QpkYj0fQb4plzvk6yCrZho8rq9VBiLft/EO3cczciI="; 15 + 16 + ldflags = [ "-s" "-w" ]; 17 + 18 + postInstall = '' 19 + # Keep `theme` only 20 + rm -f $out/bin/{cmd,tkrelease} 21 + ''; 17 22 18 23 meta = with lib; { 19 24 description = "A command line tool for shopify themes";
-300
pkgs/development/web/shopify-themekit/shopify-themekit_deps.nix
··· 1 - # file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix) 2 - [ 3 - { 4 - goPackagePath = "github.com/VividCortex/ewma"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/VividCortex/ewma"; 8 - rev = "v1.1.1"; 9 - sha256 = "14v2dy5gqchjn7k0sd6cx59ms42v681r6xz7cb1kspp4b28a74rw"; 10 - }; 11 - } 12 - { 13 - goPackagePath = "github.com/aws/aws-sdk-go"; 14 - fetch = { 15 - type = "git"; 16 - url = "https://github.com/aws/aws-sdk-go"; 17 - rev = "1c16cd01d785"; 18 - sha256 = "129iizv2rny2frg36057hayynpsdav53nhj41dia3mi2r6zyalny"; 19 - }; 20 - } 21 - { 22 - goPackagePath = "github.com/caarlos0/env"; 23 - fetch = { 24 - type = "git"; 25 - url = "https://github.com/caarlos0/env"; 26 - rev = "d0de832ed2fb"; 27 - sha256 = "013shh38rs2jv4a2hsbix0hlanjr2a539akmkqkwwg0il9h3qmq2"; 28 - }; 29 - } 30 - { 31 - goPackagePath = "github.com/davecgh/go-spew"; 32 - fetch = { 33 - type = "git"; 34 - url = "https://github.com/davecgh/go-spew"; 35 - rev = "v1.1.1"; 36 - sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"; 37 - }; 38 - } 39 - { 40 - goPackagePath = "github.com/fatih/color"; 41 - fetch = { 42 - type = "git"; 43 - url = "https://github.com/fatih/color"; 44 - rev = "v1.7.0"; 45 - sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv"; 46 - }; 47 - } 48 - { 49 - goPackagePath = "github.com/fsnotify/fsnotify"; 50 - fetch = { 51 - type = "git"; 52 - url = "https://github.com/fsnotify/fsnotify"; 53 - rev = "v1.4.7"; 54 - sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; 55 - }; 56 - } 57 - { 58 - goPackagePath = "github.com/go-ini/ini"; 59 - fetch = { 60 - type = "git"; 61 - url = "https://github.com/go-ini/ini"; 62 - rev = "v1.25.4"; 63 - sha256 = "0b6cql5ripbiyrm18d6bfd1rfjnwcbskppw3d0vb80l0wy72d0c6"; 64 - }; 65 - } 66 - { 67 - goPackagePath = "github.com/hashicorp/go-version"; 68 - fetch = { 69 - type = "git"; 70 - url = "https://github.com/hashicorp/go-version"; 71 - rev = "270f2f71b1ee"; 72 - sha256 = "1d43wlp932nqbwkca4bhw8l4x6cg25jyh8l1s3814vddscfpfz2v"; 73 - }; 74 - } 75 - { 76 - goPackagePath = "github.com/imdario/mergo"; 77 - fetch = { 78 - type = "git"; 79 - url = "https://github.com/imdario/mergo"; 80 - rev = "v0.3.6"; 81 - sha256 = "1lbzy8p8wv439sqgf0n21q52flf2wbamp6qa1jkyv6an0nc952q7"; 82 - }; 83 - } 84 - { 85 - goPackagePath = "github.com/inconshreveable/go-update"; 86 - fetch = { 87 - type = "git"; 88 - url = "https://github.com/inconshreveable/go-update"; 89 - rev = "8152e7eb6ccf"; 90 - sha256 = "07czhspakpi7al004rm669cmf4h5l0vnygsm11280nkfn2zxqdi3"; 91 - }; 92 - } 93 - { 94 - goPackagePath = "github.com/inconshreveable/mousetrap"; 95 - fetch = { 96 - type = "git"; 97 - url = "https://github.com/inconshreveable/mousetrap"; 98 - rev = "v1.0.0"; 99 - sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152"; 100 - }; 101 - } 102 - { 103 - goPackagePath = "github.com/jmespath/go-jmespath"; 104 - fetch = { 105 - type = "git"; 106 - url = "https://github.com/jmespath/go-jmespath"; 107 - rev = "0b12d6b521d8"; 108 - sha256 = "1vv6hph8j6xgv7gwl9vvhlsaaqsm22sxxqmgmldi4v11783pc1ld"; 109 - }; 110 - } 111 - { 112 - goPackagePath = "github.com/joho/godotenv"; 113 - fetch = { 114 - type = "git"; 115 - url = "https://github.com/joho/godotenv"; 116 - rev = "v1.3.0"; 117 - sha256 = "0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm"; 118 - }; 119 - } 120 - { 121 - goPackagePath = "github.com/mattn/go-colorable"; 122 - fetch = { 123 - type = "git"; 124 - url = "https://github.com/mattn/go-colorable"; 125 - rev = "efa589957cd0"; 126 - sha256 = "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"; 127 - }; 128 - } 129 - { 130 - goPackagePath = "github.com/mattn/go-isatty"; 131 - fetch = { 132 - type = "git"; 133 - url = "https://github.com/mattn/go-isatty"; 134 - rev = "v0.0.4"; 135 - sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w"; 136 - }; 137 - } 138 - { 139 - goPackagePath = "github.com/pmezard/go-difflib"; 140 - fetch = { 141 - type = "git"; 142 - url = "https://github.com/pmezard/go-difflib"; 143 - rev = "v1.0.0"; 144 - sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 145 - }; 146 - } 147 - { 148 - goPackagePath = "github.com/radovskyb/watcher"; 149 - fetch = { 150 - type = "git"; 151 - url = "https://github.com/radovskyb/watcher"; 152 - rev = "v1.0.6"; 153 - sha256 = "1xlbrfgm6ha161szdjq2rab53plkdhmh5h86lpbk5g7fmq881945"; 154 - }; 155 - } 156 - { 157 - goPackagePath = "github.com/ryanuber/go-glob"; 158 - fetch = { 159 - type = "git"; 160 - url = "https://github.com/ryanuber/go-glob"; 161 - rev = "572520ed46db"; 162 - sha256 = "0dzbpqp1h7gjmlm4irnh6lpbfz5zjc721jidibyvmxj7xcx3wp5d"; 163 - }; 164 - } 165 - { 166 - goPackagePath = "github.com/shibukawa/configdir"; 167 - fetch = { 168 - type = "git"; 169 - url = "https://github.com/shibukawa/configdir"; 170 - rev = "e180dbdc8da0"; 171 - sha256 = "0vbma9jkwh0ifz8dk2ssgmy7aiaify63lpa0lah7i4dkkxr94c9z"; 172 - }; 173 - } 174 - { 175 - goPackagePath = "github.com/skratchdot/open-golang"; 176 - fetch = { 177 - type = "git"; 178 - url = "https://github.com/skratchdot/open-golang"; 179 - rev = "75fb7ed4208c"; 180 - sha256 = "1b67imqbsdvg19vif1q1dfmapxy3v2anagacbql95fwnnw0v8jga"; 181 - }; 182 - } 183 - { 184 - goPackagePath = "github.com/spf13/cobra"; 185 - fetch = { 186 - type = "git"; 187 - url = "https://github.com/spf13/cobra"; 188 - rev = "7c4570c3ebeb"; 189 - sha256 = "16amh0prlzqrrbg5j629sg0f688nfzfgn9sair8jyybqampr3wc7"; 190 - }; 191 - } 192 - { 193 - goPackagePath = "github.com/spf13/pflag"; 194 - fetch = { 195 - type = "git"; 196 - url = "https://github.com/spf13/pflag"; 197 - rev = "v1.0.2"; 198 - sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2"; 199 - }; 200 - } 201 - { 202 - goPackagePath = "github.com/stretchr/objx"; 203 - fetch = { 204 - type = "git"; 205 - url = "https://github.com/stretchr/objx"; 206 - rev = "v0.1.1"; 207 - sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls"; 208 - }; 209 - } 210 - { 211 - goPackagePath = "github.com/stretchr/testify"; 212 - fetch = { 213 - type = "git"; 214 - url = "https://github.com/stretchr/testify"; 215 - rev = "v1.2.2"; 216 - sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs"; 217 - }; 218 - } 219 - { 220 - goPackagePath = "github.com/vbauerster/mpb"; 221 - fetch = { 222 - type = "git"; 223 - url = "https://github.com/vbauerster/mpb"; 224 - rev = "v3.3.2"; 225 - sha256 = "18m66b80iv9z768c15dqsx5mnjq6iaa6b5lckpdqnynqzkkvw8kk"; 226 - }; 227 - } 228 - { 229 - goPackagePath = "golang.org/x/crypto"; 230 - fetch = { 231 - type = "git"; 232 - url = "https://go.googlesource.com/crypto"; 233 - rev = "a1f597ede03a"; 234 - sha256 = "0yiczljll72ip2vkxgd6052rhpaba37a68vf6si3v8s8s3g870lc"; 235 - }; 236 - } 237 - { 238 - goPackagePath = "golang.org/x/lint"; 239 - fetch = { 240 - type = "git"; 241 - url = "https://go.googlesource.com/lint"; 242 - rev = "d0100b6bd8b3"; 243 - sha256 = "0b0amr9x4ji66iv9ayfx7zrfx52k1m5g66qfcxkgj80qrb1y2yn7"; 244 - }; 245 - } 246 - { 247 - goPackagePath = "golang.org/x/net"; 248 - fetch = { 249 - type = "git"; 250 - url = "https://go.googlesource.com/net"; 251 - rev = "1272bf9dcd53"; 252 - sha256 = "1500gryd7jli7yjn4c927ppyllry8lxcmnsmpn7zxfd1k14q7nyv"; 253 - }; 254 - } 255 - { 256 - goPackagePath = "golang.org/x/sync"; 257 - fetch = { 258 - type = "git"; 259 - url = "https://go.googlesource.com/sync"; 260 - rev = "1d60e4601c6f"; 261 - sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6"; 262 - }; 263 - } 264 - { 265 - goPackagePath = "golang.org/x/sys"; 266 - fetch = { 267 - type = "git"; 268 - url = "https://go.googlesource.com/sys"; 269 - rev = "6c81ef8f67ca"; 270 - sha256 = "1iqrral339vxb635ip5jjzn84aa86kb629kbp1w29qwyfzbs0yqi"; 271 - }; 272 - } 273 - { 274 - goPackagePath = "golang.org/x/text"; 275 - fetch = { 276 - type = "git"; 277 - url = "https://go.googlesource.com/text"; 278 - rev = "v0.3.0"; 279 - sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19"; 280 - }; 281 - } 282 - { 283 - goPackagePath = "golang.org/x/tools"; 284 - fetch = { 285 - type = "git"; 286 - url = "https://go.googlesource.com/tools"; 287 - rev = "3f1ed9edd1b4"; 288 - sha256 = "00d2h0df03gv57valad4wr3g2rc8dcn8w3ci783x9wzzc86y4giw"; 289 - }; 290 - } 291 - { 292 - goPackagePath = "gopkg.in/yaml.v1"; 293 - fetch = { 294 - type = "git"; 295 - url = "https://gopkg.in/yaml.v1"; 296 - rev = "9f9df34309c0"; 297 - sha256 = "1r8d346szqa9x8q03wiycik5qy3d6w8qq4hs99z1p64q5lm0g7gm"; 298 - }; 299 - } 300 - ]