Merge pull request #256471 from will/update-heroku

heroku: 7.66.4 -> 8.4.3 (and then 8.7.1)
This commit is contained in:
Mario Rodas 2023-12-02 00:06:49 -05:00 committed by GitHub
commit f732b15aae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,19 @@
{ stdenv, lib, fetchurl, makeWrapper, nodejs }:
{ stdenv, lib, fetchzip, makeWrapper, nodejs }:
stdenv.mkDerivation rec {
let
# version and commit pairs can be found in the URLs at
# https://cli-assets.heroku.com/versions/heroku-linux-x64-tar-xz.json
version = "8.7.1";
commit = "3f5e369";
hash = "sha256-3pCutQBS8N1Yw4JKTvU046UrOxBi0wLRQywxwezAEeU";
in
stdenv.mkDerivation {
pname = "heroku";
version = "7.66.4";
inherit version;
src = fetchurl {
url = "https://cli-assets.heroku.com/heroku-v${version}/heroku-v${version}.tar.xz";
sha256 = "sha256-AAiC88RBqR5RXeIj39in7hlvI3JNQB6KUwGmt9jo93A=";
src = fetchzip {
url = "https://cli-assets.heroku.com/versions/${version}/${commit}/heroku-v${version}-${commit}-linux-x64.tar.xz";
inherit hash;
};
nativeBuildInputs = [ makeWrapper ];