From 47aa9e9461bdad2aef0a9dd90f31756bd882222d Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 27 Nov 2020 10:12:25 +0100 Subject: [PATCH 11/20] gnu: Add dart-2.0.0-dev.36.0. * gnu/packages.dart.scm (dart-2.0.0-dev.36.0): New variable. --- gnu/packages/dart.scm | 129 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/gnu/packages/dart.scm b/gnu/packages/dart.scm index 89462d7355..f60e0b6a8a 100644 --- a/gnu/packages/dart.scm +++ b/gnu/packages/dart.scm @@ -537,3 +537,132 @@ (alist-replace name (list pkg) inputs))) (package-inputs pkg) inputs)) + +(define-public dart-2.0.0-dev.36.0 + (package + (inherit dart-2.0.0-dev.20.0) + (name "dart") + ;; This version adds jsonEncode, required to build 2.0 + (version "2.0.0-dev.36.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dart-lang/sdk.git") + (commit version))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "0q5am2c9mva96slv7flabs0h0hhc65hk0hsy9axgi0s1xnzrxlmp")))) + (arguments + (substitute-keyword-arguments (package-arguments dart-2.0.0-dev.20.0) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'configure 'copy-bootstrap-dart + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively + (assoc-ref inputs "dart") + "tools/sdks/linux/dart-sdk"))))))) + (inputs + (append + `(("dart-pkg-http-io" + ,(dart-pkg "http-io" "35dc43c9144cf7ed4236843dacd62ebaf89df21a" + "1f23dpvig3c6966fhiz1mbmswkx0fqwxmprm8237ymgpji5hp6rw")) + ("dart-pkg-http-retry" + ,(dart-pkg "http-retry" "0.1.0" + "1qr92gjfgyxg2vcfw7vynahz5cd3h7gwf75djwrrjxs4ccabj24k")) + ("dart-pkg-test-descriptor" + ,(dart-pkg "test-descriptor" "1.0.3" + "0gvj8q1h07qprgx9jjljjasx65pzrsviyfhkbdk7c6znxs7kmdq1")) + ("dart-pkg-test-process" + ,(dart-pkg "test-process" "1.0.1" + "1vbni0kr6fz6nb8wfn6sxx8cnwp19xb8l548371qs8xf25lg61q3"))) + (replace-inputs + dart-2.0.0-dev.8.0 + `(("root-certificates" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dart-lang/root_certificates.git") + (commit "a4c7c6f23a664a37bc1b6f15a819e3f2a292791a"))) + (sha256 + (base32 "0646gywipvk9m4l17f6c1mi9hhimcsh0x5vdkczhy5zhm8w6l9v7")))) + ("dart-pkg-async" + ,(dart-pkg "async" "corelib_2_2_1" + "1j3n02ricaf97wigsqdnnsj1ahw3d92ybp3kckrki4rlrq87a75v")) + ("dart-pkg-bazel-worker" + ,(dart-pkg "bazel-worker" "v0.1.9" + "1579a3kdif93mazz5wlny3axib04aysgfpgnx3fjxfnl60cw52b7")) + ("dart-pkg-collection" + ,(dart-pkg "collection" "1.14.5" + "1w46ffqd2808haqr49wf1f05qigwswhn904ph1qvb1fwlybj9s3p")) + ("dart-pkg-dartdoc" + ,(dart-pkg "dartdoc" "v0.16.0" + "0g17y9s4xf79bsccs3cybxal6yisbz1qhwqyzg7hdivb6jx6qqgn")) + ("dart-pkg-html" + ,(dart-pkg "html" "0.13.2+2" + "16xgff229r4palkgahbmby6hxi59wswg45l04q083ym6l4mwkac1")) + ("dart-pkg-json-rpc-2" + ,(dart-pkg "json_rpc_2" "2.0.6" + "0a0rjws0g9vpivjgpzv7k1j4i57qma447si0ipihk5sifvjhqjpn")) + ("dart-pkg-linter" + ,(dart-pkg "linter" "0.1.43" + "0jaqh5jmqhmkajgbza7ij6w6fwafpr7shs1ad9dskhg57d0kkkp3")) + ("dart-pkg-path" + ,(dart-pkg "path" "1.5.1" + "1121qy0k59va7wsbcc96pnvs0226c2s3iyjc2xycvv2nm4y84hyz")) + ("dart-pkg-plugin" + ,(dart-pkg "plugin" "0.2.0+2" + "1nxr7b636vyrjqrism7s4mhazyac3qdq3b0g3xph2naknxipbnrx")) + ("dart-pkg-pub" + ,(dart-pkg "pub" "64c5f40adf6828da1b63320dd39bcedbef1354c6" + "1sb5kv41v0q4b1nqdc4vm9wg64schywadj5iz3g4k95q5j2i1q26")) + ("dart-pkg-markdown" + ,(dart-pkg "markdown" "1.0.0" + "0001k41sf7d9yf70jbmm5nxjby75x5ka1wg5yjl1zyggwxfcdv25")) + ("dart-pkg-mime" + ,(dart-pkg "mime" "0.9.6" + "1wazn5zwc59idd9yf85llwnwdk8m0mvcsn8b8bakm7j5rqzqxz4j")) + ("dart-pkg-mockito" + ,(dart-pkg "mockito" "a92db054fba18bc2d605be7670aee74b7cadc00a" + "0p3zxd83i61w4p4sf40zdq2cn8s3yg9ij1ydww4x32d42nsh7vmv")) + ("dart-pkg-pool" + ,(dart-pkg "pool" "1.3.4" + "087b60d07c9j8qa3dk1g1mz8yisxxhmjmqcnwkr2rpai89ji0mfm")) + ("dart-pkg-protobuf" + ,(dart-pkg "protobuf" "0.7.0" + "0kfpdw4cj74qpy5w7zx13kvw9bjz8ps6zdsycfx3hc4ml7876c4v")) + ("dart-pkg-quiver" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/quiver-dart.git") + (commit "0.28.0"))) + (sha256 (base32 + "1zji18fw1sb4y88snaxmz632v9px0z4c2wlh3bfwncsrc3h49i7z")))) + ("dart-pkg-shelf" + ,(dart-pkg "shelf" "0.7.1" + "199ivhgbf18x3zh5v3sr7dkkp8ndnvy6mb8r1brv01bykhkwp1k9")) + ("dart-pkg-stack-trace" + ,(dart-pkg "stack-trace" "1.9.0" + "1rb1nn9k8lwghx3kzfbfza1zdmd9s07xpgchv4lakd4hw7wbkvm6")) + ("dart-pkg-test" + ,(dart-pkg "test" "0.12.30+1" + "03n7cr1a3ajw6nb54iwwiyjmyyp63nrn9fbk6fsjyfx9ahgsxj18")) + ("dart-pkg-utf" + ,(dart-pkg "utf" "0.9.0+4" + "0lsdjfds1c6mcpgw4w5bvfbvhs1iyjb2yx0kggd4yky4gq6109r5")) + ("dart-pkg-watcher" + ,(dart-pkg "watcher" "0.9.7+7" + "1y50zzln9a5qqrzrgd62wwj0a6qhfsv9jj0wya8mlsp9xpq1bhbd")) + ("dart-pkg-web-socket-channel" + ,(dart-pkg "web-socket-channel" + "c2a2874b6e6366654e8b98fe1ef20a9f3d798eee" + "13wk7al7v7fynggq3x73y68yzs0wm7jziwv0m2qh5986i6wkcw78")) + ("dart-pkgtested-dart-style" + ,(dart-pkg + "dart-style" "1.0.9" + "0wsyb6giffz8w03wqfrlwj88igcnj33gxzfcmpsv8kb5spd2v8pk")))))) + (native-inputs + (alist-replace "dart" `(,dart-2.0.0-dev.20.0) + (package-native-inputs dart-2.0.0-dev.20.0))))) -- 2.29.2