Merge pull request #224529 from SiriusStarr/update-lamdera
elmPackages.lamdera: 1.0.1 -> 1.1.0
This commit is contained in:
commit
eccb7914a5
1 changed files with 16 additions and 17 deletions
|
@ -1,31 +1,30 @@
|
|||
{ stdenv, lib
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, gmp5, ncurses5, zlib
|
||||
}:
|
||||
|
||||
let
|
||||
os = if stdenv.isDarwin then "macos" else "linux";
|
||||
arch = if stdenv.isAarch64 then "arm64" else "x86_64";
|
||||
hashes =
|
||||
{
|
||||
"x86_64-linux" = "443a763487366fa960120bfe193441e6bbe86fdb31baeed7dbb17d410dee0522";
|
||||
"aarch64-linux" = "f11bec3b094df0c0958a8f1e07af5570199e671a882ad5fe979f1e7e482e986d";
|
||||
"x86_64-darwin" = "d05a88d13e240fdbc1bf64bd1a4a9ec4d3d53c95961bb9e338449b856df91853";
|
||||
"aarch64-darwin" = "bb105e7aebae3c637b761017c6fb49d9696eba1022f27ec594aac9c2dbffd907";
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lamdera";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://static.lamdera.com/bin/linux/lamdera-v${version}";
|
||||
sha256 = "15dee9df5d4e71b07a65fbd89d0f7dcd8c3e7ba05fe2b0e7a30d29bbd1239d9f";
|
||||
url = "https://static.lamdera.com/bin/lamdera-${version}-${os}-${arch}";
|
||||
sha256 = hashes.${stdenv.system};
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gmp5
|
||||
ncurses5
|
||||
zlib
|
||||
];
|
||||
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -D $src $out/bin/lamdera
|
||||
'';
|
||||
|
@ -34,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://lamdera.com";
|
||||
license = licenses.unfree;
|
||||
description = "A delightful platform for full-stack web apps";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
platforms = [ "aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
|
||||
maintainers = with maintainers; [ Zimmi48 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue