Merge pull request #66400 from flokli/meteor-1.8.1

meteor: 1.5 -> 1.8.1
This commit is contained in:
Marek Mahut 2019-08-09 23:22:47 +02:00 committed by GitHub
commit 6515fc9767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,20 @@
{ stdenv, lib, fetchurl, zlib, patchelf, runtimeShell }:
let
bootstrap = fetchurl {
url = "https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.linux.x86_64.tar.gz";
sha256 = "0cwwqv88h1ji7g4zmfz34xsrxkn640wr11ddjq5c6b9ygcljci3p";
};
version = "1.8.1";
in
stdenv.mkDerivation rec {
name = "meteor-${version}";
version = "1.5";
inherit version;
pname = "meteor";
src = fetchurl {
url = "https://static-meteor.netdna-ssl.com/packages-bootstrap/${version}/meteor-bootstrap-os.linux.x86_64.tar.gz";
sha256 = "1ql58j2d1pqhzpj7c9a6zrpmxxfmlgx743q7lw7g35vz2mpq34c6";
};
dontStrip = true;
#dontStrip = true;
unpackPhase = ''
tar xf ${bootstrap}
sourceRoot=.meteor
'';
sourceRoot = ".meteor";
installPhase = ''
mkdir $out
@ -25,7 +23,6 @@ stdenv.mkDerivation rec {
chmod -R +w $out/packages
cp -r package-metadata $out
chmod -R +w $out/package-metadata
devBundle=$(find $out/packages/meteor-tool -name dev_bundle)
ln -s $devBundle $out/dev_bundle