3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

22 commits

Author SHA1 Message Date
Thiago Kenji Okada 910d06bb90 flutter: small refactorings in derivation 2021-01-29 18:05:13 -03:00
Thiago Kenji Okada f5294b802d Revert "flutter: 1.22.4 -> 1.22.5"
This reverts commit 5f72a823de.
2021-01-29 14:50:13 -03:00
Thiago Kenji Okada d87aba56a8 dart/flutter: add thiagokokada as maintainer 2021-01-27 14:48:10 -03:00
Thiago Kenji Okada 5f72a823de flutter: 1.22.4 -> 1.22.5
Needs to do a build in 2-pass now since Google stopped shipping all
dependencies needed to build Flutter. This may be an oversight from them
since they used to ship everything, but this makes the whole build
process more robust.

The first step will download all dependencies from pub, and the
second step will build Flutter. Since we need to build repository
first, we also require a new depsSha256 parameter to be passed, that
represents the SHA256 of the resulting derivation of all Flutter
dependencies downloaded from https://pub.dev.

This commit also makes some changes in mkFlutter, allowing the
user to pass src instead of passing version/channel/filename, allowing
for more flexibility (i.e: building from a local fork of Flutter).
2021-01-27 14:48:10 -03:00
Thiago Kenji Okada d6db914fc4 flutter: 1.22.0 -> 1.22.4 2021-01-27 14:48:10 -03:00
Thiago Kenji Okada ec644e05cb flutter: remove non-stable versions
Related issue #108606.

Nowadays we have multiple outdated versions of Flutter in nixpkgs.
Instead, let's focus in having in having stable versions of Flutter
working.

Users needing to use beta or dev versions of Flutter can use mkFlutter
function, that still exists.
2021-01-27 14:48:06 -03:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Thiago Kenji Okada bbbe322b1a flutter: refactor and reduce derivation size
Instead of copying the whole dart derivation to bin/cache/dart-sdk
directory, just symlink it.

Also, make sure that the flutter is build from dart passed as a
parameter.

Before:
/nix/store/p3avfmvd0yrjpwwml7vvqbjin5vacx2k-flutter-stable-1.22.0	2084894968

After:
/nix/store/750k4z1yj5xsw7ymmwvn7cfjjzkaygzg-flutter-stable-1.22.0	1647047080
2021-01-06 17:50:45 -03:00
Thiago Kenji Okada a03f012956 flutter: format with nixpkgs-fmt 2021-01-06 17:50:45 -03:00
Mario Rodas e250fef768
Merge pull request #99920 from ericdallo/add-dart-to-flutter
flutter: Bump and add dart cache to flutter
2020-10-30 08:56:54 -05:00
Eric Dallo bee3fb885f
flutter: Add dart cache to flutter 2020-10-30 09:58:06 -03:00
Ben Siraphob c98962e1a3 treewide: remove periods from end of package descriptions 2020-10-25 20:13:18 +07:00
Eric Dallo 65062ad39f
flutter: export mkFlutter
With that, users can build custom versions of flutter
2020-08-28 13:13:30 -03:00
kolaente ae1a227eb1
flutterPackages.beta: 1.19.0-4.3.pre -> 1.20.0-7.2.pre, flutterPackages.dev: 1.20.0-3.0.pre -> 1.21.0-1.0.pre 2020-07-29 16:56:22 +02:00
kolaente f1e1588fa4
flutter dev 1.20.0-0.0pre -> 1.20.0-3.0-pre 2020-07-05 17:22:35 +02:00
kolaente 85c1ae0fc0
flutter beta 1.19.0-4.1pre -> 1.19.0-4.3-pre 2020-07-05 17:19:21 +02:00
kolaente ed596a2069
flutter stable 1.17.3 -> 1.17.5 2020-07-05 17:15:14 +02:00
kolaente 615437a54c
Fix removing flutter upgrade 2020-06-17 18:42:14 +02:00
kolaente b83408b976
flutter packages update 2020-06-17 18:27:50 +02:00
Bastien Rivière 8986e95dca flutter: update channels + fix dev channel 2020-04-05 15:35:11 +02:00
Bastien Rivière 4e0d07f6d7
flutter: symlink common patches 2020-03-29 14:25:16 +02:00
Bastien Rivière d037e64ef6
flutter: init 1.12.13+hotfix.8
flutter: add beta and dev channels

flutter: artifacts are now downloaded in $HOME/.cache/flutter

flutter: remove all artifacts from flutter

flutter: fix lockfile path

flutter: fix pub_cache

flutter: fix flutter_tools/.packages pointing to /build

flutter: clean patches

flutter: fix write error on .cache/flutter/lockfile

flutter: add zlib as a dependency

flutter: add missing dependencies

flutter: fix flutter version

flutter: update versions + dependencies
2020-03-27 23:21:06 +01:00